Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Writing to external storage on Android

    Mobile and Embedded
    1
    1
    1439
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      freeheeler last edited by

      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!

      1 Reply Last reply Reply Quote 0
      • First post
        Last post