Q qsrtech Active Member Licensed User Longtime User Mar 25, 2013 #1 I'm having trouble wrapping my head around how to start my external service (i.e. print service). Getting an error "can not start service...permision". I've added this to my manifest in my "external service" Code: Copy SetReceiverAttribute(PrintService, android:exported, "true") SetReceiverAttribute(PrintService, android.Permission, "$PACKAGE$.permission.printservice") SetReceiverAttribute(PrintService, android.ProtectionLevel, "signature") Can't figure out what else to do, assuming the above is even correct. Any help?
I'm having trouble wrapping my head around how to start my external service (i.e. print service). Getting an error "can not start service...permision". I've added this to my manifest in my "external service" Code: Copy SetReceiverAttribute(PrintService, android:exported, "true") SetReceiverAttribute(PrintService, android.Permission, "$PACKAGE$.permission.printservice") SetReceiverAttribute(PrintService, android.ProtectionLevel, "signature") Can't figure out what else to do, assuming the above is even correct. Any help?
Erel B4X founder Staff member Licensed User Longtime User Mar 25, 2013 #2 You should remove these three lines and instead add: Code: Copy SetServiceAttribute(PrintService, android:exported, "true") Upvote 0
You should remove these three lines and instead add: Code: Copy SetServiceAttribute(PrintService, android:exported, "true")