Saturday, April 27, 2013

[android help] android application not working with http://www.hostname.com


i've done an application in android which sends datas as parameters to remote mysql database using the following code with url as http://www.hostname.com.au/insert1.jsp as given below.



HttpClient httpclient = new DefaultHttpClient();
HttpPost httppost = new HttpPost("http://www.hostname.com.au/insert1.jsp");
String trackid= getIntent().getExtras().getString("param1");
:
:


but the above url did'nt works in some android mobiles when i changed
http://www.hostname.com.au/insert1.jsp
to
http://hostname.com.au/insert1.jsp
it seems working .


can anyone please tell me what's the reason behind this.



.

stackoverflow.comm

No comments:

Post a Comment

Google Voice on T-Mobile? [General]

Google Voice on T-Mobile? So I recently switched from a GNex on Verizon to a Moto X DE on T-Mobile. I had always used Google Voice for my v...