It is impossible: your app should not be able to gain "system level" privileges.
Apps exploiting this type of behavior typically read logs and then shut down other apps by killing them with a pid, relaunching after the user inputs a password. Fortunately, this behavior has been removed (no read logs permission) in newer Android builds. Kris On Tue, Dec 18, 2012 at 9:23 AM, Lucas Diego <[email protected]> wrote: > Hi everyone! > > Is it possible to intercept an app to launcher, in order to ask a password > before? Like ZDBox > (https://play.google.com/store/apps/details?id=com.zdworks.android.toolbox&hl=en) > does? > I created my onw launcher and there are some apps that I don't want to be > opened, only if the user have the password. > > How can I do that? > > Any aswer would be appreciate. > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

