Google recently announced its awareness API, whats That ?
As defined by Google :
A unified sensing platform enabling applications to be aware of multiple aspects of a users context, while managing battery and memory health.
In simple words, Google has made it easier for app developers to work with data related to users current context. The types of data that can be accessed are time, location, place, user activity (walking, biking, running, etc.), beacons, headphones (plugged in or not) and weather conditions.
This can be done via two different API's.
Snapshot API can be used to request the contextual data from the above mentioned list.
Fense API can be used to trigger a condition when any of the above data has changed or met certain conditions.
So Sanapshot API can be used to get the data and Fense API can be used to build logic and trigger conditions based on that data.
This can be a game changer for start-ups which are looking for a personalised and targeted approach instead of regular send all notifications approach.
Think of few examples like an hyper local offers app suggesting a offer as soon as it detects the service providers (mapped with Google places) nearby. A music app suggesting to switch on the player as soon as headphone is plugged.
A proper integration of users current context data with transactional data can do great wonders. If I were a food delivery app I would use the snapshot API to record the conditions each time a user is ordering food. this can help to identify an condition when the users orders the food for most of the times. Here Is what I may get to know, user has ordered food mostly between 1:00 to 2:00 p.m. (time) from work location (places) when it was raining heavily (weather). This data could help me to use Fense API and create a targeted approach.
It can be argued that details like location can already be accessed by developers but awareness API does it without draining the battery on users device so you can give it try Google Awareness API. Let me know if you can think of good examples.