User Tools

Site Tools


en:tutorials:setup_android-native

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:tutorials:setup_android-native [2011/05/08 08:27 (9 years ago)]
lydesik created
en:tutorials:setup_android-native [2019/03/04 06:10 (15 months ago)] (current)
Line 1: Line 1:
-This tutorial assumes that you already have successfully installed latest Android SDK and NDK. 
-This tutorial explains how to build orx for android 2.3 using NativeActivity 
  
-**1. Clone orx svn** +====== This page is deprecated ======
- +
-   the orx trunk have to be installed in the directory <​NDK_ROOT>/​sources/​orx. +
-    +
-   cd <​NDK_ROOT>/​sources +
-   svn co https://​orx.svn.sourceforge.net/​svnroot/​orx/​trunk orx +
- +
-**2. Build the android-9 standalone toolchain** +
- +
-   <​NDK_ROOT>/​build/​tools/​make-standalone-toolchain.sh --platform=android-9 --install-dir=/​tmp/​android-9-toolchain +
-   ​export PATH=/​tmp/​android-9-toolchain/​bin:​$PATH +
-    +
-   note: change the install-dir to anything you want +
- +
-**3. Compile orx** +
- +
-   cd <​NDK_ROOT>/​sources/​orx/​code/​build/​android-native +
-   edit Makefile and change the NDK_ROOT variable at line 72 to anything you used in install_dir for previous step +
-   ​make +
- +
-**4. Compile orxTest sample** +
- +
-   cd <​NDK_ROOT>/​sources/​orx/​code/​demo/​android-native +
-   ​ndk-build +
- +
-**4. Import project in Eclipse** +
- +
-   ​Import an existing project into Workspace +
-   ​browse to <​NDK_ROOT>/​sources/​orx/​code/​demo/​android-native +
-   let eclipse build the project and deploy on your device+
  
 +If you wish to learn how to develop with Orx on Android, start here: [[:​deploying_your_application_to_android|Working with Android]]
en/tutorials/setup_android-native.1304843258.txt.gz · Last modified: 2017/05/30 07:50 (3 years ago) (external edit)