Skip to content

Commit

Permalink
Updated README.
Browse files Browse the repository at this point in the history
  • Loading branch information
philippwiesemann committed Aug 15, 2014
1 parent e0eb671 commit c5aa0d8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/README-android.md
Expand Up @@ -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


Expand All @@ -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
*/

Expand Down Expand Up @@ -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.

Expand Down Expand Up @@ -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


Expand Down

0 comments on commit c5aa0d8

Please sign in to comment.