Tuesday, May 8, 2012

Set up HTTPPOST android?

I want to set up httppost to my server.
For now I have address for emulator, but now I want to test app online.
Here is the code:



HttpClient httpClient = new DefaultHttpClient();
HttpPost httpPost = new HttpPost("http://10.0.2.2/posloviPodaci/index.php");


How to set up address for my server, which I have online?
Thanks.





No comments:

Post a Comment