I’m learning how to recognize activity using an Android smartphone. I am currently focused on detecting whether the user is walking or standing still. My first idea was to use the built-in step counter, but then I came across the Android Activity Detection API (I'm relatively new to Android ^^), which seems to be used only in mobile applications.
Now I answer the following questions:
- Is the current API already using the connected wearable device? (e.g. automatic access to integrated wearable sensors).
- Is there a separate API for Android Wear?
- Is there any other best practice for using media to recognize activity? (especially walking and standing)
During my research, I already tried the following things:
- Reading through Android Activity Recognition Guide.
- Read through this article about the Google Activity Recognition API
- An implementation of a simple Android Wear application that uses the current activity recognition API. I tested the application on my LG G Watch without success. It looks like I can connect to the ActivityRecognitionClient, but I never get any activity updates. I tried the same code on my Nexus 5 - everything works fine.
- Google Play. "... API Android Wear, , ...". , API, ?
, . , (. ) , , .