How to intstall an app lock into android device so that it could not be deleted by others
You need to lead the user to make your application be a device administrator
Related
I'm beginner in Android. I want to know if there is any way that when users install my app in their devices (rooted devices), my app be installed as a system app automatically. Is it possible? If yes, how?
I want to build an app that would remotely install other apps on controlled tablets.
I know from the Android SDK documentation that you cannot install an APK programatically without user interaction, and rightfully so!
However, it looks like Tab Pilot http://www.tabpilot.com/ does this in background.
Any idea on how they do it? Apparently, the tablet needs not be rooted.
Here's the scenario. I have been asked to make an application which requires several system app only permissions. This is because the tablet is going to be used by employees and it needs to be locked down ect.
Is there is a programmatic way install a system app instead of installing it as a user app? If not what is the best way to make and install the system app to the tablet without rooting it if possible?
You have to root it. To be a system app, you need to be installed with the OS or as part of an OS update. That's the entire point of being a system app- the user can't have installed it. You'll need to root the device to put it on.
hi i am working to create an application that could'nt be deleted or uninstalled even after hard reset or formatting the device but that is failed in such rooting process ,
Now i want a code to install an app automatically from sd card after a hard reset or reboot of an android device ,
The application is to find a lost mobile so that even the lost device is resetted or formatted
my app helps a user to find his mobile
Thank you..
i am working to create an application that could'nt be deleted or uninstalled even after hard reset or formatting the device but that is failed in such rooting process
Build your own ROM mod that has your app pre-installed.
Now i want a code to install an app automatically from sd card after a hard reset or reboot of an android device
That is not possible, fortunately, for obvious security reasons.
AFAIK, There are 2 kinds of android app: System app and User app. If you want to prevent uninstalling from your app, it must be an system app.
If you are developing app for rooted phone (and your phone is rooted also), try to copy *.apk to /system/app then restart your phone.
Hope this helps.
I would like to know how to find whether an Android stack in phone is Original or Jail-broken?
My Intention :
My application will check for the genuineness of the Android OS in phone.
If it finds that, the phone does not have a genuine Android, it will not allow the application to install on phone.
Is it possible to implement this?
Thanks,
Sen
Check if you can "su" on the phone with an installer application. If you can't, install your apk as you please.
You cannot prevent installation of your app - there are no pre-install hooks for you to do that.
What you can do however, is use #Nacho L's method once installed to prevent your app from running.
Of course, if the phone is rooted, then there's nothing you can do to prevent your app from running if the user is determined to run it.