MapView throwing IllegalArgumentException - Wrong Image Size: 192 192?

Hopefully someone else will show up with another answer to prove me wrong, but in my personal experience with device-specific issues, catching the exceptions often seems to be the best you can do Edit regarding your comment below: That is a point, and I did run into some new problems with specific devices using customised WebView code when extending WebView once There are a ton of people on here with far more experience than me, and I hope one of them will drop in to give a more definitive answer or less hacky solution, but if necessary, you could always use android.os.Build. DEVICE android.os.Build. MODEL and/or android.os.Build.

PRODUCT to determine whether the app is running on a Samsung Vibrant Galaxy S, and (via reflection) use the custom MapView class only if it is.

Hopefully someone else will show up with another answer to prove me wrong, but in my personal experience with device-specific issues, catching the exceptions often seems to be the best you can do. Edit regarding your comment below: That is a point, and I did run into some new problems with specific devices using customised WebView code when extending WebView once. There are a ton of people on here with far more experience than me, and I hope one of them will drop in to give a more definitive answer or less hacky solution, but if necessary, you could always use android.os.Build.

DEVICE, android.os.Build. MODEL and/or android.os.Build. PRODUCT to determine whether the app is running on a Samsung Vibrant Galaxy S, and (via reflection) use the custom MapView class only if it is.

This is understandable but the problem with this is that working around the issue for those who account for 1% of the app usage may lead to problems with the users accounting for the other 99%. Are there any gotchas when extending the MapView that I don't know about? This is my main concern about "working around" this issue.

– hooked82 Sep 26 at 15:18 That is a point -- edited the answer. – Sven Viking Sep 27 at 0:47 Thanks for the input. I may have to end up going with something like in your edit.

I'll give it some more time to see if anybody else has a complete fix or a different solution. – hooked82 Sep 28 at 4:16 I'll go ahead and mark this as the answer, as it is a workable solution, just not desired. Thanks – hooked82 Oct 7 at 15:01.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions