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

Cascades Development

Reply
Developer
dineshaggarwal
Posts: 110
Registered: ‎04-28-2010
My Carrier: AirTel

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

Please use plain text.
Developer
simon_hain
Posts: 13,754
Registered: ‎07-29-2008
My Carrier: O2 Germany

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
Please use plain text.
Developer
dineshaggarwal
Posts: 110
Registered: ‎04-28-2010
My Carrier: AirTel

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.

Please use plain text.
Developer
simon_hain
Posts: 13,754
Registered: ‎07-29-2008
My Carrier: O2 Germany

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
Please use plain text.
Developer
kanaksony
Posts: 528
Registered: ‎04-11-2009

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
Please use plain text.
Developer
peter9477
Posts: 5,616
Registered: ‎12-08-2010
My Carrier: none

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 -- (PlayBook 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!
Please use plain text.
Developer
HuXu77
Posts: 191
Registered: ‎02-10-2011
My Carrier: Verizon

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
Please use plain text.
Developer
peter9477
Posts: 5,616
Registered: ‎12-08-2010
My Carrier: none

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 -- (PlayBook 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!
Please use plain text.