Firefox OS/Geolocation: Difference between revisions

m
API */
m (AGPS)
m (API */)
 
(4 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.


=Usage=
=Usage=
The underlying implementation can be different for different hardware providers. As a developer, you should be transparent to the underlying implementation, and write apps using the APIs which specifies whether you want enableHighAccuracy or not. 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:
*if you are writing 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.  
*If you are writing a weather app which just needs w coarse location, then your app can consume less power by enableHighAccuracy=FALSE.
*A weather app which just needs coarse location, then your app can consume less power by enableHighAccuracy=FALSE.
 


=Commercial Implementations=
=Commercial Implementations=
canmove, Confirmed users
312

edits