I am using Sensor data in my code and I am registering for the same in onStart(..) of my activity.
Whenever, there is an orientation change I am getting the following exception: 10-21 18:48:30.096: DEBUG/qemud(558): fdhandler_accept_event: accepting on fd 10 10-21 18:48:30.096: DEBUG/qemud(558): created client 0x1aed8 listening on fd 15 10-21 18:48:30.096: DEBUG/qemud(558): client_fd_receive: attempting registration for service 'sensors' 10-21 18:48:30.096: DEBUG/qemud(558): client_fd_receive: -> received channel id 14 10-21 18:48:30.115: DEBUG/qemud(558): client_registration: registration succeeded for client 14 10-21 18:48:30.127: DEBUG/qemud(558): fdhandler_event: disconnect on fd 15 10-21 18:48:30.127: DEBUG/SensorManager(2177): found sensor: Goldfish 3-axis Accelerometer, handle=0 10-21 18:48:30.305: DEBUG/dalvikvm(2177): GC freed 955 objects / 86920 bytes in 108ms 10-21 18:48:30.475: DEBUG/dalvikvm(2177): GC freed 168 objects / 6984 bytes in 83ms 10-21 18:48:30.606: DEBUG/dalvikvm(2177): GC freed 3 objects / 88 bytes in 75ms 10-21 18:48:41.616: ERROR/JavaBinder(2177): !!! FAILED BINDER TRANSACTION !!! 10-21 18:48:41.616: ERROR/SensorManager(2177): mDataChannel == NULL, exiting Could this be because of the fact that I am not unregistering the sensor in onRetainNonConfigurationInstance(..) method? --~--~---------~--~----~------------~-------~--~----~ 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 unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---