Jitter detection

I am planning to develop an app for Android Wear and I have not used a sensor before so I need help. My questions:

  • What sensors are most likely to wear on Android? I want to avoid using sensors installed on only a few devices.
  • What is the best sensor for detecting shaking? I've seen an accelerometer, but is there even a rotation vector sensor or maybe a gyroscope on the x-axis? I dont know,
  • Is there any example of how to detect shaking (even okay on the phone)?
  • Can motion be detected on the emulator?
+3


source to share


1 answer


You should look at the specifications of the devices you need to figure out. There is no reason a wear device should not have an accelerometer as it is part of the Android API. The LG G has an accelerometer, just Google for it.



0


source







All Articles