Google’s new location APIs: the biggest change to location since Android launched
Google has focused its innovation in location services in three areas: power, accuracy and coverage. That means that with the new APIs apps using your location will draw less power from the system, be more accurate and available in places they weren’t before. They will also be able to better track location, user activity, and employ geofences.
To show just how important location is (not just to Google ads), developers from Google pointed out that out of 28 Google Now cards 21 are location-dependent. With that comes a problem, though. Location checks can drain your battery way too fast and there should be an easy solution for those who don't always require the most precise location.
There are three new APIs that improve on that, and they support Android devices as old as running 2.2 Froyo.
Fused Location Provider
Fused comes with the idea of simplifying the way you refer to location and also fusing all location sensors like cellular, Wi-Fi and GPS. Fused makes all that signal easy and simple to access so you don’t have to invoke every single way to determine location but instead just use Fused.
Simple accuracy priorities
As we’ve mentioned more accurate location determination means a higher battery draw. Google introduces 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 provided location data is true in a 20 meter range and employs GPS outside and 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 to bring energy efficient location data into a lot of applications without draining your battery.
No Power: no interval for location checks, does not consume power, gives a one mile accuracy.
The new API will make it possible to add up to 100 geofences for each app. Geofences are areas around a certain location. Whenever the user crosses the border of such an area, it could trigger an action. Enter a store to get coupon offers automatically pop up on your device, and so on - the practical uses are endless.
We also have to mention that a similar function already exists in Android and it is called addProximityAlert(), but it comes with one huge downside - it consumes 8% of your battery per day. This new geofencing implementation will cut power consumption to merely 2.4%.
Google is also giving developers easy tools to check what kind of activity a user is doing - walking, cycling, driving a car. It uses existing device sensors and has been done with machine learning.
The expectations for the new location APIs are sky-high. If Google has managed to pull these location APIs right, it will get developers attention and love. Hopefully, it does.
source: Google Developers via The Next Web
1. juandante (Posts: 279; Member since: 23 Apr 2013)
Man I'm feed up with all those google services bloat in Android, why they don't just let us take our own choice ?
3. _Bone_ (Posts: 2106; Member since: 29 Oct 2012)
Why don't you choose a different platform? Daddy doesn't let you take your own choice?
6. noim1 (Posts: 297; Member since: 15 May 2012)
U can use a Custom ROM if u dont like google services ....
10. jcarrigan (unregistered)
Bloat? dude Google owns android and have all the rights in the world to shape or populate it how they want it. if you dont like it the go to apple and see what control is really about.
2. scriptwriter (Posts: 396; Member since: 13 Nov 2012)
I really don't wish to troll, but the use of grammar and punctuation in this article is appalling. Starting sentences with 'And' and using terms like 'riding a car' are good examples of very poor journalism.
5. CellularNinja (Posts: 300; Member since: 27 Sep 2011)
A sentence can start with 'And' and still be within the guidelines of correct grammar by the way. It isn't the best way to form a sentence, but it is allowed.
11. Larry_ThaGr81 (Posts: 294; Member since: 26 May 2011)
This is true, it just needs to be a complete thought/sentence.
4. scriptwriter (Posts: 396; Member since: 13 Nov 2012)
on another note, does this meaning we'll be more able to get a location fix while indoors without having to rely on GPS?
9. oyalinkaya (Posts: 16; Member since: 25 Jan 2013)
"does this meaning..." ??? O_o
If you are referring the action to the phrase "this meaning", it is seen that you have forgotten to assign an action verb to that phrase.
If you are referring the action of "meaning" to "this" phrase, I may say that you have mismatched question verb and correct form of that verb. For present continuous, it should have been "is this meaning..." and for a simple present sentence the expression should have been "does this mean".
You seem like being out of the journalism league, too. ^_^ So, I prefer not to mention the other faults. I believe you won't be offended by what I have written above. Cheers! ^_^
7. shuaibhere (Posts: 1297; Member since: 07 Jul 2012)
I see a whole new world of services here...
8. sum182 (Posts: 229; Member since: 19 Nov 2011)
One use i can think of right away for this would be shopkick. Geofencing would be a way better way to earn points than the stupid sound sensor they have now.