private String downloadUrl(String myurl) throws IOException {
InputStream inputStream = null;
// Only display the first 500 characters of the retrieved
URL url = new URL(myurl);
(HttpURLConnection) url.openConnection();
conn.setReadTimeout(10000 /* milliseconds */);
conn.setConnectTimeout(15000 /* milliseconds */);
int response = conn.getResponseCode();
Log.d(DEBUG_TAG, "The response is: " + response);
inputStream = conn.getInputStream();
// Convert the InputStream into a string
convertInputToString(inputStream, len);
// Close the InputStream and connection
if (inputStream != null) {
}🧙♂ Detaylı bilgi için TEMP alanına bakabilirsin