Is it possible to programmatically prevent install/uninstall of applications in android? If it possible how can i do this for my Kids application.I could not obtain a helpful answer.Any help much appreciating.
Thanks in Advance
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
there is no API to do such thing
but – you can develop your own customized launcher
Android – creating custom launcher, and by that to restrict the user’s to see or to do only the things you want. for example – when you implementing the home screen showing all the applications – when you implement the uninstall feature – open some dialog requesting for password..
you will also need to root the device, for implement hiding of the system bar – to prevent the user acess to settings. hiding status bar is a bit tricky, and requires running linux commands. for example, in honeycomb you can do it like that – http://android.serverbox.ch/?p=306
the built-in default launcher coming with the stock-rom don’t provide such feature, but I’m sure you can find some custom launcher in the Google Play providing such feature . after installing launcher and restarting the device – you can define him as the default launcher – and by that even if your kids will restart the device – they will have access only to the custom launcher.
as an Android developer, I’ll be very surprised if no-one developed such launcher yet, because it’s very simple feature for development for someone who develops launcher app.