[Resolved] Dispatch runtime event on android

I see that the samples have an example of how to call a function from Java, but I dont see any documentation on how to dispatch a custom runtime event (like it is in iOS enterprise)

I’m trying to send an event named “ad_response” that is picked up by lua runtime. Any ideas how I would do this? [import]uid: 95944 topic_id: 33607 reply_id: 333607[/import]

Nevermind. I think I figured it out [import]uid: 95944 topic_id: 33607 reply_id: 133609[/import]

Nevermind. I think I figured it out [import]uid: 95944 topic_id: 33607 reply_id: 133609[/import]

I tried to call manually [lua]dispatchEvent[/lua] lua function from java with [java]LuaState.call (int, int)[/java]. It works, but application crashes with error after some time. Is there a way to do it like in iOS sample application?

[import]uid: 103808 topic_id: 33607 reply_id: 134027[/import]

I tried to call manually [lua]dispatchEvent[/lua] lua function from java with [java]LuaState.call (int, int)[/java]. It works, but application crashes with error after some time. Is there a way to do it like in iOS sample application?

[import]uid: 103808 topic_id: 33607 reply_id: 134027[/import]