The only way to do that would be to access the activity stack and block an 
application from gaining resources. The Android OS would block anything of the 
sort so you would have to do a LOT of work to fool Android and let your app 
control the stack. Plus I don’t even think there is a permission for that wich 
is going to make things much harder.

From: Kristopher Micinski 
Sent: Monday, September 05, 2011 3:52 PM
To: [email protected] 
Subject: Re: [android-developers] locking app: How I know when an application 
is about to begin.

This really sounds like it shouldn't exist.  At the very least, you won't be 
able to capture random intents from other applications without a bit of work, 
what kind of applications are you trying to block from being installed? 

Keep in mind, that you can't just expect your app to sit in the background 
forever...

Kris


On Mon, Sep 5, 2011 at 12:39 PM, ngbl <[email protected]> wrote:

  I'm working on an application to block other apps installed on the
  phone.
  I've seen several in the android market but want to learn to make one
  by myself.

  I've been reading a lot of the API but I can't get something that help
  me.

  Maybe if someone can help me, I can figure out what I have to do.

  I need to know when an application is about to begin. I mean,  that my
  service can capture the intent of starting an activity by pressing an
  application from the launcher.

  I appreciate your help!

  --
  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
  mailto:android-developers%[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

-- 
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

Reply via email to