11-06-2012 07:56 AM
Hi,
I am new to Blackberry development. I need to develop an app using jquerymobile(webworks). In my app i need to constantly update the map using gps even if the app exits.,so is it possible to run the app in the background so that i can constantly update the map.
Solved! Go to Solution.
11-07-2012 01:26 PM
There is a permission with the WebWorks SDK to allow the app to continue running JavaScript when the app is in the background: "run_when_backgrounded".
Hope that helps!
11-07-2012 11:09 PM - edited 11-07-2012 11:23 PM
Hi mimendoza ,
I reffered the link that you attached with your reply. Actually i need to develop this app in BlackBerry OS: 5.0 - 7.0 ,but the link says that rim : permit element does not support these platforms.Its only supports BB playbook os and BB 10 os. so is it possible to run the app in the background so that i can constantly update the map in the platform BlackBerry OS: 5.0 - 7.0 ?
11-08-2012 01:58 PM
Inside your content element you can specify the rim:background. Just like this:
<content src="index.html" >
<rim:background src="listener.html" runOnStartup="true" /></content>