Menu

How can I shoot with the second camera on the back of my phone? I can only use one today with this app.

Q&A
Anonymous
2019-06-06
2020-02-13
  • Anonymous

    Anonymous - 2019-06-06
     
  • Anonymous

    Anonymous - 2019-06-22

    same question

     
  • Mark

    Mark - 2019-06-22

    This is a device limitation - Open Camera supports all camera made available to third party camera applications (via the switch camera icon), but some devices only allow the stock camera to use multiple cameras.

     
    • Anonymous

      Anonymous - 2019-07-10

      Mark, but there is the "trick": on some devices additional sensors can be accessed with a bit of force ;) That being discovered by me initially on Zenfone 4, but lately several users gave a feedback, that a some other devices are affected by the same trick. Here is the tested code below that build available camera list in no time. But you can limit 50 id tries to something more real like 15 or what is the limit nowadays ;D Code was being tested on a bunch of devices and didn't cause any problem so far.

      int sensorCount = 0;
      while (true) {
      CameraCharacteristics cameraCharacteristics = null;
      try {
      String nextId = (sensorCount < systemCameraIdList.length ? systemCameraIdList[sensorCount] : String.valueOf(sensorCount));
      cameraCharacteristics = this.mCameraManager.getCameraCharacteristics(nextId);
      if (cameraCharacteristics != null)
      cameraIdList.add(nextId);
      } catch (IllegalArgumentException e) {
      //cameraCharacteristics = null;
      }
      //if (cameraCharacteristics == null) break;
      sensorCount++;
      if (sensorCount >= 50) break;
      }
      P.S. I believe it would be better to make another one way to switch between sensors. They should be groupped by facing and user should be able to switch between the groups and between the sensord inside the group separately. Cheers. Thanks for all your efforts, you definitely make this world better ;)

       
      • Mark

        Mark - 2019-07-28

        Thanks for the info although I'm wary to resort to device specific hacks. Plus with CameraX on the way, that might not work with that.

        It's on my todo to improve how multi front or rear cameras are managed.

         
        • crizco-ok

          crizco-ok - 2019-07-29

          Hi Mark

          Thanks for considering the request - of cause it would be nice if the manufacturer told you too.
          Looking forward to CameraX ....

           
    • crizco-ok

      crizco-ok - 2019-07-28

      HI Mark

      this feature would be appreciated, my phone has 4 (yes 4) cameras on the rear (Huawei P30 pro) and it would be good to see which is in use.
      The main one is to tell when the optical zoom is being used.

       
      • Mark

        Mark - 2019-07-28

        See my comment above, I will try to improve this. At the least, I'll start with display some info even if it's just an ID to start with, I agree it can be confusing which camera is currently open.

         
  • Anonymous

    Anonymous - 2020-02-13

    camerax is sucks, it would override AE/AWB/AF, we can no longer access those manual exposure thing

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.