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
Developer
sujachristy
Posts: 63
Registered: ‎12-10-2012
My Device: Blackberry 9900
Accepted Solution

Application shouldn't stop working when minimized or closed..??

Am working on aproject where i need to listen changes for example changes in battery level even though i minimise or close the application..?? Does anyone have any idea..??? Currently my codde doesn't work when minimized or closed..!!!!

_______________________________________________________
Help is available everywhere but you have to look at the correct place.
By Me :-)
Developer
jtegen
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10

Re: Application shouldn't stop working when minimized or closed..??

Minimized apps are haulted to allow the foreground app to run with the most CPU.  You can configure to run around 4Hz in a minimized state, but you need to play nice when minimized.  This might help:

 

http://supportforums.blackberry.com/t5/Adobe-AIR-Development/Power-Management-Application-and-System...

Developer
sujachristy
Posts: 63
Registered: ‎12-10-2012
My Device: Blackberry 9900

Re: Application shouldn't stop working when minimized or closed..??

thank you that helped a lot. Now from the THUMBNAIL or HIDDEN am starting a new event

_______________________________________________________
Help is available everywhere but you have to look at the correct place.
By Me :-)