Render native view in webview on Android platform

195 views
Skip to first unread message

辛忠柱

unread,
Dec 10, 2020, 7:40:48 AM12/10/20
to Chromium-discuss
Hi there !

Is there anyway to render native view in webview on Android platform ?For example,  display a map view in the webview.

As far as I know, we're able to use webplugin which is combined with a typed HTML embed tag , to do this on desktop platform.  

But as document said, the webplugin feature is not supported on Android platform. But I think it is surely possible to embed a native view,  maybe change some renderer's source code ? Or just switch some flag to enable webplugin?  So could anyone shine a light ?  

Thank you so much !

Torne (Richard Coles)

unread,
Dec 10, 2020, 10:25:47 AM12/10/20
to xzzw...@gmail.com, Chromium-discuss
We don't embed native views in WebView at present, so you would have to implement this from scratch. It's also not possible to enable plugins on Android; the plugin machinery just isn't really implemented at all. So, no, there isn't any easy way here.

--
--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

Reply all
Reply to author
Forward
0 new messages