Desktop Notification Integration

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

Desktop Notification Integration

Postby anthonyallen » Tue Apr 28, 2015 7:14 pm

I know cef does not plan to support desktop notifications, and I read about ways recommended to hook into the functionality with C++, however I am wondering what my best option is for integration with java (and not having to modify the cef core stuff). My only solution right now is to create a js->java bridge and modify the js code from using Notification object to calling the bridge function. Is there a better way to not have to modify my js code that will allow me to create the hooks I need?
anthonyallen
Newbie
 
Posts: 1
Joined: Tue Apr 28, 2015 7:09 pm

Re: Desktop Notification Integration

Postby kaiklimke » Tue Apr 28, 2015 11:47 pm

I think the simplest solution would be to call - as mentioned by you - a JS Binding function which is handled within Java. Maybe you need an additional native library (JNI) for Java to implement such kind of notification.
kaiklimke
Techie
 
Posts: 19
Joined: Tue Oct 29, 2013 3:49 am


Return to JCEF Forum

Who is online

Users browsing this forum: No registered users and 115 guests