Firefox OS/Geolocation: Difference between revisions

Jump to navigation Jump to search
m
Usage
m (AGPS)
m (Usage)
Line 3: Line 3:


=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 w coarse location, then your app can consume less power by enableHighAccuracy=FALSE.


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

edits

Navigation menu