Hi marioneil, Thanks for your interest in the Sensor Simulator.
The basic steps how to include it in your application are shown on this page in the section "How to use the SensorSimulator in your application": http://code.google.com/p/openintents/wiki/SensorSimulator The OpenGLSensors application shows how you can extract the yaw, pitch, and roll values from the various sensors ( see source code here: http://code.google.com/p/openintents/source/browse/trunk/samples/OpenGLSensors/src/org/openintents/samples/openglsensors/GLSurfaceView.java ). If you need it for other purposes (like shaking and the like), you can watch for changes in the values, as outlined here: http://groups.google.com/group/android-developers/browse_frm/thread/beaf6cb6fbfaf68b/ Let me know if you have further questions, Peli On Apr 14, 8:57 pm, marioneil <[EMAIL PROTECTED]> wrote: > Does anyone have any sample code that shows how to use the > accelerometer in a sample application? > > I have currently setup openintents SensorSimulator. But i dont have > any idea how the apis are used in the samples (Moving Pyramid ) they > have provided. > > http://code.google.com/p/openintents/wiki/SensorSimulator --~--~---------~--~----~------------~-------~--~----~ 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] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

