Thursday, August 5, 2010

Todo Q now compatible with DroidX

Apparently there is a bug in the DroidX maps implementation. Recently I started getting bug reports in the maps area of my app, which is usually very stable. The app would crash, but w/o a FC dialog.

Luckily I was able find an article by another developer and release a patch as v1.1.21.

Hard to believe this basic class in Android is broken in the DroidX. I heard this is a leftover from 1.6 that didn't get ported, but have no proof.

Thanks go to Jonathan W. for helping me find & debug this issue.

Here's the stacktrace. Maybe it will help some other poor developer looking for this bug.
om.billybobbain.android.todoqueue.ToDoMap$1@45e159c0
08-05 08:50:44.839  4493  4493 W dalvikvm: threadid=3: thread exiting with uncaught exception (group=0x4001e278)
08-05 08:50:44.847  4493  4493 E AndroidRuntime: java.lang.ClassCastException: android.graphics.drawable.BitmapDrawable
08-05 08:50:44.847  4493  4493 E AndroidRuntime:  at com.google.android.maps.MyLocationOverlay.drawMyLocation(MyLocationOverlay.java:561)

Todo Q is only $1.99 on the android market.

No comments:

Post a Comment