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
dineshaggarwal
Posts: 112
Registered: ‎04-28-2010
My Device: 8520

is os 10 going to support background running application?

Hello BlackBerrians,

 

Can any body have any idea about, the upcoming BlackBerry 10 OS having support for background running application without having user interface??

 


Regards,

Dinesh

Developer
simon_hain
Posts: 16,282
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport

Re: is os 10 going to support background running application?

not initially, but in a later release (which could take some time).
RIM wants us to use listeners/events for most things right now.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Developer
dineshaggarwal
Posts: 112
Registered: ‎04-28-2010
My Device: 8520

Re: is os 10 going to support background running application?

[ Edited ]

hi simon,
thanks for reply. I think it will be too late if they are not providing this functionality with first release. I have more than ten of application, which made for os 5.0 to os 7.1, they all having background process without showing user interface. I want to make them compatible to os10.

Developer
simon_hain
Posts: 16,282
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport

Re: is os 10 going to support background running application?

i would guess that most things that needed a background process in bb java are possible without one in bb10.
maybe you can list your usecases?
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Developer
kanaksony
Posts: 571
Registered: ‎04-11-2009
My Device: BB 10 Dev Alpha

Re: is os 10 going to support background running application?

Yup, I am also interested in above..

Regards,
Kanak Sony
------------------------------------------------------------------------------------------
http://dodevelopnshare.wordpress.com/ | http://www.linkedin.com/profile/view?id=188131481&trk=tab_pro
Developer
peter9477
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10

Re: is os 10 going to support background running application?

Simon's right, that you need to identify the specific use cases you have. What is your app actually achieving by running in the background? Their goal is to provide system services, primarily leveraging the Invocation Framework and Push Service, to support most of the "background" requirements.

Only after they've dealt with those will they take the final step and actually implement true "background service" support for third-party apps, and the one thing we do know is that they don't plan on doing that BEFORE the launch of BB10 (at least for now).

It's in your best interests to clarify your specific needs so we can see whether there are alternatives and, if there are not, to add to their list of cases which are not yet handled well.

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!
Developer
HuXu77
Posts: 196
Registered: ‎02-10-2011
My Device: Playbook 16GB and Z10

Re: is os 10 going to support background running application?

Yes, but it will have a special permission and go through a lengthier app approval process because they will want to verify if its absolutely necessary that you run in the background.

 

See here for the permission, works with current public BB10 build.

 

https://developer.blackberry.com/cascades/documentation/dev/fundamentals/index.html

 

If you provide us with how you would use it we can maybe suggest an alternative.

_________________________________________________
Apps
Go Music
Flashlight Fast Free/Pro
Fitbit for BlackBerry PlayBook
Developer
peter9477
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10

Re: is os 10 going to support background running application?

HuXu77 that's not the same thing... Your app still has A UI when you use that permission... It just means the OS keeps sending you events when you use it, instead of freezing as if it's in standby.

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!