08-20-2012, 08:38 PM
(08-20-2012, 06:59 PM)xoft Wrote: I think the easiest way is to create a pipe in C++ to which the server would write the log and Java (via C++ JNI) would read it. My Android-educated colleague hinted me at this solution.But isn't that severely limited to just the log/messages?
(08-20-2012, 06:59 PM)xoft Wrote: There is also a way to call Java stuff from a C++ thread, but it's not so easy (need to call AttachThread(), with a parameter that is received on library load via OnLoad...() ) and I think the pipe solution is much easier and cleaner.I know... I've written about that...