Call Monkey code from native code
Monkey Forums/Monkey Programming/Call Monkey code from native code
| ||
I saw somwhere in the forums where someone had done this. I can't seem to find the post and anyhow the example did not work for me. Mark mentioned in the thread to look at mojo to see how you can call monkey code from native code - I'm not getting it. Anyone done this? I am wanting to call a monkey function from javascript as part of an effort to fully integrate my app with Facebook. Found the post: http://www.monkeycoder.co.nz/Community/posts.php?topic=120#2192 Anyone get the example to work? |
| ||
Hi, You'll need to create a native class designed to be extended by monkey code. This is how the App code calls the monkey versions of OnCreate, OnRender etc. |
| ||
I see, thanks Mark. I'm going to take a look again, I think I get it. |