Accessing all Android API's in a Rust Library

I want to use all the Android SDK API's in a Rust library e.g - UsbManager, UsbDevice, All Storage related APIs, BroadcastReceivers, Intents etc. and perform some Android specific operations in app.

For instance, I want to have a code in Rust library, which tells me when there is a USB_DEVICE_ATTACHED event occurs in an Android Device. Is it possible in Rust ?

You probably want NDK — Rust API for Unix //, but check out the rest of #android //

1 Like