canmove, Confirmed users
312
edits
(→API) |
m (API */) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=API= | =API= | ||
Firefox OS geolocation API is the W3C Standard API at http://dev.w3.org/geo/api/spec-source.html | Firefox OS geolocation API is the W3C Standard API at http://dev.w3.org/geo/api/spec-source.html | ||
As an Application Developer, you should be aware that certain SUPL service providers may have terms of use for their SUPL service - [https://wiki.mozilla.org/Firefox_OS/AGPS_service_provider_terms learn more]” | |||
As an Application developer, you should ask the User permission before storing their location. | As an Application developer, you should ask the User permission before storing their location. | ||
Line 7: | Line 9: | ||
The underlying implementation of geolocation can be different per hardware provider. As an Application developer, you should be transparent to the underlying implementation. You should write apps using the APIs which specifies the accuracy requirement of your app. eg: | The underlying implementation of geolocation can be different per hardware provider. As an Application developer, you should be transparent to the underlying implementation. You should write apps using the APIs which specifies the accuracy requirement of your app. eg: | ||
*A navigation app, which needs accuracy upto a few meters, then enableHighAccuracy=TRUE. | *A navigation app, which needs accuracy upto a few meters, then enableHighAccuracy=TRUE. | ||
*A weather app which just needs | *A weather app which just needs coarse location, then your app can consume less power by enableHighAccuracy=FALSE. | ||
=Commercial Implementations= | =Commercial Implementations= |