Urlconnection Getcontent() Return Null
I use the following method to get a bitmap input stream: private InputStream getInputStream(String urlString) throws MalformedURLException, IOException { URL url = new URL(
Solution 1:
connection = url.openConnection();
connection.connect(); // <-- does it work if you add this line?
Object response = connection.getContent();
Post a Comment for "Urlconnection Getcontent() Return Null"