I wish to create a privilege app (pre-installed or in a rooted device). Can I make my app run a service without the user ever open it? How?
Asked
Active
Viewed 160 times
1 Answers
1
Normal apps are installed in "stop state". It's means all their broadcast receivers are disabled until the user manually open them.
System apps don't have that restriction, so you can put your app in system partition, use broadcast receiver on BOOT_COMPLETED and start your service without user interaction.

Daniel
- 573
- 6
- 14
-
Great Thanks, Maybe you can also help me with the following question: http://stackoverflow.com/questions/36983261/marshmallow-intent-action-boot-completed – MTZ4 May 02 '16 at 13:09