protected void sendMyLocation(Location location) throws URISyntaxException, UnsupportedEncodingException { HttpClient client = new DefaultHttpClient(); HttpPost request = new HttpPost("http://10.69.46.192:8088/gprmc/Data"); List<namevaluepair> postParams = new ArrayList<namevaluepair>(); postParams.add(new BasicNameValuePair("acct", "demo")); postParams.add(new BasicNameValuePair("dev", "demo")); postParams.add(new BasicNameValuePair("pass", "111111")); postParams.add(new BasicNameValuePair("alt", String.valueOf(location.getAltitude()))); postParams.add(new BasicNameValuePair("gprmc", "$GPRMC,080701.00,A,3128.7540,N,14257.6714,W,000.0,000.0,180707,13.1,E,A*1C")); UrlEncodedFormEntity formEntity = new UrlEncodedFormEntity(postParams); request.setEntity(formEntity); HttpResponse response; try { response = client.execute(request); int statusCode = response.getStatusLine().getStatusCode(); if(statusCode >=200 && statusCode</namevaluepair></namevaluepair>