Monday, June 27, 2011

Restore Default Ubuntu Panel

Restoring Default panel on ubuntu

Open gnome terminal type the below commands

gconftool-2 --shutdown


rm -rf ~/.gconf/apps/panel


pkill gnome-panel"

:) happy linuxing...

Sunday, June 5, 2011

To get Network Interface list in Android

The ifconfig command on android requires you specify an interface name
explicitly. Without argument, it doesn't show all interfaces.
To find out all interfaces on the device, you can use
#adb shell ls /sys/class/net
command.

Thursday, June 2, 2011

ANR keyDispatchingTimedOut

When developing android apps, we tend to use multithread architecture to improve the performance of our application. In such case, there is a high chance that we run in to ANR: keyDispatchingTimedOut error atleast initially. The below links may provide some help in resolving it.

"http://android-developers.blogspot.com/2009/05/painless-threading.html

http://stackoverflow.com/questions/704311/android-how-do-i-investigate-an-anr

http://developer.android.com/guide/appendix/faq/commontasks.html#threading"