Android’s new Awareness APIs can give apps amazing context-aware powers

See the original posting on JavaWorld

Android apps are about to get smart behaviors based on the state of your phone. Google announced a fresh set of Awareness APIs (first announced at Google I/O) are now available for developers to use in the latest version of Google Play Services.

The Snapshot API allows an app to get information about you based on the “current context,” such as location and weather conditions. The Fence API looks for a certain set of conditions like the use of headphones or type of movement. Google says it’s similar to the Geofencing API, only a lot more flexible.

To read this article in full or to leave a comment, please click here