public static Bitmap getImage(String address) throws Exception { Bitmap imgmap = null; InputStream is = null; URL url = new URL(address); HttpURLC
When you create an instance of HttpURLConnection it defaults to the request method GET so there is no need to call setRequestMethod in this instance.
This link contains some fantastic detail about HTTP connections and how to use them.