Android apk on google play can't catch udoo Camera

Discussion in 'Android' started by gozoo1298, May 13, 2014.

  1. gozoo1298

    gozoo1298 New Member

    Joined:
    May 13, 2014
    Messages:
    1
    Likes Received:
    0
    hello everyone
    Let me just ask one question, if I may.
    When I use android ,I find my android apk(just like use surfaceView to preView camera) can't catch UDOO's camera.
    Could anyone tell me how to Solve the problem.
    Thank you for your reading.
     
  2. emiliopaolini

    emiliopaolini New Member

    Joined:
    Jun 27, 2014
    Messages:
    11
    Likes Received:
    0
    try this code
    public void onSurfaceTextureAvailable1(SurfaceTexture surfaceTexture)
    {
    info = new Camera.CameraInfo();
    int i=0;
    mCamera = Camera.open(i);

    }
    You need to declare this variables
    private Camera mCamera;
    private Camera.CameraInfo info;

    and import this
    import android.hardware.Camera;
     
  3. misterdj

    misterdj New Member

    Joined:
    Oct 9, 2014
    Messages:
    9
    Likes Received:
    0
    yo tengo el mismo problema no se habre la camara utilizando el surface y no se cual sera el problema.... gracias
     
  4. delba

    delba Administrator Staff Member

    Joined:
    May 8, 2013
    Messages:
    1,064
    Likes Received:
    9
    misterdj please answer in english so the other users can understand you! Cheers
     

Share This Page