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


  • Lifetime Qt Champion

    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


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.