⚠️ Forum Maintenance: Feb 6th, 8am - 14pm (UTC+2)

Problem with Qml Camera captureToLocation

  • I need to store the captured image in a particular folder of my Android mobile.
    To have it I run
    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?

  • Lifetime Qt Champion


    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

Log in to reply