sblin deleted page: Android JNI
This commit is contained in:
parent
9d19f4a605
commit
9f508640f7
|
@ -1,28 +0,0 @@
|
||||||
JNI generation process
|
|
||||||
----------------------
|
|
||||||
|
|
||||||
- `cd ring-project/`
|
|
||||||
- Check ./daemon/src/dring
|
|
||||||
- Create a new file .i in ./daemon/bin/jni/ from an existing file in
|
|
||||||
the same folder
|
|
||||||
- Update with your new interfaces from documentation
|
|
||||||
- Check that callback block is at the beginning AND at the end of file
|
|
||||||
|
|
||||||
|
|
||||||
- `cd daemon/bin/jni`
|
|
||||||
- Edit ./daemon/bin/jni/jni\_interface.i and add yours with the other
|
|
||||||
.i files that are in the same folder
|
|
||||||
|
|
||||||
|
|
||||||
- `export PACKAGEDIR=\*\*\*\*/ring-project/client-android/ring-android/libringclient/src/main/java/cx/ring/daemon.`
|
|
||||||
ie: `export
|
|
||||||
PACKAGEDIR=/home/pduchemin/Documents/ring-project/client-android/ring-android/libringclient/src/main/java/cx/ring/daemon`
|
|
||||||
|
|
||||||
|
|
||||||
- Run
|
|
||||||
- `./make-swig.sh`
|
|
||||||
|
|
||||||
|
|
||||||
- or, if you start from scratch
|
|
||||||
- `./make-ring.py --init --distribution=Android`
|
|
||||||
- `./make-ring.py --install --distribution=Android`
|
|
Loading…
Reference in New Issue