You are referring to a very old version of the docs.
Take a look at SensorManager.getSensorList() in:
http://developer.android.com/reference/android/hardware/SensorManager.html
--
Jack Ha
Open Source Development Center
・T・ ・ ・Mobile・ stick together
The views, opinions and statements in this email are those of
the author solely in their individual capacity, and do not
necessarily represent those of T-Mobile USA, Inc.
On Jul 31, 8:12 am, Abhi <[email protected]> wrote:
> hi,
>
> i have been trying to create an app using the accelerometer sensor in
> SDK 1.5.
>
> i am using the Sensor class and tried using the getSupportedSensors()
> method to get a list of supported sensors. But it gives an error
> saying 'The method is undefined for the type Sensor'. Any idea how to
> work around this?
>
> here is the link to the android developers
> guidehttp://lampwww.epfl.ch/~linuxsoft/android/android-m3-rc22a/docs/refer...()
>
> thanks,
>
> Abhi
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---