硬件加速的标志 [英] Hardware acceleration flag

查看:156
本文介绍了硬件加速的标志的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我建立将从Android版本2.2(升级Froyo)起运行的应用程序。我已经建立了一个应用程序与2.2播放视频,并在同一个应用程序,我想在Android版本3(蜂窝)。

I'm building an app which will run from Android version 2.2 (Froyo) onwards. I have already built an app with 2.2 for playing videos and in the same app I want to run on Android version 3 (Honeycomb).

在这里,我的问题与hardware_加速标志开始。该标志可以从蜂窝3起,但不低于蜂窝。我想附带Froyo的一个共同的应用程序,但我想我的蜂窝应用程序,不显示视频。这是因为hardware_加速标志清晰。我可以释放两个版本,但我只是想给一次尝试。我能否避免?

And here my problem starts with hardware_ accelerated flag. This flag is available from Honeycomb 3 onwards, but not below Honeycomb. I want to ship one common app with Froyo, but as I'm trying my app in Honeycomb, video is not shown. It's clearly because of the hardware_ accelerated flag. I can release two builds, but I just want to give one try. Can I avoid that?

我的问题是我想附带Froyo的应用程序,但对于hardware_accelerated标志,它有一个参考,而不是一个清单或在编程的编码,因为它的升级Froyo。我使用的是从哪里视频将播放的WebView。

My problem is I want to ship the app with Froyo, but for hardware_accelerated flag, it has a reference, not a manifest or in the programmatically coding since it's Froyo. I'm using webview from where the videos will be played.

推荐答案

我做的伎俩周围的其他方法。我建立一个应用程序在蜂巢(Android 3.0的)本身。并允许支持升级Froyo(And​​roid 2.2的)的清单。

I did the trick the other way around. I built an app in Honeycomb (Android 3.0) itself. And allowed to support Froyo (Android 2.2) in the manifest.

这篇关于硬件加速的标志的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆