calling java from javascript

Having problems with building or using the JCEF Java binding? Ask your questions here.

calling java from javascript

Postby Lagyli » Wed Feb 03, 2016 10:20 am

Hello

Is it possible to call Java code from the javascript like its possible in the native cef using the v8Handler? If yes can you supply some example code?

Thank you
Lagyli
Newbie
 
Posts: 2
Joined: Wed Feb 03, 2016 10:18 am

Re: calling java from javascript

Postby magreenblatt » Wed Feb 03, 2016 11:40 am

JCEF has CefMessageRouterHandler. See usage in the detailed example app.
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: calling java from javascript

Postby Lagyli » Thu Feb 04, 2016 6:10 pm

So none of the v8 support?
Lagyli
Newbie
 
Posts: 2
Joined: Wed Feb 03, 2016 10:18 am

Re: calling java from javascript

Postby magreenblatt » Thu Feb 04, 2016 6:23 pm

Using CefV8 classes directly would require running Java in the renderer process. That is not currently supported.
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm


Return to JCEF Forum

Who is online

Users browsing this forum: No registered users and 44 guests