Apps LoadImageFromWebOperations

public static Drawable LoadImageFromWebOperations(String url) {

try {
InputStream is = (InputStream) new URL(url).getContent();
Drawable d = Drawable.createFromStream(is, "src name");
return d;
} catch (Exception e) {
System.out.println("Exc=" + e);
return null;
}
}
 

wubbzy

Well-Known Member
i'm guessing its a tutorial/snippet or maybe just a way to get to magic number post to add signature.

But in any case, do a complete writeup so it may better serve the populace.
 
Top