Writing to external storage on Android
-
Hi,
I'm trying to do some simple file reading/writing in my application. It works fine for local storage using QFile, but how can I get the external storage directory (without hardcoding it to /sdcard, since it isn't the same for all devices)?
I've found a bunch of similar threads related to writing native C++ apps (with the NDK, not Qt) and it seems quite straightforward to use the native app glue library, but I can't figure out how to do this with Qt -- any ideas?
Thanks!