On Fri, Jun 25, 2010 at 5:21 PM, Flamechamp <flamechamp1...@yahoo.com> wrote: > This may sound stupid, but I have a problem with my application. > I made an application to check the accelerometer and orientation > sensor. > I tested it on my Nexus One and it works. > The problem starts when I close it. (I pressed the <- button in the > phone) When I checked the Battery usage. That program I made is still > there.
You also need to be sure to unregister your sensor listeners. If you do not, your program will not truly end, and you will continue receiving sensor data. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.6 Available! -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android 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