A sports app can already today request access to location and then keep listening to that. It can go in the background and will continue to get those events and can process them. We support "backgrounding". There is no need for a sports app to record location ALL THE TIME, which a background service would do.

Andreas

jbc wrote:
Or for example, an sport app that track routes with geolocation, it needs
execution in background...


2013/8/7 jbc<[email protected]>

Thanks Jan, Julien and Jose
I think that could be important this feature, for example, Imagine
  an app, that time while you are running....
how can you detect that app minimized stop setinterval execution to it
execute and alarm?

Thank you...




2013/8/7 jbc<[email protected]>

Hello, excuse me for this, sorry for my english:

I used this code for test in a packaged app on GP Keon:

http://pastebin.com/raw.php?i=L2wbbnvJ

If you minimize app and press power button for lock....

When spend time (!important).... or code javascript execution stop.... or
system kill the app ¿for cache?

Then....

¿how is it possible to do a background app?

Thank you

_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to