README.android
changeset 6273 2fa7e0540f95
parent 4976 3811132c584f
child 6330 0fa55ca2efdd
equal deleted inserted replaced
6272:f3dbef2cc0f2 6273:2fa7e0540f95
    37  Building an app
    37  Building an app
    38 ================================================================================
    38 ================================================================================
    39 
    39 
    40 Instructions:
    40 Instructions:
    41 1. Copy the android-project directory wherever you want to keep your projects and rename it to the name of your project.
    41 1. Copy the android-project directory wherever you want to keep your projects and rename it to the name of your project.
    42 2. Move this SDL directory into the <project>/jni directory
    42 2. Move this SDL directory into the <project>/jni directory and then copy
       
    43 SDL_config_android.h to SDL_config.h inside the include folder
    43 3. Place your application source files in the <project>/jni/src directory
    44 3. Place your application source files in the <project>/jni/src directory
    44 4. Edit <project>/jni/src/Android.mk to include your source files
    45 4. Edit <project>/jni/src/Android.mk to include your source files
    45 5. Run 'ndk-build' (a script provided by the NDK). This compiles the C source
    46 5. Run 'ndk-build' (a script provided by the NDK). This compiles the C source
    46 
    47 
    47 If you want to use the Eclipse IDE, skip to the Eclipse section below.
    48 If you want to use the Eclipse IDE, skip to the Eclipse section below.