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

Native Development

Reply
Highlighted
Developer
Posts: 528
Registered: ‎10-06-2009
My Device: 9800,BB Dev Alpha,z10 limited edition
My Carrier: Vodafone
Accepted Solution

How to know the app is active/foreground

Hi,

 

I need to display a screen whenever the app is active(on first display or whenever comes to foreground). How can check that the app is active?

Rujuta Trivedi
Developer
Posts: 293
Registered: ‎10-15-2012
My Device: bb10 developer
My Carrier: Orange

Re: How to know the app is active/foreground

You can use the Application::fullscreen signal 

 

https://developer.blackberry.com/cascades/reference/bb__application.html

Developer
Posts: 528
Registered: ‎10-06-2009
My Device: 9800,BB Dev Alpha,z10 limited edition
My Carrier: Vodafone

Re: How to know the app is active/foreground

Ya I found that after posting on forumSmiley Happy thanks

Rujuta Trivedi