This is an old revision of the document!
This tutorial assumes that you already have successfully installed latest Android SDK and NDK. This tutorial explains how to build orx from mercurial for android (min api 2.3). API 19 is required.
1. Clone orx repository
cd <MY_LIBS> hg clone https://bitbucket.org/orx/orx
2. Compile orx
cd <MY_LIBS>/orx/code/build/android ndk-build ./install.sh For windows, use install.bat instead.
3. Compile orxTest sample
cd <MY_LIBS>/orx/code/demo/android export NDK_MODULE_PATH=<MY_LIBS>/orx/code ndk-build For windows, substitute the export command above as: set NDK_MODULE_PATH=<MY_LIBS>\orx\code
4. Import Orx Java framework in Eclipse
Import an existing project into Workspace browse to <MY_LIBS>/orx/extern/android
5. Import demo project in Eclipse
Import an existing project into Workspace browse to <MY_LIBS>/orx/code/demo/android let eclipse build the project and deploy on your device
If you have completed this tutorial and would like to try again with your own project, continue to Deploying your Application to Android.