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

Posts: 44
Registered: ‎01-07-2011
My Device: BB Q10, Z10, Playbook
My Carrier: Telus

Run BB10 WebWorks app with navigator.geolocation.watchPosition when in sleep mode

[ Edited ]

I'm using the BB10 Dev Alpha to developed app using WebWorks. It is supposed to perform certain operations periodically (based on location change function navigator.geolocation.watchPosition), even when my app is in background mode or BB10 is in sleep mode.

There is no problem to run it in background mode using run_when_backgrounded, but I'm looking how to achieve the same when BB10 is in sleep mode.


This problem as well described in http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/Running-a-webworks-app-with-devi... , but there is no solution.

Is it achievable in BB10 WebWorks without extending it?

Please click the "kudos" in my post if I was able to help you on this issue.
Please mark thread as resolved if I was able to fix the issue!!
Twitter: @wiisniper
My Free Playbook Apps (no ads):
Speech timer Plus http://appworld.blackberry.com/webstore/content/83847/
Speech timer http://appworld.blackberry.com/webstore/content/34640/