Merge: Support for Java arrays, Java libs on Android and Google Cardboard head tracking
authorJean Privat <jean@pryen.org>
Mon, 5 Jan 2015 21:29:15 +0000 (16:29 -0500)
committerJean Privat <jean@pryen.org>
Mon, 5 Jan 2015 21:29:15 +0000 (16:29 -0500)
commitb3948b6842f63d65ec67dd5b7fc9e7573854c59e
treea76296b156fbb1d4832c39ecfcd3f491cb1ff7b1
parentef8c975374c847ee1ba0d4f2b53dde4506cbcf0d
parentd73326d4d5c3f81a3c32e31053d4ac1c706c2172
Merge: Support for Java arrays, Java libs on Android and Google Cardboard head tracking

Use the same approach to copy the "libs" dir to the Android project than the "res" dir.

Extern Java types for primitive arrays is a bit tricky to convert to JNI format. For example, `Object[]` in Java is represented by `[Ljava.lang.Object;` in JNI format, and `int[]` is `[I`.

Add some primitive Java arrays, will add more as needed. Will also need to update jwrapper to use those.

The last commit hints at my next demo. It is mostly generated with jwrapper.

Pull-Request: #1079
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Romain Chanoir <chanoir.romain@courrier.uqam.ca>