03-15-2012 03:50 PM
The API doc states:
You can start the application from an icon and also run the background start page when the device starts and when the application is installed.
<content src="index.html" > <rim:background src="listener.html" runOnStartup="true" /> </content>
Does this mean that there will be a background process of listener.html that runs on startup, and the foreground content (the app itself) is based off of index.html? I'm confused by this tag, any explanation would be helpful.
Solved! Go to Solution.
03-15-2012 05:19 PM
03-15-2012 06:27 PM
03-16-2012 02:55 PM
There's documentation here: https://bdsc.webapps.blackberry.com/html5/document
This is only on the smartphone today, and this is the only way to make something autostart with WebWorks, but once you've done this, you can do whatever you want - run a timer or an extension. If you are going to extend something to make regular periodic events, you should look at RealtimeClockListener in the Java API.