Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Problem with Qml Camera captureToLocation

    Mobile and Embedded
    2
    2
    1236
    Loading More Posts
    • 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.
    • mrdebug
      mrdebug last edited by

      I need to store the captured image in a particular folder of my Android mobile.
      To have it I run
      captureToLocation("file://sdcard...../MyFolder/a.jpg")
      but I obtain an error.
      The error says "The path **image://DCIM/**file://sdcard...../MyFolder/a.jpg does not exists"
      Why captureToLocation puts a prefix? Is possible to pass an absolute file path?
      Or is there another way to store the captured image?

      Need programmers to hire?
      www.labcsp.com
      www.denisgottardello.it
      GMT+1
      Skype: mrdebug

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi,

        I might be wrong but I think in the case of Android, the location should be the filename. When you capture an image on mobile device like a phone all images go to the same standard location

        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 Reply Quote 0
        • First post
          Last post