开发者

Android: Detect if PVPlayer or AwesomePlayer?

开发者 https://www.devze.com 2023-01-20 10:39 出处:网络
How can I detect if a device is equipped with the \"PVPlayer\" components or \"AwesomePlayer\" components?

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/

0

精彩评论

暂无评论...
验证码 换一张
取 消