There is an app called "Package Installer", which installs every package (apk & Playstore). You can simply set a password query for this one. This prevents every application from (un-)installing unless you enter the right password. Am 03.07.2016 11:24 vorm. schrieb "Adrian Tudor" <[email protected]>:
> I want to make an application that block all new applications install. > (Block all .apk install and all play store install) > > > I don't have root access on my device. So when i want to install an app, > an popup with a password should appear. > > > I just want to block all. I searched but didn't find anything useful. I > just need some hints how can i do that. > > I'm not looking for the exact solution, just looking for the mechanism and > for some documentation/explanation. > > > > I found i can catch an app when it launch and ask for a password then. But > isn't that doesn't help me. > > > Also i found the AppRestrictionEnforce but didn't found what it does. > > Also found the device administration class but i didn't find in it a way > to restrict the apk install. > > Or after the installation can i block the packages so the user can't > access that application with not a specific permission? > > > There are some application in play store that can do that, you can select > on it only some application that you want to allow to be installed. > > -- > You received this message because you are subscribed to the Google Groups > "Android Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/android-developers. > To view this discussion on the web visit > https://groups.google.com/d/msgid/android-developers/d047c5d7-e3ad-4627-a0cb-c903365e6db5%40googlegroups.com > <https://groups.google.com/d/msgid/android-developers/d047c5d7-e3ad-4627-a0cb-c903365e6db5%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/CAKj6oe6oafx%2BV30knp_ec5ywWR9sQBCxWfrN3772SAXjuB9VmQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

