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. Access external storage in QtWebView
Forum Update on Monday, May 27th 2025

Access external storage in QtWebView

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
6 Posts 2 Posters 606 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.
  • R Offline
    R Offline
    Raad
    wrote on 27 Aug 2020, 08:50 last edited by Raad
    #1

    I am using QtWebView in my application. on iOS with a button click inside the webview (camera icon) I can successfully access camera and the photo library of phone for changing user's profile picture but on Android same code fails. any idea what is causing this and how to solve it? I am using Qt 5.15.0.
    (I have included all required permissions such as <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/> , etc in my manifest file.)

    This is a screenshot from iOS:

    ios.png

    J 1 Reply Last reply 27 Aug 2020, 10:01
    0
    • R Raad
      27 Aug 2020, 08:50

      I am using QtWebView in my application. on iOS with a button click inside the webview (camera icon) I can successfully access camera and the photo library of phone for changing user's profile picture but on Android same code fails. any idea what is causing this and how to solve it? I am using Qt 5.15.0.
      (I have included all required permissions such as <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/> , etc in my manifest file.)

      This is a screenshot from iOS:

      ios.png

      J Offline
      J Offline
      JonB
      wrote on 27 Aug 2020, 10:01 last edited by
      #2

      @Raad
      If you are still using QtWebView rather than QtWebEngine you may need (IIRC) @Konstantin-Tokarev to see this message and answer. It might be relevant to state what version of Qt you are using.

      R 1 Reply Last reply 27 Aug 2020, 10:10
      1
      • J JonB
        27 Aug 2020, 10:01

        @Raad
        If you are still using QtWebView rather than QtWebEngine you may need (IIRC) @Konstantin-Tokarev to see this message and answer. It might be relevant to state what version of Qt you are using.

        R Offline
        R Offline
        Raad
        wrote on 27 Aug 2020, 10:10 last edited by
        #3

        @JonB Indeed I am using QtWebView. QtWebEngine Doesn't support mobile platforms. Would you kindly let me know how can I contact him? mentioning is enough?

        J 1 Reply Last reply 27 Aug 2020, 12:18
        0
        • R Raad
          27 Aug 2020, 10:10

          @JonB Indeed I am using QtWebView. QtWebEngine Doesn't support mobile platforms. Would you kindly let me know how can I contact him? mentioning is enough?

          J Offline
          J Offline
          JonB
          wrote on 27 Aug 2020, 12:18 last edited by
          #4

          @Raad
          OK, I did not know that. We cannot "contact" him, my writing @Konstantin-Tokarev may attract his attention.

          R 1 Reply Last reply 28 Aug 2020, 01:07
          1
          • J JonB
            27 Aug 2020, 12:18

            @Raad
            OK, I did not know that. We cannot "contact" him, my writing @Konstantin-Tokarev may attract his attention.

            R Offline
            R Offline
            Raad
            wrote on 28 Aug 2020, 01:07 last edited by
            #5

            @JonB said in Access external storage in QtWebView:

            @Konstantin-Tokarev

            Thank you so much. I hope that @Konstantin-Tokarev can help me with this issue :)

            J 1 Reply Last reply 28 Aug 2020, 07:17
            0
            • R Raad
              28 Aug 2020, 01:07

              @JonB said in Access external storage in QtWebView:

              @Konstantin-Tokarev

              Thank you so much. I hope that @Konstantin-Tokarev can help me with this issue :)

              J Offline
              J Offline
              JonB
              wrote on 28 Aug 2020, 07:17 last edited by JonB
              #6

              @Raad
              Just so you know, it's not that he will see this but ignore it. He only seems to be around sometimes, I don't know how often.

              1 Reply Last reply
              0

              1/6

              27 Aug 2020, 08:50

              • Login

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