Open GoogleCodeExporter opened 9 years ago
The same problem persists in osmdroid 4.1.
To reproduce, run the OpenStreetMapViewer and select the "Cloudmade (small
tiles)" layer.
The proposed patch contains the following fixes:
1. Catch 'cannot use this bitmap' exception and fall-back to non-reusable
bitmaps
2. Throw LowMemoryException on getDrawable(final String aFilePath)
3. Check return value of getDrawable() for null (when
BitmapFactory.decodeStream() fails)
Throwing and IllegalArgumentException when the bitmap is not equal sized or not
in JPG/PNG format - is a documented behavior. (
http://developer.android.com/reference/android/graphics/BitmapFactory.Options.ht
ml#inBitmap )
Original comment by ls.illar...@gmail.com
on 27 Jan 2014 at 3:54
[deleted comment]
The patch referenced in the description doesn't exist any more. I suggest
making a new issue in github if you want this to get some attention, preferably
with a pull request.
Original comment by neilboyd
on 27 Aug 2014 at 8:11
Original issue reported on code.google.com by
ls.illar...@gmail.com
on 21 Dec 2013 at 3:14