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 send captured photo from Camera QML to a server using XMLHttpRequest?
QtWS25 Last Chance

How to send captured photo from Camera QML to a server using XMLHttpRequest?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 2 Posters 518 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.
  • Gabriel SilveiraG Offline
    Gabriel SilveiraG Offline
    Gabriel Silveira
    wrote on last edited by
    #1

    When i a take a picture in my qt application, in a android device for example, the file is written in "camera.imageCapture.capturedImagePath". My issue is, how can i send this image file to the server using XMLHttpRequest? Does anyone can help me? Thanks!

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

      Hi and welcome to devnet,

      From the top of my head: you should rather use C++ with QNetworkAccessManager for the upload and QFile to access the image data.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      Gabriel SilveiraG 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi and welcome to devnet,

        From the top of my head: you should rather use C++ with QNetworkAccessManager for the upload and QFile to access the image data.

        Gabriel SilveiraG Offline
        Gabriel SilveiraG Offline
        Gabriel Silveira
        wrote on last edited by
        #3

        @SGaist I will try to use these 2 resources and post the results. Thanks for your help, SGaist! :D

        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