Menu

#397 LENS_FACING intent extra support

1.0
closed
nobody
2018-05-09
2018-01-09
Anonymous
No

It would be great, if the app would support some android default intent extras such as:

  • android.intent.extras.LENS_FACING_FRONT
  • android.intent.extras.LENS_FACING_BACK or
  • android.intent.extra.USE_FRONT_CAMERA

so the intent user can switch directly to front or back camera.

Discussion

  • Anonymous

    Anonymous - 2018-02-07

    I've been looking for that, too!

     
  • Cefn Hoile

    Cefn Hoile - 2018-05-04

    Indeed I can confirm that Open Camera does not take any notice of this extra intent, but the Camera2 app respects this, using for example...

    adb shell am start -a android.media.action.VIDEO_CAPTURE --ei android.intent.extras.CAMERA_FACING 1
    

    So that could be a reference invocation to try and support. See https://stackoverflow.com/a/19668554/2257198

    I would like to track this as when Open Camera supports this, I can go back to using it. It was much better than any other camera app for my automated studio work, except for this lack of support.

     
    • Mark

      Mark - 2018-05-05

      Thanks - I was wondering how to test this (I wasn't sure which applications support sending these intents, but I can at least test via adb). This is on my todo.

       
  • Mark

    Mark - 2018-05-08
    • status: open --> closed
     
  • Mark

    Mark - 2018-05-08

    Implemented for next version 1.44.

     
  • Anonymous

    Anonymous - 2018-05-09

    That has blown my mind. Really justified the effort I spent trying to be sure the Camera app I was using was Open Source. Thanks Mark! You can see a preview of the multi-view video work that camera automation with Open Camera has enabled at https://vgkits.org/blog/2018/05/08/introductory-video-tutorial/ I just sent a tap to the 'front-camera' icon as a workaround for now.

     
    • Mark

      Mark - 2018-05-20

      Looks great!

       

Anonymous
Anonymous

Add attachments
Cancel





Auth0 Logo