Send A String To A Servlet From Android
I am trying to send a string from a android application to a servlet and then retrieve that string to my android application ,but when i try to invoke the servlet it force close on
Solution 1:
You need to add the internet access permission
<uses-permissionandroid:name="android.permission.INTERNET"/>
I found that you should use the URLEncoder to encode the url because your url contains spaces. Please check http://developer.android.com/reference/java/net/URLEncoder.html
Post a Comment for "Send A String To A Servlet From Android"