android bug

——————————————————-
问: java.lang.RuntimeException: Can’t create handler inside thread that has not called Looper.prepare()
答:
——————————————————-
问:android.os.NetworkOnMainThreadException
答:
参考: http://stackoverflow.com/questions/6343166/android-os-networkonmainthreadexception
——————————————————-
问: Error message ‘java.net.SocketException: socket failed: EACCES (Permission denied)’
答:
参考:http://stackoverflow.com/questions/11273197/error-message-java-net-socketexception-socket-failed-eacces-permission-denie
——————————————————–

【开始】