Hello,
I have a Java code (from android) that must call javascript function asynchronous.
How can I do that?
I know how to call java code from javascript and how to call javascript code from java (using JNI), but I don’t know how to post a notification to a class once something happens in JAVA.
For example:
On java you have connection with a server, and the server tells you that you have to increase coins by 30, how can I refresh the label “coins” without pulling the data?
CCNotifications could be my solution, but I think they don’t work on js-bindings. I’m wrong?