Hi, I want my application to manipulate accelerometer sensor. so i register the sensor from activiy1: sensorManager.registerListener(this, sensor, SensorManager.SENSOR_DELAY_GAME);
now, i am in activity2 and i want to unregister the same sensor that i registred: solution1: sensorManager.unregisterListener(this); it doesn't work !!!!! solution2: i open again my activity1 and unregister sensor. it doesn't work.android make a new activity1 for me and i don't get my activity1 in foreground Thank -- 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