If there is an application crashed dialog, there WILL be a stack crawl
printed in the logcat output.  Always.

Hmm...  I guess unless Samsung removed this. :p

On Wed, Jul 29, 2009 at 8:01 AM, Christian S. <[email protected]> wrote:

>
> 1. This is the logcat record:
>
> Android Launch!
> adb is running normally.
> Performing com.database.test.v1.Bldatabase activity launch
> Automatic Target Mode: Unable to detect device compatibility. Please
> select a target device.
> Uploading Bldatabase.apk onto device 'I7500OXEy3qBTwH'
> Installing Bldatabase.apk...
> Success!
> Starting activity com.database.test.v1.Bldatabase on device
> ActivityManager: Starting: Intent { comp={com.database.test.v1/
> com.database.test.v1.Bldatabase} }
>
> So the logcat actually shows no errors at all. The screen on the
> device however give this "application has stopped" error. Nothing
> else.
>
> 2. Do you have some sample code that would show a step-by-step
> approach of the way you just described above? (I am a novice that's
> why ...)
> How can I directly make the application look for the database on the
> SD card?
>
> On Jul 29, 4:46 pm, Mark Murphy <[email protected]> wrote:
> > I just tried adb pull on a Google Ion, and you're right -- adb push and
> > pull do not work.
> >
> > Christian S. wrote:
> > > For installing / running the app on the device I only got the usual
> > > error that the application has stopped. This is certainly related to
> > > the missing SQLite database.
> >
> > Out of curiosity, what does the Java stack trace tell you? You can get
> > that via adb logcat, DDMS, or the DDMS perspective in Eclipse.
> >
> > > Any further ideas?
> >
> > Modify your app to check to see if the database exists, and if not, to
> > look for the database on the SD card -- if it finds it, copy the
> > database into the proper spot before using it. That's not terribly
> > secure, but it should work, at least temporarily.
> >
> > --
> > Mark Murphy (a Commons Guy)http://commonsware.com|
> http://twitter.com/commonsguy
> >
> > _Android Programming Tutorials_ Version 1.0 Available!
> >
>


-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~---------~--~----~------------~-------~--~----~
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