闪光灯的WebView不工作在Android 3.2闪光灯、工作、WebView、Android

由网友(占有.)分享简介:我有一个问题,只是发生在我的摩托罗拉Xoom,我已经通过OTA更新到3.2。我有一个使用的WebView加载一个小的HTML中有Flash内容的简单应用程序。这里是code段。 I am having a problem that only happens on my Motorola Xoom which I ha...

我有一个问题,只是发生在我的摩托罗拉Xoom,我已经通过OTA更新到3.2。我有一个使用的WebView加载一个小的HTML中有Flash内容的简单应用程序。这里是code段。

I am having a problem that only happens on my Motorola Xoom which I have updated to 3.2 through OTA. I have a simple application that uses a WebView to load a small html that has flash content in it. Here is the code snippet.

mWebView = (WebView) findViewById(R.id.webview);
mWebView.getSettings().setJavaScriptEnabled(true);
mWebView.getSettings().setPluginsEnabled(true);

我知道这是正确的,因为它可以在我的三星Galaxy S运行正常运行Android 2.2。任何人看到这个问题?任何想法如何,我可以解决这个问题?

I know it is correct because it can run fine on my Samsung Galaxy S running Android 2.2. Anybody else seen this problem? Any idea how I can solve this problem?

非常感谢,我真的在这里停留。

Many thanks and I am really stuck here.

推荐答案

尝试建设您的应用程序使用了最新的Andr​​oid阿比(13),并激活硬件加速(同一个链接,只是一个小图)在你的活动,需要显示闪光灯。

Try to build your application with the latest android Api (13), and activate hardware acceleration (same link, just a little below) on your activity that need to display flash.

阅读全文

相关推荐

最新文章