Skip to content

Dipin Krishna

I love to code. If you feel the same, then i have some cool codes for you. They are simple but good to get started.

  • Home
  • Blog
  • Privacy Policy
  • About
  • Contact
  • Home
  • Blog
  • Privacy Policy
  • About
  • Contact

Category Archives: Java

Home/Archive Category: Java
android

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

Sep 23, 2012Dipin KrishnaAndroid, Javaandroid, Call Forward, change, java, programmatically

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

Read More

android

android.os.NetworkOnMainThreadException due to StrictMode.ThreadPolicy

Apr 19, 2012Dipin Krishna9 CommentsAndroid, Javaandroid, error, java, NetworkOnMain, StrictMode.ThreadPolicy, ThreadException

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.

Search

Theme by Think Up Themes Ltd. Powered by WordPress.