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. Replace default contact application

Hi all,

I would like to replace the default contact application from android
by mine. I've read some post on forum that advise to "play" with
intents as the core do ( for instance, HOME for the Home app ).

So I started to look for what intents are used when contacts
application is launched, but I'm not very successful.

My first question is : What is the intent broadcasted when we click on
the contact icon to launch the phone book.

The second one is : not a question .... but I have implemented a
BroadcastReceiver so that I can capture itent(s) fired by android
contact app, then I would launch my own contact manager.

so the 2nd question could be : Is it the right approach to do such a
thing ?

This the manifest :


<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android=""
    <application android:icon="@drawable/icon" android:label="@string/

         <receiver android:name=".ContactReceiver">
android:name="android.intent.action.VIEW" />
android:name="android.intent.category.DEFAULT" />
                     <type android:value="" />

My ContactReceiver class extends of course BroadcastReceiver .
Please note that I'm not sure at all reagrding the intent-filter in
that file.

Please advise.

2. Android Market statistics still active?

Is the Android Market statistics (download counts, active installs)
still working? I know that the counts showing in the Developer Console
are lost with every APK update that you submit, but as of today the
counts stay at zero. Either the statistics are (temporarily) no longer
maintained/displayed, or there has been some specific issue with my
latest update submission - hence this check whether others also
observe some anomaly with their Android Market statistics?



3. How to drag a big size image in an activity

4. How to debug G1 on Vista 64

5. Can anyone clarify this part of the developer's agreement?

6. :: How to store the Higest Scores of the players who download my Game

7. attempt to acquire a reference on a close SQLiteClosable