As described in this article, continue on the Android end to the server to send data to further improve the method of registering login, due to the version of the problem appeared a little flaw, today after debugging has been resolved, here to introduce you.
After the Android4.0 version of the network authority requirements become strict, the previous case could not send the data to the server side, when you click to send data, the Android console will report an error, of course, is a headache, is basically about HTTP error, so it can be sure that the Android virtual machine to The server sent the data error, after a check and test to know, after 4.0 version, the main thread is not allowed to call the network, if you need, you should start a thread to handle network connection thread (new Runable () {private void run{ Call Network Connection}} in the Run method. Start ();
Of course, you can also set up the Android version in Androidmanifest.xml:
<USES-SDK
android:minsdkversion= "3"
android:targetsdkversion= "8"/>
With the above two methods, I believe you must have a better understanding of the Android Access server.
I hope the examples described in this article will help you with your Android Web program development.