Application fails "unexpectedly" with no errors apparent.

by Justin Anderson » Thu, 03 Dec 2009 00:38:57 GMT

Sponsored Links
 Look at the logcat info (without actually being in the debugger so you get
the crash).  That should give you the information you need

There are only 10 types of people in the world...
Those who know binary and those who don't.


Application fails "unexpectedly" with no errors apparent.

by Trip » Mon, 07 Dec 2009 13:54:52 GMT

 Bingo.  The logcat showed very clearly that I was blowing up because
my activity "did not call through to super.onCreate()". In copying
snippets from the example program I either omitted or copied over the
super.onCreate() call.  The most important thing is that I learned
about logcat.  Thanks.

> >

Sponsored Links

Other Threads

1. Starting the emulator in QVGA screen size produces a skewded DatePicker in default Android settings


Starting the emulator with 2.2 and QVGA screen size, going into
Settings, Date & time, uncheck Automatic if set, Set date.
The DatePicker year part is not displayed fully, Only 1/3 of the year
is shown, the rest does not fit the screen.
It seems Android DatePicker do not scale for small screens?

Regards Jonas.


2. android 2.2 Cloud to Device Messaging

We are looking for possibility of extend C2DM to other platform such as WM.
And want to check the technology or protocol behind android 2.2 Cloud to
Device Messaging.



3. Adding android:targetSdkVersion="4" gives me a sdcard (Permission denied)

4. I would like to know about fastboot

5. Exception when using a BroadcastReceiver for battery-change events

6. Bateray Nexus On

7. OOT: Miring Surabaya 3 Juli 2010, sukses ^^