Hi friends. I am developing a flash plugin in webview and the sites do not perform plugin flash.
My code: <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" android:installLocation="internalOnly" package="com.navegador.android" android:versionCode="1" android:versionName="1"> <application android:icon="@drawable/Icon" > </application> <uses-sdk android:minSdkVersion="8" /> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> <uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> </manifest> Code: protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); context = this; // Set our view from the "main" layout resource SetContentView(Resource.Layout.Main); web_view = FindViewById<WebView>(Resource.Id.webview); button = FindViewById<Button>(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 : "); } Any Idea. Thanks -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Do-not-Perform-Flash-in-WebView-tp5630890p5630890.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
