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. Default path for settings.xml file location in android doesn't work in Android version 6(Marshmallow)
Qt 6.11 is out! See what's new in the release blog

Default path for settings.xml file location in android doesn't work in Android version 6(Marshmallow)

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
4 Posts 2 Posters 1.2k 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.
  • Sumeet PatelS Offline
    Sumeet PatelS Offline
    Sumeet Patel
    wrote on last edited by
    #1

    In my recent project, I am storing my settings.xml file to the default download path in android mobile. What I found is that it fetches all the data from that file and displays in my application perfectly till android version 5(i.e; till Lollipop). When I try the same thing in Android 6(i.e; Marshmallow), It gives me error saying "Device not open". I don't understand why the same thing is not working in Marshmallow?

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

      Hi and welcome to devnet,

      With Marshmallow the permissions have changed and with it access to the SD card. You may have to currently write some native code to get these permissions.

      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
      • Sumeet PatelS Offline
        Sumeet PatelS Offline
        Sumeet Patel
        wrote on last edited by
        #3

        Is there a way that I can code or its on QT guys to provide new feature?

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

          There's already a bug report on the subject so you can vote for it. The description of the bugs contains a manual way to make your application work.

          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