JRTPLib-for-Android
JRTPLib-for-Android copied to clipboard
A port of Jori's jrtplib for Android
trafficstars
JRTPLib for Android
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.
Instructions
To build the library for Android, follow the following steps:
- Edit your
.bashrcor.bash_profilefile and insert the following line:export NDK_ROOT='/path/to/android-ndk-r6/' - Edit
android.shto ensure that the paths given on lines 38 and 39 are correct cdinto thejrtplibdirectory- 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
Feedback
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.
What I did
-
Wrote
android.sh