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

Android™ Development

Reply
Highlighted
Regular Contributor
Posts: 63
Registered: ‎12-24-2010
My Device: Torch

Focus-stealing popups ( like 'battery below 9%' )

I've got a fast shooter game repackaged for the Playbook. Recently the following issue has been brought to my attention:

 

if, during a game, a popup appears on the screen - like one of those that appear in the upper-right corner if the battery charge drops below 9% - the said popup steals the focus from the whole screen and suddenly it is not possible to control the game until one dismisses the popup. Which in practice (with fast shooters) means that by that time you do that you are dead.

 

I'd like to receive a message whenever such popup appears and pause the game. How can I do it?