Hi Mark, > And if you are able to pull that off, you are exploiting a security > hole. Somebody else could create an app that does what you propose, > but the only way to get the password is to pay a ransom.
This also be achived by making some app which will ask for password and listen to ACTION_PACKAGE_INSTALL broadcast action. Then nobody will be able to install app without the password. Is this also a loop hole? Thanks, AJ On Oct 26, 10:58 am, Mark Murphy <[email protected]> wrote: > On Tue, Oct 26, 2010 at 1:44 AM, Noah <[email protected]> wrote: > > Is there a way to listen for application launches? > > Nothing documented and supported. > > > I'm trying to develop an application where the user can specify a list > > of applications that he/she wants to "protect." If they are in this > > list, then whenever the application is launched, my app will ask them > > to enter a password. > > And if you are able to pull that off, you are exploiting a security > hole. Somebody else could create an app that does what you propose, > but the only way to get the password is to pay a ransom. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > Android 2.2 Programming Books:http://commonsware.com/books -- 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

