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

Adobe AIR Development

Reply
Contributor
geHuC
Posts: 23
Registered: ‎03-22-2011
My Device: Not Specified

Run in Background ?

I've set the permission in my xml but the app still pauses whenever I switch to another app or minimize it or the phone screen locks. Do i need to do something else as well ? 

Developer
jtegen
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10

Re: Run in Background ?

Try setting the throttle mode to QNXSystemPowerMode.THROTTLED:

https://developer.blackberry.com/air/apis/playbook/qnx/system/QNXSystem.html#inactivePowerMode

Also, what did you set in the XML file?