[zeromq-dev] Some thing about android

Martin Sustrik sustrik at 250bpm.com
Fri Jul 8 08:33:44 CEST 2011

On 07/07/2011 04:47 AM, Ning Dong wrote:
> Hi, Everyone,
> I'm a newbie for ZeroMQ and i was astonished by it's simplicity and 
> power after first glancing.
> Now, i plan to use 0MQ as an asynchrous message infrastructure for my 
> project on android. My backend is C/C++ coded and the UI must be Java. 
> So if it's possible that UI and backend communicate by INPROC transport? 
> That's mean only one context should be used in UI and backend. Then the 
> context must be created in UI or worker and tansfered through JNI.

To do that you would have to cram both you C code an JavaVM into a
single process. In theory it can be done by exposing the C code as a
library and launching it via JNI. I am not sure whether it's worth it


More information about the zeromq-dev mailing list