That is the problem, with logcat there is no additional information.

I have it attached to my computer through the usb connection, and am able
to see all the data in logcat.

That is why I decided to ask for help in how to approach it, as I am
confused as to what is going on.

Here is what I see when it dies:
04-15 08:50:02.213: I/ErrandMapActivity(5805): onServiceConnected
04-15 08:50:02.213: I/ErrandMapActivity(5805): registering callback
04-15 08:50:02.213: I/ErrandAssistantService(5931): registerCallback
04-15 08:50:02.217: I/ErrandMapActivity(5805): onResume - binding succeeded

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.

On Sun, Apr 15, 2012 at 8:48 AM, Mark Murphy <mmur...@commonsware.com>wrote:

> On Sun, Apr 15, 2012 at 8:45 AM, James Black <planiturth...@gmail.com>
> wrote:
> > I have it working, at the moment, by having this in my manifest:
> >     <uses-sdk
> >         android:minSdkVersion="7"
> >         android:targetSdkVersion="9" />
> >
> > So targeting SDK 11 or 18 leads to it to crash.
> >
> > And no, I just use
> > startActivity(intent);
> >
> > with these flags:
> > intent.setFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP
> > | Intent.FLAG_ACTIVITY_CLEAR_TOP);
>
> Use adb logcat, DDMS, or the DDMS perspective in Eclipse to examine
> LogCat and look at the stack trace associated with your "crash".
>
> --
> 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

Reply via email to