Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Writing to external storage on Android
Forum Updated to NodeBB v4.3 + New Features

Writing to external storage on Android

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 1.6k Views 1 Watching
  • 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 Offline
    F Offline
    freeheeler
    wrote on last edited by
    #1

    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
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved