Android Carrier Accelerometer / Gyro Sensor

I am developing an application in android along with support for Android support. When viewing the documentation from https://developer.android.com/training/building-wearables.html the following APIs are available.

  • Message API
  • Datalayer API
  • Data Sync API

I could not get a link to the sensor API. How can I detect smartwatch sensors, either an accelerometer or a gyroscope?

+5
source share
1 answer

You can use all the standard Android APIs in your downloadable application: https://developer.android.com/training/wearables/apps/index.html

The wearable application is similar to any other .apk file for Android, but installed on your watch.

Message API, Data Layer API, etc. designed to synchronize data between the phone and your wearable device.

+10
source

Source: https://habr.com/ru/post/1205123/


All Articles