[android-developers] Re: looking for accelerometer example code using non-deprecated apis

2010-01-12 Thread OldSkoolMark
Thanks. I also found:

http://mobilehealth.posterous.com/example-for-accessing-the-accelerometer-with

Mark

On Jan 12, 10:06 am, Mark Murphy mmur...@commonsware.com wrote:
 OldSkoolMark wrote:
  Unfortunately, Sensors.java in the apidemos (even the latest ones)
  uses deprecated apis. Can anyone point me to an example using current
  apis?

 Here are three:

 http://github.com/commonsguy/cw-advandroid/tree/master/Sensor/

 --
 Mark Murphy (a Commons 
 Guy)http://commonsware.com|http://twitter.com/commonsguy

 Android Training in US: 22-26 February 2010:http://onlc.com
-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Looking for Accelerometer Example

2009-01-23 Thread Reto Meier

Hi Kwilliaa,
  I've started an open source project that uses the accelerometer to
dispay a three axis artificial horizon here:
http://code.google.com/p/androidcompass/

  You can download the finished product from the Market. It's called
'New Horizons'.

  It's based on some detailed worked examples in my book, Professional
Android Application Development.

  Hope it helps!

Cheers

Reto Meier
Author, Professional Android Application Development
http://www.amazon.com/gp/product/0470344717?tag=interventione-20


On Jan 23, 5:52 am, kwilliaa kevin.willi...@gmail.com wrote:
 Where can I find a simple example application that uses the
 Accelerometer Sensor?

 I've seen the Open Intents applications, but I'd rather use the raw
 Android API, at least until I understand it a little better.  I'm
 surprised at the lack of documentation.

 thanks.
--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Looking for Accelerometer Example

2009-01-23 Thread Dianne Hackborn
ApiDemos has an example in OS - Sensors

On Thu, Jan 22, 2009 at 9:52 PM, kwilliaa kevin.willi...@gmail.com wrote:


 Where can I find a simple example application that uses the
 Accelerometer Sensor?

 I've seen the Open Intents applications, but I'd rather use the raw
 Android API, at least until I understand it a little better.  I'm
 surprised at the lack of documentation.

 thanks.

 



-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support.  All such questions should be posted on public
forums, where I and others can see and answer them.

--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---