How can I detect if a device is equipped with the "PVPlayer" components or "AwesomePlayer" components?
I noticed that the Droid X, despite being on Android 2开发者_运维百科.2, still uses the PVPlayer component rather than AwesomePlayer. in other words, the Droid X has difficulty playing certain types of media.
Let me know if you need any clarification.
Thanks!
Look into the PackageManager class
http://developer.android.com/reference/android/content/pm/PackageManager.html
http://www.androidsnippets.org/snippets/70/
精彩评论