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

Apps Detect if camera is launched

Discussion in 'Android Development' started by jjsmith84, Jan 29, 2013.

  1. jjsmith84

    jjsmith84 Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    Jan 29, 2013

    Jan 29, 2013
    1
    0
    5
    I'm creating an app that launches the video camera using the following code...

    [HIGH] Intent intent = new Intent("android.media.action.VIDEO_CAMERA");
    startActivityForResult(intent, 1);[/HIGH]

    I only want to launch this if the video camera is not open. I've run into the issue of having multiple video camera screens open.

    Thanks!
     

    Advertisement

  2. Digital Controller

    Digital Controller The Real Bass Creator
    Rank:
    None
    Points:
    953
    Posts:
    12,647
    Joined:
    Sep 5, 2012

    Sep 5, 2012
    12,647
    3,553
    953
    Male
    Civil Engineer
    Cincinnati, Ohio
    Hey jjsmith,

    I have moved your thread into the Application Development forum since it seems you are trying to create an application here.

    Hope this helps :)
     

Share This Page

Loading...