Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Prevent unauthorized person from uninstalling my android app

I am working on anti theft Application.I want only authorized users to uninstall my app.Like, when they try to uninstall my app they must enter a valid password and proceed.I dont wanna block uninstallation of other apps that user have installed..is there a specific way to do that..?

like image 368
Ram Avatar asked Feb 07 '14 09:02

Ram


People also ask

How do I set a password to delete apps?

Tap on the System Lock tab and toggle the Install/Uninstall switch to "on." Doing so will require a passcode in order for App Lock to be uninstalled.

Why users uninstall my app?

An app gets uninstalled when a user finds it's not worth the memory its holding. Data Usage – Users don't like to exhaust their expensive, hi-speed data over apps running in the background. If your app is guilty of eating up too much data then the chances of uninstall are much higher than otherwise.


1 Answers

If you're on an un-rooted device without a custom version of Android the only way that could be possible is making your app a device-admin app:

To uninstall an existing device admin application, users need to first unregister the application as an administrator.

like image 86
keyboardsurfer Avatar answered Oct 18 '22 19:10

keyboardsurfer