OK, I have tried it a couple of more times, and don't see the back button log again.
This is what I see: 04-15 09:13:46.614: I/ErrandAssistantService(7015): Setting a new request for location updates 04-15 09:13:46.661: I/ErrandAssistantService(7015): saveProximityAlert - used GPS 04-15 09:13:46.669: I/ErrandAssistantService(7015): saveProximityAlert - used network 04-15 09:13:46.677: I/ErrandAssistantService(7015): saveProximityAlert - used GPS 04-15 09:13:46.681: I/ErrandAssistantService(7015): saveProximityAlert - used network 04-15 09:13:47.025: W/CursorWrapperInner(7039): Cursor finalized without prior close() 04-15 09:13:47.044: I/MapViewActivity(7039): OnResume: mapView loaded = true 04-15 09:13:47.083: I/MapActivity(7039): Handling network change notification:CONNECTED 04-15 09:13:47.083: E/MapActivity(7039): Couldn't get connection factory client 04-15 09:13:47.196: I/ErrandMapActivity(7039): onServiceConnected 04-15 09:13:47.196: I/ErrandMapActivity(7039): registering callback 04-15 09:13:47.200: I/ErrandAssistantService(7015): registerCallback 04-15 09:13:47.200: I/ErrandMapActivity(7039): onResume - binding succeeded Then I see this: 04-15 09:13:49.142: I/ErrandAssistantService(7015): Sent location changed callback 04-15 09:13:49.142: I/ErrandAssistantService(7015): Sent route changed 04-15 09:13:49.142: I/ErrandAssistantService(7015): geoPoint set So, the activity had bound to the service, and then later the service sends back data to the activity, but that activity has already exited. And, there is no longer anything about the back button having been pressed. I had cleared the logcat in Eclipse then ran it again, in case I was confusing when certain code was happening, and that may indeed have been the case. On Sun, Apr 15, 2012 at 9:09 AM, Mark Murphy <mmur...@commonsware.com>wrote: > On Sun, Apr 15, 2012 at 9:02 AM, James Black <planiturth...@gmail.com> > wrote: > > That is the problem, with logcat there is no additional information. > > Then it is not crashing. > > > OK, then I see this, which may explain it: > > 04-15 08:50:08.682: D/CDA(5805): onBackPressed Called > > 04-15 08:50:08.682: D/CustomMapActivity(5805): finish entered > > > > And, when I look much further in the log I found onStop and onDestroy, > being > > logged, which makes me feel better. > > > > So, now it appears that the phone thinks the back button is being pressed > > when it is sitting untouched, but only if the SDK version is > 9. > > I assume that "CDA" is your code. If so, set a breakpoint or throw a > RuntimeException in onBackPressed() to see if there is something in > the call trace that indicates what is triggering it. > > -- > 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 2.5 > Available! > > -- > 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 > -- "I know that you believe you understand what you think I said, but I'm not sure you realize that what you heard is not what I meant." - Robert McCloskey -- 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