What is the WebView Plugin located ? Following does not list any plugins
(other than text:Plugins ) for the WebKit component.
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
WebView browser = new WebView(this);
browser.getSettings().setJavaScriptEnabled(true);
browser.getSettings().setPluginsEnabled(true);
PluginList plugins = WebView.getPluginList();
List list = plugins.getList();
List<Plugin> pList = list;
StringBuffer sb = new StringBuffer("Plugins:<br>");
for (Plugin p: pList) {
sb.append(p.getName()).append("<br>");
}
Log.i("WebViewTest.Console", sb.toString());
browser.loadData("<html><body>"+sb.toString()+"</body></html>",
"text/html", "UTF-8");
setContentView(browser);
Kumar _/|\_
www.saisk.com
[email protected]
"making a profound difference with knowledge and creativity..."
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---