Redirecting to http://tool.oschina.net/codeformat/json ... Read More | Share it now!
Daily Archives: May 3, 2015
Android HTTP request
You should make your HTTP request in a separate thread. NetworkOnMainThreadException says that you are trying to make your network operation on the main thread. docs at developer.android.com 1] Use simple Thread Thread t = new Thread(new Runnable()... Read More | Share it now!