I don't think there's an equivalent.  WebBrowser is simply a wrapper around
BrowserComponent that will fall back to the old HTMLComponent on platforms
that don't support a native web view.  But all of the platforms we target
now, have a native webview so that class has become redundant for the most
part - aside from the odd useful utility method like createDataURI.

We should probably make an equivalent in either BrowserComponent or another
one of the CN1 utility classes.


On Thu, Sep 13, 2018 at 11:05 AM, mcw <[email protected]> wrote:

> Haven't built my apps for some time and discovered a lot of deprecated
> classes and methods.
>
> I am trying to switch from WebBrowser  to BrowserComponent.
>
> What is the BrowserComponent equivalent of 
> WebBrowser.createDataURI(_coverImage,
> "image/png");
>
> Thanks,
>
> Martin
>
> --
> You received this message because you are subscribed to the Google Groups
> "CodenameOne Discussions" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> Visit this group at https://groups.google.com/
> group/codenameone-discussions.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/codenameone-discussions/593a1131-e1b8-4439-9793-
> e7843efff7ed%40googlegroups.com
> <https://groups.google.com/d/msgid/codenameone-discussions/593a1131-e1b8-4439-9793-e7843efff7ed%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Steve Hannah
Software Developer
Codename One
http://www.codenameone.com

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/CAGOYrKVkdh_hHTJfUhCVUVvToZFMizF4gz2SS9So0gupc5aHeg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to