
Google’s I/O meeting is more focused on developers rather than product unveils or latest Android versions. But that does not signify there is nothing new. It is occurring under the cover and one of its major manifestations came in the form of new location APIs for developers. It will open the technique for a ton of new functionality and apps. However, it is also done in a way so that user’s phone can last long enough. Google has determined its innovation in location services in three areas: power, accuracy and coverage. It means that with the latest APIs apps using your location will draw less power from the system, be more accurate and available in places they weren’t earlier. They will also be capable to track location, user activity, and employ geofences. There are three latest APIs and they support Android devices as old as running 2.2 Froyo.
Fused Location Provider
Fused comes with the thought of simplifying the way user refer to location and also combining all location sensors like cellular, Wi-Fi and GPS. It makes all that signal simple and uncomplicated to access so user don’t have to invoke every single way to determine location.
Simple accuracy priorities
As it is stated earlier, more exact location purpose means a higher battery draw. Google launches three levels of accuracy developers will be able to choose from:
High Accuracy:
Location checks every 5 seconds consuming 7.25% battery capacity per hour. The given location data is true in a 20 meter range and employs GPS outside & Wi-Fi inside.
Balanced Power:
Location checks every 20 seconds drawing 0.6% battery per hour. Accuracy is in a 40 meter range. This is the way that without draining your battery user can bring energy efficient location data into a lot of applications.
No Power:
No interval for location checks, does not consume power, gives one mile accuracy.
Geofencing:
The new API will make it possible to add up to 100 geofences for each app. Geofences are areas around a certain location. It will trigger an action when the user crosses the border of such an area. User also have to mention that a similar function already exists in Android and it is called addProximityAlert(), although it arrives with one huge downside - it consumes 8% of your battery per day. This new geofencing execution will cut power consumption to merely 2.4%.
Activity tracking:
Google is giving developers a simple tool to ensure what kind of activity a user is doing - walking, cycling, driving a car. It uses existing device sensors and done with machine learning. The anticipations for the new location APIs are sky-high.
Source : phonearena