I'm facing some rare problem. I have a device running on Android API 14. Anytime I try to use MapActivity
I get the same error - java.lang.NoClassDefFoundError: android.security.MessageDigest
. On other 99% devices it works perfect.
After some digging, I've found root of the problem.
The error is the result of a device manufacturer or ROM creator using an older maps library with a new version of Android. (more at What is 'android.security.MessageDigest''?)
The functionality of MapActivity isn't required for application, so I want to check if user has such device.
How can I get user's google api version on android?