ma1co / OpenMemories-Framework

Build Android apps for your favorite Sony camera
MIT License
236 stars 35 forks source link

adjustAperture - How to set a value? #29

Open gree303 opened 5 years ago

gree303 commented 5 years ago

I'm looking for a solution to adjust the Aperture to a different value when triggering the PMCA-DEMO Camera App. In detail I'd like to build something like a exposure-bracketing up to 9 Images and each should get -/+ 2 EV Aperture adjusted: CameraEx.j Aperture Setting: .method public adjustAperture(I)V Line 106 - https://github.com/ma1co/OpenMemories-Framework/blob/f8df3504d8684433a331ee869e64f67cc8be9730/stubs/src/main/jasmin/com/sony/scalar/hardware/CameraEx.j

PMCA-DEMO APP
protected boolean onShutterKeyDown() { camera.getNormalCamera().takePicture(null, null, null); return true; } Line 67 https://github.com/ma1co/PMCADemo/blob/12f34e49d48a1d9496ea3c2792911867ea4c985b/app/src/main/java/com/github/ma1co/pmcademo/app/CameraActivity.java

Is it somehow possible to set a value for the Aperture? Does anyone know how? Thanks.

Bostwickenator commented 5 years ago

Check the better manual app. I believe it does this.

On Fri, Jul 12, 2019, 7:11 PM gree303 notifications@github.com wrote:

I'm looking for a solution to adjust the Aperture to a different value when triggering the PMCA-DEMO Camera App. In detail I'd like to build something like a exposure-bracketing up to 9 Images and each should get -/+ 2 EV Aperture adjusted: CameraEx.j Aperture Setting: .method public adjustAperture(I)V Line 106 - https://github.com/ma1co/OpenMemories-Framework/blob/f8df3504d8684433a331ee869e64f67cc8be9730/stubs/src/main/jasmin/com/sony/scalar/hardware/CameraEx.j

PMCA-DEMO APP protected boolean onShutterKeyDown() { camera.getNormalCamera().takePicture(null, null, null); return true; } Line 67 https://github.com/ma1co/PMCADemo/blob/12f34e49d48a1d9496ea3c2792911867ea4c985b/app/src/main/java/com/github/ma1co/pmcademo/app/CameraActivity.java

Is it somehow possible to set a value for the Aperture? Does anyone know how? Thanks.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ma1co/OpenMemories-Framework/issues/29?email_source=notifications&email_token=AAMOHDDPLWD3FPFMDCACYITP7EMRJA5CNFSM4ICTQDI2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G67VMDA, or mute the thread https://github.com/notifications/unsubscribe-auth/AAMOHDASDPM4ZRT4NUKU6VTP7EMRJANCNFSM4ICTQDIQ .