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
QtWS25 Last Chance

Access external storage in QtWebView

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
6 Posts 2 Posters 593 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.
  • RaadR Offline
    RaadR Offline
    Raad
    wrote on 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

    JonBJ 1 Reply Last reply
    0
    • RaadR Raad

      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

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on 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.

      RaadR 1 Reply Last reply
      1
      • JonBJ JonB

        @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.

        RaadR Offline
        RaadR Offline
        Raad
        wrote on 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?

        JonBJ 1 Reply Last reply
        0
        • RaadR Raad

          @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?

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote on last edited by
          #4

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

          RaadR 1 Reply Last reply
          1
          • JonBJ JonB

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

            RaadR Offline
            RaadR Offline
            Raad
            wrote on 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 :)

            JonBJ 1 Reply Last reply
            0
            • RaadR Raad

              @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 :)

              JonBJ Offline
              JonBJ Offline
              JonB
              wrote on 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

              • Login

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