Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android2.1 crashes in RadiusMarkerClusterer #109

Open
GoogleCodeExporter opened this issue Apr 6, 2015 · 1 comment
Open

Android2.1 crashes in RadiusMarkerClusterer #109

GoogleCodeExporter opened this issue Apr 6, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

When starting an app in the android2.1 Emulator that uses RadiusMarkerClusterer 
the app crashes (app has unexpectedly stopped)

i identified this line of code as the source

// this code is used to genereate a marker-icon with the number of clusted 
Points inside:

Bitmap finalIcon = Bitmap.createBitmap(mClusterIcon.getWidth(), 
mClusterIcon.getHeight(), mClusterIcon.getConfig());



this is probably due to a bug in android-2.1. in android-4.4 the code works as 
expected. I have no info which android Versions are affected.

After changing the line to

Bitmap finalIcon = Bitmap.createBitmap(mClusterIcon.getWidth(), 
mClusterIcon.getHeight(), Bitmap.Config.ARGB_8888);

the code works under android-2.1


Original issue reported on code.google.com by [email protected] on 30 Jan 2015 at 4:01

@GoogleCodeExporter
Copy link
Author

sorry i have no permission to Change the title of the ticket:

Can someone Change the titile to "App uncaught exception in 
RadiusMarkerClusterer when using android-2.1"

Original comment by [email protected] on 30 Jan 2015 at 4:07

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant