Re: Getting started with Java bindings
Posted: Sun May 30, 2021 11:23 am
Hi Kim,
I can relate to the LCB + FFI complexity. It's hard to find any meaningful documentation that explains the JNI using LCB aside from the code that's in the LiveCode codebase on Github.
I didn't think about using the Android emulator and after adding the Android SDK platform tools to my path I can now use the ADB to install the .apk from the project's build directory (a little better, but as you stated incredibly slow).
I'd like to use the JNI to access the camera as LiveCode Community currently doesn't allow that and I see no reason why I couldn't access it directly using the Android API. I prefer to tackle the toughest problems first and then I know that I can just build out the rest of the app.
Thank you and good luck with your future endeavours.
Regards,
Julian
I can relate to the LCB + FFI complexity. It's hard to find any meaningful documentation that explains the JNI using LCB aside from the code that's in the LiveCode codebase on Github.
I didn't think about using the Android emulator and after adding the Android SDK platform tools to my path I can now use the ADB to install the .apk from the project's build directory (a little better, but as you stated incredibly slow).
I'd like to use the JNI to access the camera as LiveCode Community currently doesn't allow that and I see no reason why I couldn't access it directly using the Android API. I prefer to tackle the toughest problems first and then I know that I can just build out the rest of the app.
Thank you and good luck with your future endeavours.
Regards,
Julian