Shutdown Log in Android

by pavan m » Fri, 20 May 2011 19:16:31 GMT


Sponsored Links
 Hi Folks,

Where does an Android phone store the shutdown log? I know that the boot up
log can be obtained by pulling out contents of kmsg or dmesg through ADB.
But I'm not aware of how to retrieve the shutdown logs in Android. There's
no /var folder where linux systems generally store their shutdown logs in
Android

Cheers,
Pavan

-- 



Other Threads

1. how to look up an entry in routing table?

I want to send a packet via multihop routing  and in order to do so I
have to look up the entry in the routing table
to determine the next hop. my problem is that I don't know how to do
so from inside the code while searching all I get is how to get the
routing table from terminal using cat /proc/net.route. so what should
I do to know the next hop for specified entry?

-- 

2. list view: scrolling resizes the items in a weird way

Hi,

I have a problem with the list view and its items. When scrolling up/
down the listview I noticed that the items slightly resize(about one
pixel) and in my application it looks like ^. The divider between two
items should be one pixel high(used default android behavior), but
when scrolling the divider is sometimes 2 pixels or 0 pixels(not
visible). This is bad since it looks like the two items form one list
item.

Has anyone a solution for this weird resizing problem when scrolling
inside a listview?

My development device is the HTC Wildfire with firmware version 2.1-
update1. Emulator is set to:Android 2.1-update1, skin WVGA800 and
hw.lcd.density=240.

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
        xmlns:android="http://schemas.android.com/apk/res/android"
        android:layout_width="fill_parent"
        android:layout_height="?android:attr/listPreferredItemHeight"
        android:background="#F0F0F0">
        <ImageView
                android:id="@+id/test_icon"
                android:layout_height="fill_parent"
                android:layout_width="wrap_content"
                android:src="@drawable/icon"
                android:layout_alignParentRight="true"
                android:layout_alignParentTop="true"
                android:scaleType="centerInside">
        </ImageView>
        <TextView
                android:id="@+id/testTextView1"
                android:layout_width="fill_parent"
                android:layout_height="fill_parent"
                android:layout_alignParentTop="true"
                android:layout_alignWithParentIfMissing="true"
                android:layout_toLeftOf="@+id/test_icon"
                android:text="test"
                android:textColor="#555555" />
</RelativeLayout>


The ListView is filled with the following item layout and I used
default settings for the listview:

-- 

3. Clickable URLs in EditText when using ArrowKeyMovementMethod

4. Is it possible to implement SoftAP on Froyo?

5. Error in API 10

6. [WTA] internetan di malaysia

7. apkbuilder ?