I want to know if the way to make a ban on the removal of my application from Android.

Ie I installed it when I go to Settings-> Applications -> My application, the "delete" button was not inactive, or hide my application altogether in the "Applications" section.

    1 answer 1

    no way. except that you can make your own firmware by including the application in it as a system one. Then it will be impossible to delete, and then provided that the phone is without root.

    • I thought so. What can you do as a system and shove it into the firmware. Is it possible to make the application run itself after it is disabled. - Evilleks
    • in principle, using the AlarmManager, it can be done on stackoverflow.com/a/17166729/1233682 - Roman Zakharov
    • one
      If you want to autorun the app after it is completed, then try to think of something with the service. After all, when it crashes, it will restart itself within 10 seconds. Therefore, try to make the code in the service that will run the main activation, if it is completed. As for undeleteability: request root, and then just copy / data / app / application to / system / app /. - Helisia
    • I would advise you to use BroadcastReceaver for this purpose, not service - BORSHEVIK