Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Regular Contributor
Posts: 50
Registered: ‎01-05-2011
My Device: 9300
My Carrier: Engineer
Accepted Solution

listening for applications start up

hi,

    Is there any way get event when user run any application on mobile? Like Codemodulelistener used to listen  installation of new application by user.

 

Thank

----------------

P.Ramkumar.  

Highlighted
Developer
Posts: 141
Registered: ‎02-10-2010
My Device: 9500
My Carrier: Airtel

Re: listening for applications start up

The only way to do this is to periodically check for running applications using:

ApplicationManager.getApplicationManager().getVisibleApplications();

 

To detect application runcycle start for a specific application(you own) from another application, you can use ApplicationManager.postGlobalEvent method.

Regular Contributor
Posts: 50
Registered: ‎01-05-2011
My Device: 9300
My Carrier: Engineer

Re: listening for applications start up

ok, thank you.I alredy doing the same thing.Its working.I will proceed in this way

 

Thanks

---------------------

P.Ramkumar