You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rust can wrap the Android API written in Java.
This is my small cross-platform library.
I created it quite some time ago, so I'm not entirely sure if it's polished, but it's simple and straightforward, so I hope it can be useful.
Hey @oligamiq,
Thanks for the helpful info on how to wrap these interfaces! I'll definitely take a look at these if/when I get around to implementing tappers for Android/iOS. I'm still not 100% sure if supporting mobile platforms would be the right choice for tappers given how differently they behave to desktop platforms (no TAP support, only one VPN/Tunnel service allowed at a time, no way to manually configure routing), but if so then I'll be sure to look into these resources.
Rust can wrap the Android API written in Java.
This is my small cross-platform library.
I created it quite some time ago, so I'm not entirely sure if it's polished, but it's simple and straightforward, so I hope it can be useful.
https://github.com/oligamiq/nickname/blob/main/rust/android/jni/nick_name.rs#L217
https://github.com/oligamiq/nickname/blob/main/rust/android/jni/mod.rs
Note:
that using this method will not result in an app that works on the adb shell.
Rust can wrap the iOS API written in Obj-c.
https://github.com/oligamiq/nickname/blob/main/rust/iphone/objc/nick_name.rs#L24
https://github.com/oligamiq/nickname/blob/main/build.rs
This can also be executed on the shell, so it is possible to test it with
cargo dinghy
.The text was updated successfully, but these errors were encountered: