I am making an application that makes calls to a url. The way to make calls is as follows:
//…
public String doInBackground(String... urls){
String url = urls[0];
try {
Log.i("base","Parsing");
// defaultHttpClient
DefaultHttpClient httpClient = new DefaultHttpClient();
HttpPost httpPost = new HttpPost(url);
HttpResponse httpResponse = httpClient.execute(httpPost);
HttpEntity httpEntity = httpResponse.getEntity();
xml = EntityUtils.toString(httpEntity);
} catch (UnsupportedEncodingException e) {
e.printStackTrace();
} catch (ClientProtocolException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
}
return xml;
}
//...
new callingUrl().execute("http://www.myurl.com/directory/myxml.xml");
I am interested in knowing whether through the logs, or otherwise, can anyone see the URLs to which I call
If so, is there anyway to hide?
Thank you very much in advance
Regards