Hopefully someone else comes up with a different answer to prove that I'm wrong, but in my personal experience with device-specific problems, catching exceptions often is the best you can do.
Edit your comment below: This is the point, and I ran into some new problems with specific devices using custom WebView code while expanding WebView.
There are a lot of people with much more experience than me, and I hope one of them comes in to give a more definitive answer or a less hacky solution, but you can always use android.os.Build.DEVICE , android.os.Build.MODEL if necessary android.os.Build.MODEL and / or android.os.Build.PRODUCT to determine if the application works on the Samsung Vibrant Galaxy S, and (via reflection) use the custom MapView class only if it exists.
source share