This is a port of Jori's JRTPLib library to Android (v3.9.0). His original library is available here. Tested on Mac OS X 10.7 with Android NDK r6.
To build the library for Android, follow the following steps:
- Edit your
.bashrc
or.bash_profile
file and insert the following line:export NDK_ROOT='/path/to/android-ndk-r6/'
- Edit
android.sh
to ensure that the paths given on lines 38 and 39 are correct cd
into thejrtplib
directory- Execute
./android.sh
- Retrieve your shared/static library from
jrtplib/android-build
- Use the library as a prebuilt library in the jni folder of your Android project. Instructions on how to do that are available at my blog.
To clean the directory, issue the following commands:
$ make clean
$ rm CMakeCache.txt
$ rm -r android-build
Please direct all questions, bug reports, and feedback about the porting process to jim@NO-SPAMjh-lim.com; likewise, please direct all questions regarding the JThread or JRTPLib library to Jori.
- Wrote
android.sh