I'm using NativeScript as the UI/mobile access layer for an app. For now, the app will only be run by me on an Android device, so cross-platform support isn't an issue. The core of the app is implemented as a Rust shared library with a JNI interface, and my primary goal is ease of development/iteration as I refine this code.
I'd like to write my Java JNI interface code directly in my NativeScript app--that is, compile the code alongside the platform-specific Java, without writing it in a separate library that gets pulled in. But it seems like the platform-specific code is auto-generated and not meant to be user-modified.
Is it possible to easily copy a few hand-written Java classes into my final NativeScript app, while using NS for the mobile interface layer? Are hooks something that could help with this?
Thanks for any pointers.
App_Resources/Android/libthen the classes should be accessible at runtime. - Manoj