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. can´t see JSON docs outside the app´s folder (Android)
Forum Updated to NodeBB v4.3 + New Features

can´t see JSON docs outside the app´s folder (Android)

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 2 Posters 640 Views 2 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.
  • Flaming MoeF Offline
    Flaming MoeF Offline
    Flaming Moe
    wrote on last edited by
    #1

    Hello there,

    i have an app on my smartphone where i store datas via JSON for save and load purpose.
    By default they´re saved in the app´s directory wich isn´t seeable when i browse the folders via a desktop PC. So i changed the app´s working dir via QDir::setCurrent("XXXX");
    But still i can´t see the documents. But i know they´re present. When i do

    • save something
    • close App
    • open App
      The last datas a reloaded
      and when i delete the folder and create a new one with same name and try to relaod the project there´s nothing to laod.
      So i know they must be there but they are hidden. They are still invisible when i set the corresponding folder property.
      Is there a way to change this or is it a hard part of the "sand box" principle?

    best regards!!
    Moe

    A lovely day for a ̶g̶̶u̶̶i̶̶n̶̶n̶̶e̶̶s̶ DUFF^^

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      You should try to use on the standard folder that you can get from QStandardPaths

      Hope it helps

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      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