Menu

Xperia's dedicated camera button

Anonymous
2014-09-01
2014-09-10
  • Anonymous

    Anonymous - 2014-09-01

    Hi! Great camera application! I'm using it instead Google camera on OmniRom custom KitKat ROM on Sony Xperia T (lt30p) device. When I softly press camera button to focus, screen starts to flicker and flash light starts acting like strobe light. If I fully push button to take picture it freezes taken image but it doesnt save it.
    I use volume rocker buttons but it would be nice to make dedicated camera button work.
    I took video with screen recorder to ilustrate this issue: https://www.dropbox.com/s/w3q591l97jlz4s8/OpenCamera.mp4?dl=0

    Open Camera v1.18
    (c) 2013-2014 Mark Harman
    Released under the GPL v3 or later
    Package: net.sourceforge.opencamera
    Android API version: 19
    Device manufacturer: Sony
    Device model: Xperia T
    Device code-name: qcom
    Device variant: mint
    Standard max heap? (MB): 64
    Large max heap? (MB): 256
    Display size: 1196x720
    Current camera ID: 0
    Preview resolutions: 1280x720, 960x720, 864x480, 720x480, 640x480, 480x320, 320x240, 176x144
    Photo resolutions: 4128x3096, 3920x2940, 3920x2204, 2592x1944, 1920x1080, 640x480, 480x320, 320x240
    Video quality: 1, 5, 4, 3_r640x480, 3, 7, 0_r176x144
    Video resolutions: 1920x1080, 1280x720, 720x480, 640x480, 352x288, 320x240, 176x144
    Auto-stabilise?: Available
    Face detection?: Available
    Video stabilization?: Not available
    Flash modes: flash_auto, flash_on, flash_torch, flash_off, flash_red_eye
    Focus modes: focus_mode_auto, focus_mode_infinity, focus_mode_macro, focus_mode_manual, focus_mode_continuous_video
    Color effects: none, mono, negative, solarize, sepia, posterize
    Scene modes: auto, portrait, landscape, night, night-portrait, beach, snow, sports, party, barcode
    White balances: auto, incandescent, fluorescent, daylight, cloudy-daylight
    ISOs: None
    Parameters: antibanding=auto;antibanding-values=auto,50hz,60hz,off;auto-exposure-lock=false;auto-exposure-lock-supported=true;auto-whitebalance-lock=false;auto-whitebalance-lock-supported=true;effect=none;effect-values=none,mono,negative,solarize,sepia,posterize;exposure-compensation=-1;exposure-compensation-step=0.333333;flash-mode=auto;flash-mode-values=off,auto,on,red-eye,torch;focal-length=4.48;focus-areas=(0,0,0,0,0);focus-distances=Infinity,Infinity,Infinity;focus-mode=auto;focus-mode-values=auto,infinity,macro,continuous-picture,continuous-video;hdr-need-1x=false;horizontal-view-angle=54.5;jpeg-quality=90;jpeg-thumbnail-height=120;jpeg-thumbnail-quality=100;jpeg-thumbnail-size-values=160x120,0x0;jpeg-thumbnail-width=160;max-exposure-compensation=6;max-num-detected-faces-hw=5;max-num-detected-faces-sw=5;max-num-focus-areas=1;max-num-metering-areas=0;max-zoom=40;min-exposure-compensation=-6;picture-format=jpeg;picture-format-values=jpeg;picture-size=4128x3096;picture-size-values=4128x3096,3920x2940,3920x2204,2592x1944,1920x1080,640x480,480x320,320x240;preferred-preview-size-for-video=1280x720;preview-format=yuv420sp;preview-format-values=yuv420sp,yuv420p;preview-fps-range=1000,30000;preview-fps-range-values=(1000,15000),(1000,30000);preview-frame-rate=30;preview-frame-rate-values=15,30;preview-size=960x720;preview-size-values=1280x720,960x720,864x480,720x480,640x480,480x320,320x240,176x144;recording-hint=false;scene-mode=auto;scene-mode-values=auto,portrait,landscape,night,night-portrait,beach,snow,sports,party,barcode;smooth-zoom-supported=true;vertical-view-angle=41.8;video-frame-format=yuv420sp;video-size=1920x1080;video-size-values=1920x1080,1280x720,720x480,640x480,352x288,320x240,176x144;video-snapshot-supported=false;video-stabilization-supported=false;whitebalance=auto;whitebalance-values=auto,incandescent,fluorescent,daylight,cloudy-daylight;zoom=0;zoom-ratios=100,107,115,123,132,141,152,162,174,187,200,214,230,246,264,283,303,325,348,373,400,429,459,492,528,566,606,650,696,746,800,857,919,985,1056,1131,1213,1300,1393,1493,1600;zoom-supported=true

     
    • Mark

      Mark - 2014-09-10

      To clarify, do you mean when using a physical camera button on your device? If so, does it work fine when taking photos with the on-screen camera icon?

      I'm not sure why the difference, they are wired up in the code to do the same thing. Also I haven't added any support for a soft-press - possibly the button is actually doing additional behaviour, which is conflicting how Open Camera works.

       
      • Nidžo

        Nidžo - 2014-09-10

        To clarify, do you mean when using a physical camera button on your device? If so, does it work fine when taking photos with the on-screen camera icon?

        Yes, You are right. Physical camera button causes that issue. It is not big issue because on-screen icon works fine and also phyisical volume keys but it would be nice to make it work :)

         

Anonymous
Anonymous

Add attachments
Cancel