When I attempt to load an image from a URL, using the following code (real image path removed):
Bitmap bitmap = BitmapFactory.decodeStream((InputStream)new URL("http://some-path/img.png").getContent());
I receive the following error:
Error reading from ./org/apache/harmony/awt/www/content/image/png.class
Any thoughts on what might be causing the error?
I am using a GoogleTV AVD, if that matters.