Skip to content
Permalink
Browse files

Updated README.

  • Loading branch information
philippwiesemann committed Aug 15, 2014
1 parent e0eb671 commit c5aa0d8081d0af6355be511a7bf6044b34ad4a78

File 1 of 1 in c5aa0d8

@@ -128,7 +128,7 @@ Instructions:
export NDK_MODULE_PATH="$PWD"/..

5. Edit <project>/src/org/libsdl/app/SDLActivity.java and remove the call to
System.loadLibrary("SDL2") line 42.
System.loadLibrary("SDL2").
6. Run 'ndk-build' (a script provided by the NDK). This compiles the C source


@@ -151,7 +151,7 @@ Here's an example of a minimal class file:

import org.libsdl.app.SDLActivity;

/*
/**
* A sample wrapper class that just calls SDLActivity
*/

@@ -232,7 +232,7 @@ If you want to use threads in your SDL app, it's strongly recommended that you
do so by creating them using SDL functions. This way, the required attach/detach
handling is managed by SDL automagically. If you have threads created by other
means and they make calls to SDL functions, make sure that you call
Android_JNI_SetupThread before doing anything else otherwise SDL will attach
Android_JNI_SetupThread() before doing anything else otherwise SDL will attach
your thread automatically anyway (when you make an SDL call), but it'll never
detach it.

@@ -268,7 +268,7 @@ Once you've copied the SDL android project and customized it, you can create an
* Select the Android -> Android Project wizard and click Next
* Enter the name you'd like your project to have
* Select "Create project from existing source" and browse for your project directory
* Make sure the Build Target is set to Android 2.0
* Make sure the Build Target is set to Android 3.1 (API 12)
* Click Finish


0 comments on commit c5aa0d8

Please sign in to comment.