Google Glass and sensor data

Based on what I read, Google Glass supports most / all sensors, and the existing Android APIs are available to access sensors on a mobile device.

However, the GDK (gdk.jar) contains only gesture and voice communication class files, which means that to obtain data specific to the sensor (from a gyroscope, accelerometer, etc., a special “glue” code is required)) on the Glass screen .

Is it correct?

+3
source share
1 answer

tl; dr: try, like on any other Android device, possibly using SensorManager . It should just work. They are also described in the GDK documentation .

API GDK Glassware , GDK. GDK Android SDK , Glass. , , GDK, Android.

+3

All Articles