Java: Change the Call Forward Number on an Android phone programmatically

On September 23, 2012, in Android, Java, by Dipin Krishna

We can easily set/change the call forward number on gsm Android phones.
Here i am showing you to change/set the call forward number for “Unconditional forwarding”.

Tagged with:  

android.os.NetworkOnMainThreadException due to StrictMode.ThreadPolicy

On April 19, 2012, in Android, Java, by Dipin Krishna

StrictMode.ThreadPolicy was introduced since API Level 9 and the default thread policy had been changed since API Level 11, which in short, does not allow network operation (include HttpClient and HttpUrlConnection) get executed on UI thread. if you do this, you get NetworkOnMainThreadException.