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

Posts: 88
Registered: ‎09-25-2008
My Device: Not Specified

Check if an application is visible



I can actually check is application is running, but how can I check if it's visible on a single moment?



Posts: 17,003
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Check if an application is visible

there are several methods in http://www.blackberry.com/developers/docs/7.1.0api/net/rim/device/api/system/ApplicationManager.html
see getForegroundProcessId() and getVisibleApplications()
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter