Monday, August 22, 2011

[android-developers] Access to gyroscope under Froyo?

I am considering the LG Optimus 2X as my next phone. One of the most
important things I'm after is the gyroscope sensor. Appearently the
Optimus 2X is supposed to have one, but will it be available from the
API when it is only running Froyo? AFAIK gyroscope support was not
added before Gingerbread.

I have seen some code sample which uses Sensor.TYPE_ORIENTATION and
calls it the gyroscope, but should one not use Sensor.TYPE_GYROSCOPE
for that?

Yes, I have heard that the Optimus 2X will get Gingerbread, but I am
primarily interested in what I can do with it here and now.

Thanks for any insights!

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment