Discussion in 'Android Apps & Games' started by Jasmin74, Sep 10, 2017.
How do I put any application into device administrator??
is this possible?
For what reason? What are you looking to do and with what app?
In order not to uninstall this application.
To manage Device Administrator capability of apps on your device go to Settings/Security/Device administrators. There you can turn on or off Device Administrator capability for apps that request that capability.
If there are any apps that have hidden Device Administrator capability you can try using the "Hidden Device Admin Detector" app available from Google Play to find and manage them.
If it s not there?
A regular application
If the app doesn't request it you can't grant it. You just have to remember not to delete it.
(Actually I guess you are trying to prevent someone else deleting it, since accidentally deleting apps isn't a big problem for most people. Administrator status won't stop a factory reset from removing it.)
It's ok if on factory reset it was deleted, but I don't want anyone to delete it.
Of course it will be deleted by factory reset.. My concern is when working normally on it, I don't want any user to delete it..
I tried Applock & those stuff, not good.
This isn't your solution, I'm afraid. Only apps that request device administrator rights can be granted them, so you can't just make any app an administrator.
So do you suggest any other solution?
That's tricky, and might depend on the device/software you are using.
I almost suggested in that last post that using one of those app lock apps to lock the system settings app might do it: if the user can't access Settings > Applications it will be hard for them to delete an app. But then I tested on my phone and found that a long press on an app icon gave me the option to uninstall it. However, further testing shows that's true for Nova launcher (my default), but the device's built-in launcher does not offer that, so if I were using the default software the idea might work. You can still remove icons from the homescreen, but that doesn't delete the app (in general: if for example you are using a Xiaomi device with it's MIUI interface it might. It's been a long time since I played with MIUI). So locking the settings app might work, but you'll have to test on your device.
However, it also depends on what you are trying to protect against. Accidentally removing an app from the screen is something a kid can easily do inadvertently, but in most cases that doesn't delete the app. A launcher that allows you to lock the desktop is also a good protection against that (Nova does this, but it's easy to unlock if you want to. I think the unlock option is harder to find on some others). Locking the settings app is really protecting against deliberate deletion, but in most cases it's hard to delete apps accidentally. However, it's also harder to protect against deliberate deletion (the device administrator thing would only slow someone down, since that can be deselected easily).
I don't know whether using a guest account on the device would be helpful? I've never really used those so can't speak from experience, but the idea is that it would let you keep your data and setup separate from what they are able to use. It was originally a tablet-only feature, but has been available on phones in more recent Android versions.
Thank you! I have just disabled the package installer in order to prevent the uninstallation of an app.
If you still needing that, here you go..act cautiously..I recommend do a back up before you submerge in those waters..
Or what do you think Hadron?
Thanks Xavier I ll try it today & give you my feedback.
One thing about this app..you have to be rooted because it uses BusyBox(don't think you can use BusyBox being unrooted..maybe I'm wrong)..
Then within the app, find your target app, hit the button twice..it will give you error messages twice as well..(don't mind that)..reboot your phone..bingo!!
What's exactly the app you want convert any way..
Well, though my device is rooted it keeps saying that it needs root.. And then shows nothing.
Sir, this app doesn't work..It keeps saying it needs root access thoug it's well rooted & it's been granted permission.
Sometimes the root reverts by it self..the thing about this app..you can convert just a one single app with it..in my case I did convert the FX file manager..now the only option is to disable it..the "delete" one isn't an option any more..
Like I said..without Busybox won't do a thing.