On Fri, Apr 29, 2011 at 3:48 AM, shipi <[email protected]> wrote:
> I am developing an application contains a BroadcastReceiver which
> should listen for an event(intent) from system when any app(like
> Contacts, Gallery, Messaging,..) is launched from home screen or App
> screen.

Fortunately, this does not exist.

> I tried listening to the intents,
> <actionandroid:name="android.intent.action.MAIN"></action>
> <categoryandroid:name="android.intent.category.LAUNCHER">
>
> But Im not catching it(i mean onRecieve() is not getting called).

Of course not. Those are sent via startActivity(), not sendBroadcast().

> My question is, Which Android Intent is broadcasted by the system
> whenever a app(like Contacts, Gallery, Messaging,..) is launched from
> Homescreen(So that i can linten to it)?

There is none.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training...At Your Office: http://commonsware.com/training

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