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

Native Development

Reply
Developer
Posts: 154
Registered: ‎02-01-2009
My Device: Torch, PlayBook and Dev Alpha
My Carrier: SFR

Continue to run the app in thumbnail mode

Hi,

 

I have noticed that my app is suspended when it is in thumbnail.

 

I received the asleep signal... but it seems that app isn't scheduled.

 

My app downloads/uploads files ; so the transfer is interrupted Smiley Sad

 

How can I process ?

 

Nicolas

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

Re: Continue to run the app in thumbnail mode

In the short term, I believe you can just specify the <permission>run_when_background</permission> in your bar-descriptor file and you won't get halted when thumbnailed.

Longer term, there's supposed to be a download manager service of some kind, which apps may be required to use, but I don't think we've got any details about that yet.

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!