Question

I am trying to send information from my Android device to my php server. I followed this tutorial (http://www.codeofaninja.com/2013/04/android-http-client.html), but then realized there is nowhere to specify my useID and password to log into the server. a lot of search but could not get anywhere. I am new to both Android and Apache. Please advice, thanks.

Was it helpful?

Solution

well, i have to learn to ask the right question or enter the right words to search. i finally found with this post and got my answer. Android HttpClient authentication always returns 401 code

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top