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

Posts: 660
Registered: ‎10-08-2009
My Device: Bold 9900
My Carrier: Telus
Accepted Solution

Screen Visible (onVisible)?

Hi, I have active frame that cycles through some information to present to the user.


To save battery, I want to stop this process when the app is minimized and invisible (active frame is no longer visible on the screen) and I can achieve this by connecting the Application Invisible signal.


However, how do I receive a signal when the active frame is visible again on the screen (active frame is visible on the screen)?

Twitter: @gyubok
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10
My Carrier: none

Re: Screen Visible (onVisible)?

There are three relevant ones: invisible, thumbnail, and fullscreen. You want thumbnail for this.

Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!