本文介绍了安卓:检测是否PVPlayer或AwesomePlayer?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我如何检测设备配备了PVPlayer组件或AwesomePlayer成分?
How can I detect if a device is equipped with the "PVPlayer" components or "AwesomePlayer" components?
我注意到,在Droid X,尽管是在Android 2.2,依然采用了PVPlayer组件,而不是AwesomePlayer。换句话说,在Droid X难以播放的媒体的某些类型
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.
谢谢!
推荐答案
窥视PackageManager类
Look into the PackageManager class
http://developer.android.com/reference/android/内容/ PM / PackageManager.html
http://www.androidsnippets.org/snippets/70/
这篇关于安卓:检测是否PVPlayer或AwesomePlayer?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!