Hello,

I have been trying to access the accelerometer, and no matter what I
find or read or type into the IDE I cannot seem to do so. The online
documentation for SensorManager and SensorEventListener are sparse
with helpful details, and every single piece of sample code I can find
on the 'net uses SensorListener, which has apparently been deprecated
since 1.5. I have tried substituting each instance of SensorListener
with a SensorEventListener, but no dice. The methods always generate
errors, though I have doublechecked their use online and confirmed my
syntax. This is the true source of my frustration. Is it possible
Eclipse is just being dumb (I feel like it happens a lot, but this
time a restart doesn't seem to be doing the trick)?

I feel as soon as I can set up access, I will be able to easily do
much, but for the life of me I cannot acess it in the first place. If
someone could nudge me in the right direction or simply point me to
working code that does not use deprecated objects, I would be very
grateful.

Thank you so very much in advance,

k

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to