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

Apps Turn on flash LED? (droid)

Discussion in 'Android Development' started by FiddlerMD, Nov 20, 2009.

  1. FiddlerMD

    FiddlerMD Newbie
    Thread Starter
    Rank:
    None
    Points:
    15
    Posts:
    10
    Joined:
    Nov 6, 2009

    Nov 6, 2009
    10
    0
    15
    I know there is finally 1 app in the store that is able to turn the flash on to use as a flashlight but I'm curious how to do it programatically. The furtherst I was able to get is to have a loop of Camera.autoFocus(), but aside from having the camera constantly in an autofocus squeal dance, the flash goes on and off instead of just staying on.
    any help would be appreciated.
     

    Advertisement

  2. Branndon

    Branndon Android Enthusiast
    Rank:
    None
    Points:
    43
    Posts:
    481
    Joined:
    Nov 10, 2009

    Nov 10, 2009
    481
    30
    43
    Website Developer
    Orange County, CA
    Read the multi page thread here in the moto droid forum. It mentions the command in there somewhere.
     
  3. FiddlerMD

    FiddlerMD Newbie
    Thread Starter
    Rank:
    None
    Points:
    15
    Posts:
    10
    Joined:
    Nov 6, 2009

    Nov 6, 2009
    10
    0
    15
    link?
     
  4. iflymyhelishigh

    Rank:
    None
    Points:
    5
    Posts:
    5
    Joined:
    Nov 22, 2009

    Nov 22, 2009
    5
    0
    5
    Yes, a link for this would be greatly appreciated. I'd rather not spend a dollar on a app I could develop myself.
     
  5. Branndon

    Branndon Android Enthusiast
    Rank:
    None
    Points:
    43
    Posts:
    481
    Joined:
    Nov 10, 2009

    Nov 10, 2009
    481
    30
    43
    Website Developer
    Orange County, CA
  6. FiddlerMD

    FiddlerMD Newbie
    Thread Starter
    Rank:
    None
    Points:
    15
    Posts:
    10
    Joined:
    Nov 6, 2009

    Nov 6, 2009
    10
    0
    15
  7. Branndon

    Branndon Android Enthusiast
    Rank:
    None
    Points:
    43
    Posts:
    481
    Joined:
    Nov 10, 2009

    Nov 10, 2009
    481
    30
    43
    Website Developer
    Orange County, CA
    You're welcome
     

Share This Page

Loading...