Sai
Sai

Reputation: 311

How to send /Pass Message to Chrome Extension from Java Desktop Application(like Java Swing application)

I searched so many links in Stack over flow and Chrome Extension API am not getting any proper information for how to send message from Java desktop application to chrome extension.

but so many struggles I implemented Chrome Extension and set Executable jar file in host.bat file. jar file execution is over, then my Question is how to send message from java Applet(Swing) to chrome Extension. Please help me!

Upvotes: 0

Views: 898

Answers (1)

aliminnet
aliminnet

Reputation: 29

This can be handled by "Native Messaging" but consider this;

https://developer.chrome.com/extensions/nativeMessaging

Native applications that support this feature must register a native messaging host that knows how to communicate with the extension

Upvotes: 1

Related Questions