I want to write an Firefox mobile addon, which needs to communicate or invoke some android program with some data. I want to know what is the best way to communicate between an Firefox addon and android process. One way I can think of is to write data on Clipboard from addon, and continuously poll for clipboard from the android process, but that is not the efficient way. So any other ideas, please.
Unfortunately, there isn't a public way to communicate between Firefox and Android. We have been discussing how to expose such a mechanism.
In the meantime, I have been able to communicate with other applications using sockets. For example, the Android Scripting Layer (http://code.google.com/p/android-scripting/) can act as a RPC server. I have been able to open a socket to the server and communicate that way.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With