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

Web and WebWorks Development

Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.

Posts: 38
Registered: ‎09-27-2012
My Device: 9930
My Carrier: airtel
Accepted Solution

Webworks doubt



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.

Posts: 64
Registered: ‎06-04-2012
My Device: Blackberry Z10
My Carrier: Bell

Re: Webworks doubt

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!

- Did this post help solve the issue? Click on "Accept as Solution"
- Was the content of this post helpful? Please give it a "Thumbs Up"

Posts: 38
Registered: ‎09-27-2012
My Device: 9930
My Carrier: airtel

Re: Webworks doubt

[ Edited ]

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 ?

Posts: 245
Registered: ‎09-21-2012
My Device: Q10
My Carrier: Virgin

Re: Webworks doubt

Inside your content element you can specify the rim:background. Just like this:


<content src="index.html" >

    <rim:background src="listener.html" runOnStartup="true" />
You can see an example at the bottom of this page for pre BB 10 and below (Go to bottom):
Posts: 31
Registered: ‎08-25-2012
My Device: Torch 9800
My Carrier: none

Re: Webworks doubt

just you need to update your config.xml