I attempted to use ScaleDrawable like so, but this causes a crash:
Using java Syntax Highlighting
- Drawable myIcon = getResources().getDrawable(R.drawable.large);
- ScaleDrawable z19 = new ScaleDrawable(myIcon, 0, 500, 500);
- MapController mapController = mapview.getController();
- mapController.setZoom(19);
- mapController.setCenter(centerCM);
- List<Overlay> l = mapview.getOverlays();
- l.add(new MapOverlay((Drawable) z19, mapview));
Parsed in 0.032 seconds, using GeSHi 1.0.8.4
If on the last line I use myIcon instead of z19, there are no problems (other than the overlay not being the desired size).
Adb isn't telling me anything at the moment.
Appreciate any suggestions!

