Skip to content
Browse files

Simplified installation process

  • Loading branch information...
1 parent 39d1088 commit d89bb4ba0890af250dbac32fd246cbe5f1c78c30 Dave Byrne committed
View
1 .gitignore
@@ -3,3 +3,4 @@ local.properties
bin/
gen/
libs/
+obj/
View
2 Application.mk.EXAMPLE
@@ -1,2 +0,0 @@
-APP_PROJECT_PATH := /home/dbyrne/Fractoid
-APP_MODULES := FractalMath
View
12 README.txt
@@ -16,14 +16,6 @@ INSTALLATION
2) Copy local.properties.EXAMPLE to local.properties and set the correct Android SDK location.
-3) Create a symbolic link in the NDK's "sources" directory pointing to native-src/FractalMath
- For example: ln -s /home/dbyrne/Fractoid/native-src/FractalMath/ FractalMath
-
-4) Create a new directory in the NDK's "apps" directory called "Fractoid"
-
-5) Copy Application.mk.EXAMPLE to Application.mk and move it tothe directory created in step 4.
- Then set APP_PROJECT_PATH to the location of the Fractoid project.
-
-6) From the NDK directory, run "make app=Fractoid". This will compile the native code.
+3) From the Fractoid project directory, run "ndk-build" and "ant install".
-7) From the Fractoid project directory, run "ant install".
+4) Start hacking!
View
2 default.properties
@@ -8,4 +8,4 @@
# project structure.
# Project target.
-target=android-6
+target=android-11
View
2 native-src/FractalMath/Android.mk → jni/Android.mk
@@ -3,7 +3,7 @@ LOCAL_PATH := ${call my-dir}
include $(CLEAR_VARS)
LOCAL_MODULE := FractalMath
-LOCAL_SRC_FILES := FractalMath.c
+LOCAL_SRC_FILES := FractalMath/FractalMath.c
LOCAL_LDLIBS := -L$(SYSROOT)/usr/lib -llog
include $(BUILD_SHARED_LIBRARY)
View
0 native-src/FractalMath/FractalMath.c → jni/FractalMath/FractalMath.c
File renamed without changes.
View
0 ...src/FractalMath/byrne_fractal_NativeLib.h → jni/FractalMath/byrne_fractal_NativeLib.h
File renamed without changes.
View
2 local.properties.EXAMPLE
@@ -8,4 +8,4 @@
# For customization when using a Version Control System, please read the
# header note.
-sdk.dir=/home/dbyrne/android-sdk-linux_86
+sdk.dir=/home/dave/android-sdk-linux_x86

0 comments on commit d89bb4b

Please sign in to comment.
Something went wrong with that request. Please try again.