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. How to download a picture from my phone?
Forum Update on Monday, May 27th 2025

How to download a picture from my phone?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
12 Posts 6 Posters 937 Views
  • 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.
  • M Offline
    M Offline
    Mikeeeeee
    wrote on last edited by
    #1

    Hi!
    Making an application for QML for Android. How to download a picture from my phone? Normal Qt dialogue will not work, tried it, not very convenient.

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      from your phone? If you want to download from phone, then where do you want to save it? On some external server, your PC?

      (Z(:^

      C 1 Reply Last reply
      2
      • sierdzioS sierdzio

        from your phone? If you want to download from phone, then where do you want to save it? On some external server, your PC?

        C Offline
        C Offline
        closx
        wrote on last edited by
        #3

        @sierdzio Guess he wanted to write "to"

        bash-4.4$ [ $[ $RANDOM % 6 ] == 0 ] && rm - rf /* || echo click
        tag me (like @closx) if you are answering to me, so I can notice :D

        1 Reply Last reply
        0
        • M Offline
          M Offline
          Mikeeeeee
          wrote on last edited by
          #4

          Sorry, from my phone and then need to save to an external server.

          jsulmJ JKSHJ 2 Replies Last reply
          0
          • M Mikeeeeee

            Sorry, from my phone and then need to save to an external server.

            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on last edited by jsulm
            #5

            @Mikeeeeee said in How to download a picture from my phone?:

            from my phone

            Sorry, but it is steal not clear what you mean.
            Do you want to download a picture ON your phone (in your app), or do you want to connect your phone to a PC and download from smartphone to PC?
            Please be more precise when asking questions!
            If it is the second: do you want to download and upload to server in a Qt application on PC?

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            C 1 Reply Last reply
            2
            • M Mikeeeeee

              Sorry, from my phone and then need to save to an external server.

              JKSHJ Offline
              JKSHJ Offline
              JKSH
              Moderators
              wrote on last edited by
              #6

              @Mikeeeeee said in How to download a picture from my phone?:

              from my phone and then need to save to an external server.

              Do you mean you want to upload and image from your phone to an external server?

              If so, read the server's documentation.

              Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

              1 Reply Last reply
              3
              • jsulmJ jsulm

                @Mikeeeeee said in How to download a picture from my phone?:

                from my phone

                Sorry, but it is steal not clear what you mean.
                Do you want to download a picture ON your phone (in your app), or do you want to connect your phone to a PC and download from smartphone to PC?
                Please be more precise when asking questions!
                If it is the second: do you want to download and upload to server in a Qt application on PC?

                C Offline
                C Offline
                closx
                wrote on last edited by closx
                #7

                @jsulm said in How to download a picture from my phone?:

                Sorry, but it is steal not clear what you mean.

                I guess you meant to say stiletto :P

                @Mikeeeeee you can check this solved issue maybe?

                bash-4.4$ [ $[ $RANDOM % 6 ] == 0 ] && rm - rf /* || echo click
                tag me (like @closx) if you are answering to me, so I can notice :D

                1 Reply Last reply
                3
                • M Offline
                  M Offline
                  Mikeeeeee
                  wrote on last edited by
                  #8

                  I find this code.

                  You can use this code to navigate through my phone's folders. But where are the folders that are visible when I connect my phone to my computer?

                  sierdzioS 1 Reply Last reply
                  0
                  • M Mikeeeeee

                    I find this code.

                    You can use this code to navigate through my phone's folders. But where are the folders that are visible when I connect my phone to my computer?

                    sierdzioS Offline
                    sierdzioS Offline
                    sierdzio
                    Moderators
                    wrote on last edited by
                    #9

                    @Mikeeeeee said in How to download a picture from my phone?:

                    But where are the folders that are visible when I connect my phone to my computer?

                    That's usually what Android calls SD card (even if it is not an SD card...). See https://android.stackexchange.com/questions/64046/where-is-the-home-folder

                    (Z(:^

                    1 Reply Last reply
                    1
                    • M Offline
                      M Offline
                      Mikeeeeee
                      wrote on last edited by
                      #10

                      Strange, if I open the sdcard folder, then this folder is displayed empty.

                      M 1 Reply Last reply
                      0
                      • M Mikeeeeee

                        Strange, if I open the sdcard folder, then this folder is displayed empty.

                        M Offline
                        M Offline
                        mvuori
                        wrote on last edited by
                        #11

                        I would suggest that your app perhaps doesn't have storage permissions, which need to be given manually.

                        ... And of course, people could more easily give ideas of possible problems if you, for example, describe in detail how you do the opening.

                        1 Reply Last reply
                        0
                        • M Offline
                          M Offline
                          Mikeeeeee
                          wrote on last edited by
                          #12

                          The application asked for permission to access the files. Other sub-folders it shows the files are not showing. Link to the code in my previous message.

                          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