Webview and external code integration

Monkey Targets Forums/Android/Webview and external code integration

Leon Brown(Posted 2014) [#1]
Hi everyone. Does anyone have any experience with integrating Monkey's Java with an externally developed app? I have been developing a separate hybrid Java/HTML5 app that I would like to combine with the Monkey game as a component and was wondering what the best way to do this would be. Does anyone have a recommendation on how it would be best to call up the Monkey app from the main code?


nikoniko(Posted 2014) [#2]
Use HTML5 target to call game from your application.

Or release webview component as monkey module (community will be thankful) and release your hybrid app using Monkey/HTML5 for all supported platforms.


Leon Brown(Posted 2014) [#3]
Thanks for your response, but the game needs to be compiled as a native app because it would be too slow on Android showing through a webview. What I would need is a way to call up the native Android code in Java when needed - does anyone have any suggestions?