Hi there,

any news on my NPAPI support question in Android 2.0+?

Thanks,
Anselm

On Dec 15 2009, 4:03 pm, garbeam <garb...@gmail.com> wrote:
> Hi there,
>
> in older android SDK versions it was possible to load custom NPAPI
> plugins into the WebView through reading them from assets and writing
> them into the filesystem at the apps data directory, for example
> something along the lines:
>
>         webview = (WebView)findViewById(R.id.webview);
>                         webview.getSettings().setJavaScriptEnabled(true);
>                         webview.getSettings().setPluginsEnabled(true);
>                         
> webview.getSettings().setPluginsPath("/data/data/com.foo.app");
>                         webview.setWebViewClient(new NetworkAccess());
>
> in order to have a WebView instance with NPAPI plugin support for
> plugins in that directory.
>
> In Android 2.0 SDK this mechanism does not seem to work anymore and
> the WebSettings.setPluginsPath() method seems to be 
> deprecated:http://developer.android.com/reference/android/webkit/WebSettings.htm...).
>
> Can anyone confirm this is a final decision or just a bug? Are custom
> NPAPI plugins aren't going to be supported in the future anymore?
> Would be a shame if that'll be the case ;(
>
> Kind regards,
> Anselm
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to