List of usage examples for android.graphics Picture createFromStream
@Deprecated public static Picture createFromStream(InputStream stream)
From source file:Main.java
public static Picture getPicture(final Class<? extends Object> clazz, String path) { InputStream is = clazz.getClassLoader().getResourceAsStream(path); return Picture.createFromStream(is); }