├── documentation ├── Report.pdf ├── figures │ ├── jni-flow.pdf │ ├── sequence.pdf │ ├── tut1-scr1.png │ └── tut2-scr1.png ├── Report.bib ├── dirtree.ins ├── dirtree.sty ├── dirtree.tex ├── dirtree.dtx ├── splncs.bst ├── tcilatex.tex └── Report.tex ├── tutorial1 ├── res │ ├── values │ │ └── strings.xml │ └── layout │ │ └── main.xml ├── project.properties ├── jni │ ├── Android.mk │ └── tutorial1.c ├── AndroidManifest.xml └── src │ └── com │ └── android │ └── tutorial1 │ └── Tutorial1Activity.java ├── tutorial2 ├── res │ ├── values │ │ └── strings.xml │ └── layout │ │ └── main.xml ├── project.properties ├── jni │ ├── Android.mk │ └── tutorial2.c ├── AndroidManifest.xml └── src │ └── com │ └── android │ └── tutorial2 │ └── Tutorial2Activity.java ├── tutorial3 ├── res │ ├── menu │ │ └── menu.xml │ ├── values │ │ └── strings.xml │ └── layout │ │ └── main.xml ├── project.properties ├── jni │ ├── Android.mk │ └── tutorial3.c ├── src │ └── com │ │ └── android │ │ └── tutorial3 │ │ ├── CustomService.java │ │ ├── Tutorial3Service.java │ │ └── Tutorial3Activity.java └── AndroidManifest.xml ├── .gitignore └── README /documentation/Report.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoeni/ndk-tutorials/HEAD/documentation/Report.pdf -------------------------------------------------------------------------------- /documentation/figures/jni-flow.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoeni/ndk-tutorials/HEAD/documentation/figures/jni-flow.pdf -------------------------------------------------------------------------------- /documentation/figures/sequence.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoeni/ndk-tutorials/HEAD/documentation/figures/sequence.pdf -------------------------------------------------------------------------------- /documentation/figures/tut1-scr1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoeni/ndk-tutorials/HEAD/documentation/figures/tut1-scr1.png -------------------------------------------------------------------------------- /documentation/figures/tut2-scr1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoeni/ndk-tutorials/HEAD/documentation/figures/tut2-scr1.png -------------------------------------------------------------------------------- /tutorial1/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Tutorial1Activity 4 | Call to native 5 | Callback trigger 6 | 7 | -------------------------------------------------------------------------------- /tutorial2/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Tutorial2Activity 4 | Start the random routine 5 | Stop the random routine 6 | 7 | -------------------------------------------------------------------------------- /tutorial3/res/menu/menu.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /tutorial3/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Tutorial2Activity 4 | Start the random routine 5 | Stop the random routine 6 | Start Service 7 | Stop Service 8 | Force init() from Activity 9 | 10 | -------------------------------------------------------------------------------- /tutorial1/project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=android-16 15 | -------------------------------------------------------------------------------- /tutorial2/project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=android-16 15 | -------------------------------------------------------------------------------- /tutorial3/project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=android-16 15 | -------------------------------------------------------------------------------- /tutorial1/res/layout/main.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 12 | 13 |