[android-beginners] Re: Question about onSensorChanged Listener

2009-03-17 Thread Jordan Frank
Hi, I can only speak to question 2, but it seems like you'd want to also listen for the SENSOR_ACCELEROMETER data, and then look for values that are above a certain threshold, maybe something like: if (sensor == SensorManager.SENSOR_ACCELEROMETER) { float accel_mag = (values[0]*values[0]+valu

[android-beginners] Re: can accelerometer sense short and long motions?

2009-03-09 Thread Jordan Frank
doing numerical integration over discrete samples, and the sensors are fairly noisy). Cheers, Jordan Frank On Mar 9, 4:45 pm, Anil wrote: > Hi, > I wondered if the accelerometer sense short and long motions. > for example, not just a 3 milimeter movement, but also a 30 meter > move. >

[android-beginners] Re: WiFi on Android Dev Phone 1

2009-02-23 Thread Jordan Frank
Hi Brett, That's an excellent question, which is probably why it's been asked many times (including two days ago) and has been answered many times (including two days ago). The answer is fairly involved, you have to go to Google, search for something like "activate adp1 without sim card", and the

[android-beginners] Logging accelerometer data when the display is off.

2009-02-15 Thread Jordan Frank
to monitor the accelerometer data. Thank you, Jordan Frank --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscr