Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. issue with WebView in android
Qt 6.12 LTS is out! See what's new in the release blog

issue with WebView in android

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
4 Posts 2 Posters 838 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.
  • C Offline
    C Offline
    Cyrille de Brebisson
    wrote on last edited by
    #1

    Hello,

    I use WebView to display a html help which is build in my ressources.

    It works well on windows and mac, however, on Android, I get the following:
    0_1544091635881_2022e0d1-86f4-4e84-9bdb-a2cf6251a378-image.png

    Any clue why?

    The files are part of the ressources as I was unable to package them as external files, so I was told (in another thread) to place them as resources.
    I have tried copying the files outside of the app (using a standardPath copy to tempDirectory, but this failed on Android).

    Cyrille

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

      Hi,

      IIRC, on Androïd, check that the folder exist and create it if needed. Then you should be able to copy your files over there.

      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
      • C Offline
        C Offline
        Cyrille de Brebisson
        wrote on last edited by
        #3

        Hello,

        The Resource files do definitely exist...
        On windows, the web page does load, but not on Android...

        Cyrille

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

          I meant the target folder.

          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
          • Unsolved