i am loading plugins using html page - <body>
<p> <button onclick='alert(pluginobj.scriptSimple ())'>Call plugin.scriptSimple()</button> <object id="pluginobj" type="application/x-vnd- aplix-foo">Plugin FAILED to load</object> </p> </body> but browser is unable to call function on pluginobj. On Jun 11, 12:14 pm, douchuan <do.ch...@gmail.com> wrote: > open the url in Browser > > MIND GAME 写道: > > > > > suggest me a way to test npapi plugin in android. > > > On Jun 11, 6:28 am, douchuan <do.ch...@gmail.com> wrote: > > >> yes, Maybe you can't try it by Browser > > >> MIND GAME 写道: > > >>> i am trying to load a npapi plugin using webview. > >>> code is > >>> webview.getSettings().setJavaScriptEnabled(true); > >>> webview .getSettings().setPluginsEnabled(true); > >>> webview.getSettings().setPluginsPath("/android_asset/web/"); > >>> System.out.println("Default plugin path > >>> is :"+webview .getSettings().getPluginsPath()); > >>> webview.loadUrl("file:///android_asset/web/test.html"); > >>> but plugin is failing to load... > >>> please help me out..... > >>> thanks in advance... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "android-framework" group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~----------~----~----~----~------~----~------~--~---