Visit GitHub RepoSensors

Great Android Sensing Toolkit (GAST)

Welcome to GAST!

GAST is a toolkit for using Android's Sensing capabilities.� It contains the examples, boiler plate code, and algorithms you need to properly use Android sensors.

It is based on the code written for Professional Android Sensor Programming by Greg Milette and Adam Stroud

What Sensors?

By sensors, we mean: a capability that can capture measurements about the device and its external environment

GAST provides code for the following capabilities:

  • Location sensors: sensors related to the LocationProvider API
  • Physical sensors: all sensors in SensorManager API such as the ones that detect device specific properties such as orientation, acceleration, and rotation and environmental properties such as light, magnetic fi eld, and barometric pressure.
  • External sensors: Any sensor connected using the Android Open Accessory (AOA) mechanism.
  • NFC
  • Camera
  • Microphone
  • Speech recognition


  • (More to come)

Learn more



All the code is licensed under the Apache 2.0 license. See LICENSE.txt for license details.

Become a better Android Developer
Millions of developers are learning at MindOrks

Online Training Program

Featured Blogs

Our Team

MindOrks is Certainly one of the best online blog to stay on top of all the Android development news, coding and design patterns. Finally a blog I can count on to keep myself updated with latest and greatest things happening in Android world.

Vipul Shah
Android Developer

Become Pro in Android by watching videos