This will not be possible on stock hardware, because you basically can't "intercept" other intents with a standard app. Proxying intents is possible if you modify the system, but the ability to do this on stock firmware would be a security hole in itself.
The place you would want to look --- should you want to modify the system to support this --- is the Android package manager that handles the mediation of intents through the system. Kris On Fri, Nov 23, 2012 at 12:05 AM, Igor Cavallera <joaobatalh...@gmail.com>wrote: > Hey guys, > > Is it possible to create an App that would monitor which Apps are launched > so that it would prompt the user for a password before launching a possibly > sensitive App (say Gmail)? But would not ask the user for his password for > an App like the Weather App? I was thinking about intercepting onStart and > onResume intents in order to do this, but I am not sure if this is possible. > By the way, I am a high student trying to learn android development and I > was thinking of developing a simple App that did this (as a learning > experience). > > Thank You very much for the help. > > Igor > > -- > You received this message because you are subscribed to the Google Groups > "Android Security Discussions" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/android-security-discuss/-/SJ1OWS-15wMJ. > To post to this group, send email to > android-security-discuss@googlegroups.com. > To unsubscribe from this group, send email to > android-security-discuss+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/android-security-discuss?hl=en. > -- You received this message because you are subscribed to the Google Groups "Android Security Discussions" group. To post to this group, send email to android-security-discuss@googlegroups.com. To unsubscribe from this group, send email to android-security-discuss+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/android-security-discuss?hl=en.