Andy Barron
Andy Barron
Any progress on this front? The mirrors/forks are all behind.
I'm planning on a rewrite that would let you select a preset rather than being forced to always use platform defaults.
Are there any API changes?
I wonder if either of [these fields](https://github.com/tomaka/android-rs-glue/blob/55a03e60f855e1e3ea1e7440e050d7fa24584f1a/glue/src/ffi.rs#L800-L801) on `ANativeActivity` in [tomaka/android-rs-glue](https://github.com/tomaka/android-rs-glue) would work? It seems like they're attached to the Activity struct, so not sure how we'd get to them...
Zilch. Hence the "help wanted" label. I have no idea how to do this. 😞
Thanks for the resources! I'll look into this when I have time. Need to get my hands on an Android device to test :) (Though I guess the simulator could...
You can use [`tempdir`](https://github.com/rust-lang-nursery/tempdir) or [`std::env::temp_dir`](https://doc.rust-lang.org/std/env/fn.temp_dir.html) for this.
Actually I guess I can see the use of auto-prefixing/suffixing the temp path with your app's name/info.
Ah, I hadn't even thought of this use case! Great point. I'll fix this soon, or feel free to open a PR if you like - it should be a...
Wait, I remember why I did this now. You can't create a thread-safe, read-only `const`/`static` instance with `String`, but you can with `&'static str`. I really didn't want to require...