Here you will find a functional project for Eclipse and Android Studio demonstrating Android's Activity Recognition APIs.
-
Clone the repo:
git clone https://github.com/diegofigueroa/activity-recognition-sample.git
-
Make sure you have Google Play Services SDK correctly installed.
-
Enjoy!
- You can learn more about Activity Recognition APIs here.
- If testing with the emulator, be sure to create a AVD with target set to
Google APIs (Level 18).