if i had to do this i would do an activity which is marked as launcher ( only this activity ) having text to enter password. if the password is correct i would open with intent a proper activity, otherwise would stop the application.
W dniu wtorek, 18 grudnia 2012 18:52:57 UTC+1 użytkownik Kristopher Micinski napisał: > > 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 > <diego...@gmail.com<javascript:>> > 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 > > android-d...@googlegroups.com<javascript:> > > To unsubscribe from this group, send email to > > android-developers+unsubscr...@googlegroups.com <javascript:> > > 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en