Tuesday, August 23, 2011

[android-developers] Re: Access to gyroscope under Froyo?

Sensor.TYPE_GYROSCOPE is the only way to use the gyroscope in Android.
This constant was added before Gingerbread, but you still need
Gingerbread in order to use it.

The fact that Optimus 2X is still on FroYo is a really bad sign. Just
buy one of the other phones that have both gyroscope and Gingerbread
instead.

On 22 Aug, 21:56, Johannes Mario Ringheim <mr.joh...@gmail.com> wrote:
> 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