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. Problem with Qml Camera captureToLocation

Problem with Qml Camera captureToLocation

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 2 Posters 1.4k 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.
  • mrdebugM Offline
    mrdebugM Offline
    mrdebug
    wrote on last edited by
    #1

    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
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved