Now I creating a plugin for android and facing a problem.
I want to send result to lua code from JAVA code using event, just like:
JAVA code:
public static void methodOne(){
// I'm doing something
// now I want to call back native method
}
lua code:
plugin:addEventListener(Event.SOMETHING, function(event)
local ret = event.returnSomeThing
// to do anything
end)
Please help, thanks.
Comments
Here is something for you to read:
http://www.giderosmobile.com/forum/discussion/comment/20371#Comment_20371
http://www.giderosmobile.com/forum/discussion/comment/23799#Comment_23799
why don't you add this to your article
http://appcodingeasy.com/Gideros-Mobile/Creating-plugins-for-Android-in-Gideros
) I read it and learn but found out it's missing this part
Games: Android
BTW, I found out that every time i ndk-build my plugin, libgideros.so is created. It's necessary to create libgideros.so every time?
Games: Android