Cordova Android: how to listenen to custom events in Javascript? -


with cordova android, how can javascript listen custom event fired in java code?

a typical use case when activity starts, connects end server , waits until server sends message, notifies javascript make ui updates. how should done in cordova?

thanks

have looked at: asynchronous communication between javascript , phonegap plugin

this seems to similar trying achieve.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

c# - How do I get the Nth largest element from a list with duplicates, using LINQ? -

jsp - "Sending a redirect is forbidden after the response has been committed" in sendRedirect -