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
calicratis19
Posts: 163
Registered: ‎12-06-2012
My Device: Z10, Q10

What's the feature of BB10 that is equivalent to service in android

Hi. I am trying to make an alarm app. Where user can close the app but it will perform the alarm in the predifined time. How can I achieve this? What API of BB10 supports the feature like service in android?

Thanks.

Please use plain text.
Developer
simon_hain
Posts: 16,216
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport

Re: What's the feature of BB10 that is equivalent to service in android

background apps are planned to come in 10.2, at the moment there is no equivalent feature.
----------------------------------------------------------
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
peter9477
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10

Re: What's the feature of BB10 that is equivalent to service in android

Even when we have background apps (i.e. the "headless app" support from the roadmap), we really hope there will be additional features which allow apps to register with an "alarm service" so they can be awoken without needing to be running in the background all the time.

Please do NOT use the "background service" capability merely to have your app wake up at predefined times, if there is any alternative!

(Native roadmap is here: https://developer.blackberry.com/native/download/roadmap/ )

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