Android MotoTorch LED’s Source Code Has Gone Public

4 Comments

I’ve been asked numerous times about putting up the code for MotoTorch LED.  That day has now come.

http://mototorchled.codeplex.com/

Tags:

4 Responses to “MotoTorch LED’s Source Code Has Gone Public”

  1. 7walker Says:

    Just great! I will absolutely take a look at it.

    Thanks!

  2. Flexaddicted Says:

    thanks for that , I want contact you but i cannot find Contact page , can you please Contact me via my email ? I want talk to you about our Project

  3. Kent Borg Says:

    Problem Turning On

    You need to maintain your state information in a more fail-safe way.

    Here is what I did:

    – Install on Nexus One 2.2 phone.
    – Play with it, like it, start to depend on it.
    – Turn on LED one day, wonder about wasting power on the display, to press the phone’s “power” button. The LED turned off (oh, well).
    – Try to turn LED back on and you say it is already on. (Error in your state information!)
    – Try rebooting the phone, still obsolete state information is preserved, can’t turn on LED.
    – Use the OS to erase your state information (all your data) and it works again.

    If you can’t read the LED state from the phone, maybe give us a toggle button or a pair of buttons. In any case, I like the app, but you should not be so stubborn about thinking you know the LED state.

    Thanks,

    -kb

  4. Ryan Alford Says:

    @Flexaddicted

    You can email me at ryanalford843 at gmail dot com.

    @Kent Borg

    Yes, I do need to fix that issue. This was something that was added in the in Android 2.2 that seems to kill all resources when the screen turns off. I’ve seen it happen with the GPS and the camera when I had the flash on from the camera app. I need to start handling the screen turning off so I can properly turn off the LEDs then turn them back on when the screen is turned back on.

Leave a Reply