I think it's because Adobe Flash is not supported on ICS+ and will not be.
Adobe dropped support.
Z.
On Monday, July 23, 2012 11:48:12 AM UTC+2, Shalini wrote:
>
> I am running a local html file in webview which loads a local flash file
> . The webview is loading the file in android 2.2 and 2.3 but it is not
> working in ICS . Could you please let me know the reason?
>
> This is code :
>
> final WebView webView = (WebView) findViewById(R.id.webview);
>
> final CustomProgress progress = new CustomProgress(this,
> R.string.loading);
>
> webView.getSettings().setJavaScriptEnabled(true);
> webView.getSettings().setPluginsEnabled(true);
> webView.getSettings().setAllowFileAccess(true);
>
> webView.setWebViewClient(new WebViewClient() {
>
> @Override
> public void onPageStarted(WebView view, String url, Bitmap
> favicon) {
> super.onPageStarted(view, url, favicon);
> progress.show();
> }
>
> @Override
> public void onPageFinished(WebView view, String url) {
> super.onPageFinished(view, url);
> progress.dismiss();
> }
>
> @Override
> public boolean shouldOverrideUrlLoading(WebView view, String
> url) {
> return false;
> }
> });
>
> webView.setWebChromeClient(new WebChromeClient() {
> public boolean onConsoleMessage(ConsoleMessage cm) {
> Helper.printLogD(cm.message() + " -- From line "
> + cm.lineNumber() + " of " + cm.sourceId());
> return true;
> }
>
> });
>
> String url = getIntent().getStringExtra(Constants.URL);
> webView.loadUrl(url);
>
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en