I am creating one android service that runs forever in background. And I don't want it to be deleted/removed even after factory reset of the phone. How can I achieve this in android code? Is there any intent for this?
Asked
Active
Viewed 58 times
1 Answers
1
Is there any intent for this?
Fortunately, no, for blindingly obvious security reasons.
And I don't want it to be deleted/removed even after factory reset of the phone. How can I achieve this in android code?
Build your own custom ROM that contains your app pre-installed. Install that custom ROM on your device.

CommonsWare
- 986,068
- 189
- 2,389
- 2,491