How to control the LED lighter

by Freetec Shen » Tue, 06 Oct 2009 01:18:25 GMT

Sponsored Links
 Hi, Does anybody know how to control the LED light using the SDK 1.5
R1 ? Is there any available API or function to control the color,
flash rate of the LED lighter near the earphone, as well as the
lighter at the track ball? Or how to implement this?

Thanks in advance!



Other Threads

1. HTC Sense not refreshing activity class name after app update

I vaguely remember this from about 12-18 months ago and was surprised
to see it still hasn't been fixed.

The problem - app update changes the fully qualified class name of the
main/launcher activity. Shortcuts (e.g. on home screen or in main app
drawer) still point to old class name and so when user clicks on it
they get some kind of message saying app could not be found.

User workaround - reboot phone

Dev workaround - include this in your manifest:

<activity android:name="com.mycompany.myapp.MyOldActivity">
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.DEFAULT" />

and then add that activity to your code, simply subclassing the new
activity (the one which replaced MyOldActivity).

Hope this helps (and sorry if its been posted by someone else before -
couldn't find it). I got a bunch of users contacting me about this
(mainly HTC Desire users) so its worth getting right.


2. OOT : Tradisi Piala Dunia

*Tradisi piala dunia*
Brazil juara 1958, 1962 + 2002 = 3964 dan 1970 + 1994 = *3964*
Jerman juara 1954, 1974 + 1990 = *3964
*Argentina juara 1978 + 1986 = *3964*
rumus juara tuk 2010, *3964* - 2010 = *1954* = Jerman (copas dari Ivan

boleh percaya atau enggak... hehe


"Indonesian Android Community [id-android]" 

3. Gallery display issue

4. Garbage Collection Infinit Loop: clamp GC FOR MALLOC Grow heap loop

5. Is it normal that a real device fps is much different then emulator?

6. Moto Droid 2nd & New

7. Android developer in Brazil