Merge pull request #12 from eriknellessen/master

Fixed crash (because of null array) in android jni files.