11-25-2012 07:34 PM
Hi folks;
I want to port my existing BBOS Java apps to BB10 Native platform. While checking the features that I use earlier I found some issues.
1. I can't find any sample code that runs in background.
2. How could I define that app should automatically run on startup? That so easy in java sdk.
I will be happy If I can get sample application code.
11-25-2012 08:59 PM
Neither of these features is supported yet, nor will they be by launch (according to the last statement I heard on the matter).
Certain use cases can take advantage of the Invocation Framework and/or the Push Service to remove the need for background services or auto-run. Perhaps your app can use one of those for now.
11-26-2012 10:36 AM
peter9477 wrote:
Neither of these features is supported yet, nor will they be by launch (according to the last statement I heard on the matter).
Certain use cases can take advantage of the Invocation Framework and/or the Push Service to remove the need for background services or auto-run. Perhaps your app can use one of those for now.
peter: so for alarm clock type apps how would you use push service or invocation to wake up the application to play the alarm without running in in the background?
11-26-2012 10:44 AM
11-28-2012 09:51 PM
For predefined and recurring alarms maybe we can add notification as calendar event but my application requires periodic controls(at least every 5 minutes). Since there is no option to subscribe app to calendar service, I can't port my applications to BB10 platform. ![]()
12-12-2012 07:00 AM
Hi Peter and others,
I've read other threads through the forums on "background running and auto-start at boot". I know that there is currently no support for this. While I am waiting for this, I am looking for an alternative approach using the current APIs. My app needs to continuously track the user location (e.g., for every 10 minutes) to do something... How do I do this?
Thanks,
Tom
12-12-2012 11:49 AM
12-12-2012 06:11 PM
Thanks a lot for your time, Peter.
(But you repeated your comments which have been posted on the other similar topic threads, ![]()
In conclusion, there is currently no appropriate and possible way to implement my app's use case. This is another request that RIM may need to consider for the next SDK release. Otherwise, "mobile" but not "context-aware" could mean "death".
Cheers,
tom
12-12-2012 06:22 PM