Hi friends.

I am developing a flash plugin in webview and the sites do not perform
plugin flash.

My code:

            base.OnCreate(bundle);

            // Set our view from the "main" layout resource  
            SetContentView(Resource.Layout.Main);

            web_view = FindViewById(Resource.Id.webview);

            button = FindViewById(Resource.Id.MyButton);

            //===============================================
            web_view.Settings.SetPluginState(WebSettings.PluginState.On);
            //===============================================

            web_view.Settings.JavaScriptEnabled = true;
            web_view.Settings.BuiltInZoomControls = true;
            web_view.Settings.SetSupportZoom(true);
            web_view.Settings.UseWideViewPort = true;
            web_view.Settings.LoadsImagesAutomatically = true;
            web_view.Settings.AllowFileAccess = true;
            web_view.Settings.LightTouchEnabled = true;

            web_view.Settings.SetAppCacheEnabled(true);
            web_view.Settings.DatabaseEnabled = true;
            web_view.Settings.SetGeolocationEnabled(true);

            web_view.Settings.CacheMode = Android.Webkit.CacheModes.Normal;
            web_view.SetWebViewClient(new WebViewClient());
            web_view.SetWebChromeClient(new WebChromeClient());

            web_view.SetInitialScale(100);
            web_view.KeepScreenOn = true;
            web_view.SoundEffectsEnabled = true;

            button.Click += (o, e) =>
            {
                base.Finish();
            };

            web_view.LoadUrl("http://www.mysite.com";);

            web_view.SetWebViewClient(new HelloWebViewClient());

            Android.Util.Log.Info("w/WebviewLoren", "Init url : ");


My manifest:

<?xml version="1.0" encoding="utf-8"?>

  
  
  
  
  
  
  
  
  
  


Thanks

--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Webview-active-plugin-flash-tp5630885p5630885.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to