Android apps will be aware of your surroundings in the future, and will respond accordingly
If there is one word to describe the future of Android based on what we've seen at Google I/O so far, it would be "context." Google is working hard to make Android and Android apps understand where you are and what you are doing. An example we pointed out yesterday was when asking Google on a Friday night "What's playing?," the app returned movie times. On another night, Google might have figured that you were seeking television listings.
Google's developer website posted information about the Awareness API, which developers can use to make their apps contextually aware. There are seven different types of context including Time, Location, Place, Activity (walking, running or biking), Beacons, Headphones and Weather. With the Awreness API, an app could automatically open Spotify when the headphones are plugged in. The API also manages how it is affecting battery life and data usage. This way, the developer doesn't have to worry about writing such features into his/her app.
There are two APIs that are found in the Awareness API. Fence API lets a developer's app respond to current situations and notes when a pair of context conditions are met. For example,a developer can request, "tell me whenever the user is walking and their headphones are plugged in." Once the two conditions are met, a callback is sent to the developer's app even if it is not open. Snapshot API allows a developer's app to request contextual information from the API. The example given by Google is "give me the user's current location and the current weather conditions."
Think about a future where someone who takes a lot of photos with his phone, finds his/her camera automatically opening as soon as he/she gets outside. Meanwhile, someone in the same household with the same phone who isn't an avid photographer, might go outside only to see the camera app remain closed. It's called context, boys and girls. And if you're an Android user, get ready to see plenty of it in the future.
source: GoogleDevelopers via TechCrunch, AndroidandMe
Posts: 7521; Member since: Feb 17, 2016
posted on May 19, 2016, 11:43 PM 3
Posts: 4974; Member since: Mar 04, 2010
posted on May 20, 2016, 12:05 AM 7
Posts: 835; Member since: Dec 29, 2015
posted on May 20, 2016, 12:01 AM 3
posted on May 20, 2016, 1:48 AM 0
Posts: 173; Member since: Sep 03, 2012
posted on May 20, 2016, 2:11 AM 0
Posts: 229; Member since: Aug 17, 2011
posted on May 20, 2016, 2:14 AM 0
Posts: 854; Member since: Apr 22, 2013
posted on May 20, 2016, 2:28 AM 0
Posts: 3960; Member since: Oct 21, 2014
posted on May 20, 2016, 3:05 AM 1
PhoneArena Comments Rules
A discussion is a place, where people can voice their opinion, no matter if it is positive, neutral or negative. However, when posting, one must stay true to the topic, and not just share some random thoughts, which are not directly related to the matter.
Things that are NOT allowed:
- Off-topic talk - you must stick to the subject of discussion
- Trolling - see a description
- Flame wars
- Offensive, hate speech - if you want to say something, say it politely
- Spam/Advertisements - these posts are deleted
- Multiple accounts - one person can have only one account
- Impersonations and offensive nicknames - these accounts get banned
Moderation is done by humans. We try to be as objective as possible and moderate with zero bias. If you think a post should be moderated - please, report it.
Have a question about the rules or why you have been moderated/limited/banned? Please, contact us.
Send a warning to post author
Send a warning to Selected user.
The user has 0 warnings currently.
Next warning will result in ban!
Ban user and delete all posts
Message to PhoneArena moderator (optional):