I have recently acquired a ViewSonic G Tablet running Android 2.2 for the development of applications.
I have a few applications that use the Sensor Manager to read the orientation values of the phone. I have tested these applications on a few different android phones and they work fine (the sensors are found and the values are output).
However, when I test the applications on the G Tablet, no Orientation sensor is found?? I have no idea why this might be happening, and I was wondering if anyone has any clue what would cause this?
By the way, the tablet has a few other pre-installed applications that use the sensors and they work fine!?
Thank you in advance for any help!
Orientation requires both accelerometer and magnetometer combines both sensors to give an up/down and lateral orientation. Perhaps your tablet only has an accelerometer. This should be sufficient for determining which way is up/down, you should access the accelerometer directly.