IPhone 4 LED flash app?

Discussion in 'iOS Apps' started by sfditty, Jun 25, 2010.

  1. sfditty macrumors regular

    Joined:
    Nov 21, 2008
    #1
    Has one come out yet? I didn't see any in the app store. The flash would work quite well as a light actually. Currently you would have to go to the canera app, flick to movie mode, click the flash icon, then click the on switch. An app the gets it down to one click (or no clicks) would be awesome.
     
  2. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #2
    To the best of my knowledge the flash cannot be turned on/off using any public method in the SDK APIs so this app is impossible.
     
  3. sfditty thread starter macrumors regular

    Joined:
    Nov 21, 2008
    #3
    I'm not an iPhone developer, but I assumed it would be included in the camera API(s). What a wasted opportunity if you're correct.
     
  4. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #4
    The camera API is quite limited. You can change the flash mode that the camera starts up in but turning the flash mode to on does not turn the LEDs on (try it in the camera app). So you could turn flash on and then start (programatically) taking pictures as fast as you can but this would just result in an annoying, relatively slow, strobe.
     
  5. Julien macrumors G3

    Julien

    Joined:
    Jun 30, 2007
    Location:
    Atlanta
    #5
    I would love to see an App like iGlasses be able to use the LED.
     
  6. madskillz18 macrumors newbie

    Joined:
    Jun 12, 2010
    #6
    You don't need an app. Just go into camera, switch to record mode, put the led light on and it stays on.
     
  7. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #7
    You are correct: being in video mode and turning on the "flash" does turn on the LED. With the annoying side effect of pausing the iPod app!
     
  8. jrcsh6 macrumors 6502

    jrcsh6

    Joined:
    Jul 1, 2008
    #8
    i used it last night when i came up to bed..however one i was in the bedroom it was so bright i work up my wife...perhaps a brightness setting?! you don't wanna wake up your wife in the middle of the night...
     
  9. doink123 macrumors member

    Joined:
    Feb 10, 2010
    #9
    I have submitted a "Flashlight with LED support" app and probably many others have done the same, but Apple is holding them for "additional review". I guess the apps will be released next week.

    P.S. You can check my other app "Mirror with Front Camera support" It's currently free for a limited time.
    http://itunes.apple.com/us/app/mirror-front-camera-support/id377490929?mt=8
     
  10. dagger55 macrumors regular

    dagger55

    Joined:
    Jun 23, 2007
    Location:
    Austin, TX
    #10
    Wirelessly posted (IPhone 3G: Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_0 like Mac OS X; en-us) AppleWebKit/532.9 (KHTML, like Gecko) Version/4.0.5 Mobile/8A293 Safari/6531.22.7)

    I just submitted an app that uses the LED as well. I didn't use any private api's to make it work. I'll update this post when it becomes available.
     
  11. dagger55 macrumors regular

    dagger55

    Joined:
    Jun 23, 2007
    Location:
    Austin, TX
    #11
    I have setup a googlegroup to get notified when Apple approves the app. I'll be sending out an email as soon as Apple approves it!

    LED iLight google group
     
  12. tempusfugit macrumors 65816

    Joined:
    May 21, 2009
    Location:
    Chicago
  13. dagger55 macrumors regular

    dagger55

    Joined:
    Jun 23, 2007
    Location:
    Austin, TX
    #13
    Wirelessly posted (IPhone 3G: Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_0 like Mac OS X; en-us) AppleWebKit/532.9 (KHTML, like Gecko) Version/4.0.5 Mobile/8A293 Safari/6531.22.7)

    Probably gonna go 99 cents. Planning on giving away some promo codes here at macrumors though.

    I can promise it's worth 99 cents compared to some of those other 'flashlight' apps that just show color screens :)

    EDIT:

    Here is a link to a video of the app in action:

    http://www.youtube.com/watch?v=DauJ1LpqrNg
     
  14. mire3212 macrumors newbie

    Joined:
    May 28, 2010
    Location:
    Austin, TX
    #14
    Source Code

    Would you be willing to share which API's you used (or even better would be sending a source code snippet of the actual flash light activation) I am under an NDA agreement with Apple and can not post Apps to the App store as it is, so it would be for personal use only. Let me know.

    Andrew
    mire3212@mac.com
     
  15. dagger55 macrumors regular

    dagger55

    Joined:
    Jun 23, 2007
    Location:
    Austin, TX
    #15
    Hey Andrew,

    Let me see what Apple says about my app. I wouldn't mind sharing it after I know it gets approved.
     
  16. kwyn macrumors regular

    Joined:
    Jan 9, 2009
    #16
    Sorry for the silly question, but how long is the life of the LED light? 10 hrs, 30, months, days? Sorry I know very little about these things.

    With moderate use would the LED last for 2-3 years?
     
  17. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #17
    It's not something I'd worry about. This article states that most LEDs have a MTBF of, at the very least, 100,000 hours. Some are > 1000000. Sure some will fail quicker than that but they will be in the minority.
     
  18. jon.tistudios macrumors newbie

    Joined:
    Jun 20, 2009
    #18
  19. martyu macrumors newbie

    Joined:
    Jul 1, 2010
    #19
    answer yet?

    Can someone post an answer to this yet? or even a push in the right direction?
     
  20. martyu macrumors newbie

    Joined:
    Jul 1, 2010
    #20
    And

    is there a way to see if the flash is working with the simulator? or does it need to be tested on an actual device?
     
  21. dagger55 macrumors regular

    dagger55

    Joined:
    Jun 23, 2007
    Location:
    Austin, TX
    #21

    My app finally just moved to In Review. We'll see if Apple lets me slip through.

    I already have an update ready to submit to Apple as soon as the first one gets approved... Looking forward to people getting their hands on it.
     
  22. SFC Archer macrumors 68000

    SFC Archer

    Joined:
    Nov 9, 2007
    Location:
    Troy, MT
    #22
    I am currently beta testing a LED Flashlight App for an un-named developer and it does work just fine. However, I have found multiple bugs and reported them to him and he does not respond to any of my emails. Sadly, I know that this will work but if he does not respond and fix these major bugs...it will go nowhere.

    If there are any other developers needing beta testers for their Apps...I am available and use the flashlight apps every night in a normal environment with backgrounding. Please PM me and I will send my UDID to those that need an experienced beta tester.
     
  23. tgibeau macrumors newbie

    Joined:
    Jul 2, 2010
    #23
    I might have a solution for you....

    I just submitted an app to the App Store a couple days ago that might fill that gap you are looking for :D

    It is called iLED Light, here is a video that I put together!

    http://www.youtube.com/watch?v=H9zaHL2ImxM

    The current version submitted has a simple ON/OFF button with a option to press to turn the LED light on. I figured this could come in handy when you want to just hold your finger down to turn the light on. I also gave the option to turn the camera view ON/OFF and decided to utilize iOS 4 Fast App Switching to keep your setting remembered and for the application to load up fast!

    I also show in the video above a feature that I will be releasing in the next version, STROBE LIGHT :D I figure it would be pretty cool to have as an extra feature :p

    Let me know what you think! I also don't mean to take over your thread either, I will be posting as well!

    Thanks,

    Tristan
     
  24. mire3212 macrumors newbie

    Joined:
    May 28, 2010
    Location:
    Austin, TX
    #24
    Code

    I'll take you up on that offer when you feel it's a good time. Unfortunately I can't seem to send a PM at this time, so if you wanna shoot me an email, it should hopefully work. Thanks!

    Andrew :apple: :cool:
     
  25. SFC Archer macrumors 68000

    SFC Archer

    Joined:
    Nov 9, 2007
    Location:
    Troy, MT
    #25
    Backgrounding Problem

    I have now beta tested two flashlight apps and there is one major problem with these apps that is not the developers fault.

    Each of these apps are tied to the camera/camcorder app and the activation of the LED. If you are playing your iPod or any Pandora related app and activate the camera...the music continues to play. The minute that you switch it over to the camcorder, the music app shuts down. The same thing happens with all the flashlight apps I have beta tested so far. If I am listening to music, podcast or audio book and turn on one of the flashlight apps...the music app is shut down. The devs have sent a bug report into apple regarding this problem with the video camera so hopefully there is a fix which will in turn fix the flashlight/iPod issue that will generate many complaints if these apps are approved.

    I post this so that those that are waiting for a LED flashlight app know and understand that this bug is not a developer bug, but an Apple one and should not be used to base your ratings decision in iTunes.
     

Share This Page