Archives for: "July 2012"
onListItemClick is not working
You need to build a sub-class of ListActivity. Then you can override onListItemClick more »
Tags: android
Ping won't work for external network in Android
The standard way to do Ping in Android is using isReachable(). Like this: CodeInetAddress address = InetAddress.getByName("192.168.1.1"));if(address.isReachable(100000)){// Success} But I tested this only working in local network and total… more »
UnknownHostException in HttpGet at the android widget
I have used HttpGet a lot in Android, but today, I started to build my first android widget. I used HttpGet for accessing some external feeds. I got UnknownHostException. I have placed in the use-permission tag in AndroidManifest.xml… more »