1. Download our Official Android App: Forums for Android!

Apps Trouble with camera application

Discussion in 'Android Development' started by sehudson, Apr 7, 2011.

  1. sehudson

    sehudson Newbie
    Thread Starter
    Rank:
    None
    Points:
    15
    Posts:
    17
    Joined:
    Feb 2, 2011

    Feb 2, 2011
    17
    0
    15
    I am running this example program

    Using Camera API - Marakana

    It is only a CameraDemo Activity and a Preview class, it runs fine to strart, but when I move around to take the picture, the app freezes and says Force close. Any idea what may be wrong?
     

    Advertisement

  2. pietjuhhh1990

    pietjuhhh1990 Well-Known Member
    Rank:
    None
    Points:
    38
    Posts:
    235
    Joined:
    Feb 21, 2011

    Feb 21, 2011
    235
    22
    38
    App/web development
    Netherlands

    I know that demo in the onclose it does'nt calle the mCamera.release();
    And it loops the onPreviewFrame()

    This demo is a lot better
    CameraPreview.java | Android Developers
     

Share This Page

Loading...