this has to be compiled with ndk