Porting a C++ application with Lua scripts to android? -


i'm looking porting application called ygopro (source code here) android. wondering if can me out telling me best way go doing this? prefer not spend more 60 hours on , don't have time go through , rebuild scratch. code in c++ , there 5,500 lua scripts various things. there easy way can port this?

first, you'll note graphics library used project based on has been ported android.

there 2 demos available project. show how write android application uses library. suggest hack projects source framework provide.

in terms of lua, again you'll want use existing port. many of lua ports oriented towards allowing access lua java via jni, want lua shared library out of them link c++ code. want androlua rather android scripting environment. pretty much, add folders in it's jni folder android.mk includes, add library, , you'll go.

in terms of actual porting, i'm assuming project compiles happily under gcc. if case, try build it, complain functions platform specific, , have replace these. should manageable, if adding code graphics framework demo suggested. beyond that, libc functions missing, used ones.

hope helps. goes without saying should complete android native tutorials before starting. project more weekend.


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

c++ - End of file on pipe magic during open -