After including android:hardwareAccelerated="true" in AndroidManifest.xml file, WebView video playing perfectly in android 4.0 and above, But not in android 2.3.3 .

what is the problem?

有帮助吗?

解决方案

android:hardwareAccelerated="true" is supported from Android 3.0 and above. But If you add it in your AndroidManifest and your targetSDK is API-11 or later. Apk will run on Android 2.3 but android:hardwareAccelerated="true" flag will be ignored.

For playing video in Android 2.3 you will have to open it in Video View. Read the below link for more detail :

http://www.longtailvideo.com/blog/31646/the-pain-of-live-streaming-on-android/

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top