On Sun, Apr 15, 2012 at 9:02 AM, James Black <[email protected]> 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to