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
New Contributor
Posts: 7
Registered: ‎03-20-2013
My Device: BlackBerry-9930,9790
My Carrier: Blackberry

Check application is in Foreground or background

Hello,

I am developing an app in which i want to check whether application is in foreground or background in blackberry programatically. Plz someone Help Me...

 

 

Thanks

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Check application is in Foreground or background

Application.getApplication().isForeground()