Is it possible to make my application “un-erasable”? By that I mean a lot of things…
1-Cannot be uninstalled unless the user enters a password for example.
2-If the user restores factory settings then my application and its data won’t be deleted.
3-User cannot kill the application; as in force it to end while it’s running.
*Note: Sometimes this can be beneficial to the user. In my application, my client almost necessitates such an option to exist.
One way of making an app uninstallable is getting it baked into the firmware of the handset before its launch. This is usually done by having a tie-up with the wireless carrier, who requires the app to be preloaded by the OEM. But for normal apps delivered through Android Marketplace it is not possible.