How to read crash dump of Android

by koba » Sat, 14 May 2011 21:35:17 GMT


Sponsored Links
 Hi, I wrote about crash dump in my blog.

objdump -S is useful to see source code from object.

"How to read crash dump of Android"
 http://kobablog.wordpress.com/2011/05/14/how-to-read-crash-dump-of-android/ 

crash dump is generated by debuggerd.

"debuggerd of Android"
 http://kobablog.wordpress.com/2011/05/12/debuggerd-of-android/ 

-- 



Other Threads

1. show data from database to list

Hi, I have a table which contain 4columns. I can read these columns
from database. Now I want to show these columns to listview. How to
this? I want that list consist of 4 columns as they are present into
table.

Here is my code:

public class ToDo extends Activity
{
        private final String SAMPLE_DBNAME = "HomeAutoDataBase";
        SQLiteDatabase sampleDB = null;
        int rid,sid;
        String roomName,switchName;
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);
        readDataFromDatabase();

    }
    public void readDataFromDatabase()
    {
         try
         {
                sampleDB =  this.openOrCreateDatabase(SAMPLE_DBNAME,
MODE_PRIVATE, null);
                Cursor c = sampleDB.rawQuery ("SELECT * FROM SwitchTable
ORDER BY RoomID",null);

                int count = c.getCount();
                System.out.println ("Total number of records are"+count);
                if (c != null )
                {
                        if  (c.moveToFirst())
                        {
                                do
                                {
                                        rid = 
c.getInt(c.getColumnIndex("RoomID"));
                                        sid = 
c.getInt(c.getColumnIndex("SwitchID"));

                                        roomName = 
c.getString(c.getColumnIndex("RoomName"));
                                        switchName = 
c.getString(c.getColumnIndex("SwitchName"));

                                        System.out.println 
(rid+":"+roomName+":"+sid
+":"+switchName);

                                }
                                while (c.moveToNext());
                                c.close();
                        }
                }

        }
        catch (SQLiteException se )
        {
                Log.e(getClass().getSimpleName(), "Could not create or Open
the database");
        }
        finally
        {
                        sampleDB.close();
        }
    }
}

-- 

2. Android RTP Stream problem

Hi,


I am trying to send video streams from Android device to Server.  For
the Client side I used the technique as same as Sipdroid follows
( using LocalSocket and RTPpacket). I tried to play the received RTP
packets using opensource RTPTransmitReceiver.java file.  But it shows
the following error.

javax.media.transitionevent[source=com.sun.media.content.unknown.hand...@186c6b2,previous=Unrealized,current=Realizing,target=Realized]


 I used the Ethereal on the server side to see the RTP packet format.
The RTP Packets are received in proper format.  But in the H.263
header its not setting the resolution part.  Kindly help in how to
resolve this problem.    ( In H.263 RTP Payload Header   - SRC format:
forbidden (0) ) How to set this to be proper resolution from the
client side.

-- 

3. Styling Dialog title and background - is this an impossible quest?

4. (oot) wta : gabung nomer smart-fren

5. Android on imx51 freescale board

6. LELANG NEW Samsung Epic 4G Start IDR 3.000.000

7. App untuk kontrol pc.