Qt Forum

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

    Unsolved QML camera position not working after HOME button on Android

    QML and Qt Quick
    1
    1
    79
    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.
    • J
      JamieSchultz last edited by

      background ..
      using Qt Creator 4.12.4
      building a Qt 15.5.0 Android app targeting arm64-v8a (or armeabi-v7a)

      I have encountered something I believe may be a bug.

      Using the 'declarative-camera' example as a guide, I am working on a project that uses the camera to capture video.

      Toggling from the front to back cameras works fine when you launch the 'Android' app .
      However, if you press the HOME key.. then resume the app (after touching the app to start it again) .. the toggle front to back action will not flip the camera.

      If you close the app, then restart the app, the toggle works fine.

      I have reproduced this behavior using the 'declarative-camera' example provided (example titled "QML Camera Example").

      Has anyone also encountered this anomaly?

      1 Reply Last reply Reply Quote 0
      • First post
        Last post