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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Adobe AIR Development

Reply
Contributor
geHuC
Posts: 23
Registered: ‎03-22-2011

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 ? 

Please use plain text.
Developer
jtegen
Posts: 6,234
Registered: ‎10-27-2010
My Carrier: AT&T

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?
Please use plain text.