[Q] - Droid Eris Android Development

Where might I try poking around if I wanted to have the trackball, and the call and end buttons light up with the screen turning on?
Sent from my FroShedYo V10-ERIS using XDA App

on cm roms (like Froyoshedyo), i believe your question was how to make the buttons light up when your phone screen turns on. I dont know if there is a way to turn on the trackball light? probably a program in the market. as for the answer/end and soft keys, home screen->menu->settings.>cyanogenmod settings->user interface->automatic backlight->check use custom under light levels. then go to edit other levels. column on the right is buttons, 255 is on and 0 is off. set them all to 255 to have the front lights turn on whenever your phone screen is on. sorry I cant help with the trackball. also, please post questions in the q&a section in the future. thanks.

Thanks for the reply but my question is deeper than just the settings. I want to edit the system files which control these lights. I don't really like the softkey lights so I wont mess with them. If you've used kaos gingerbread you'll notice they don't light up. Just the answer and end keys do.
Im aware of covedesign from the market. I don't know if pulling it apart will show me where to look but I might try if no one else knows where to look.
Sent from my FroShedYo V10-ERIS using XDA App

mindnumbinglyfun said:
Thanks for the reply but my question is deeper than just the settings. I want to edit the system files which control these lights. I don't really like the softkey lights so I wont mess with them. If you've used kaos gingerbread you'll notice they don't light up. Just the answer and end keys do.
Im aware of covedesign from the market. I don't know if pulling it apart will show me where to look but I might try if no one else knows where to look.
Sent from my FroShedYo V10-ERIS using XDA App
Click to expand...
Click to collapse
ah. sorry didn't realize. LEDs Hack is another program on the market that I use to kill my LEDs when my eris is plugged in. the eris is not officially supported but the "sprint htc hero" (not sprint htc hero android 2.2) works for the eris leds. it has an option for trackball led, but it doesnt seem to work for the eris. it can turn various leds on, off, and change state based on different circumstances such as plugging in or time ranges. perhaps the developer would have some idea where to point you. http://www.danvelazco.com

mindnumbinglyfun said:
If you've used kaos gingerbread you'll notice they don't light up.
Click to expand...
Click to collapse
This could just be an unfixed bug ... KGB is still in the development stages, it's not an official release.

Related

App Request : Enable keypad backlight while screen is on

For any devs out there...
Would it or is it possible to develop an app that will keep the backlight on for the keypad ? i.e. On while the screen is on and go off when the screen goes off ?
In the dark its very annoying when using the Hero and having to fumble for the right key to press - Home, Back, Search etc.
i second that
well erm just press any key and the light will go on dude, you dont need an app for this
So you fumble and hit Home or even power off (to sleep) the screen when you only wanted to hit search or back.
Flicking the scroll wheel is the only way to light up the keys and not press the wrong one by mistake, but that tends to highlight a button, link etc... and sometimes if you hit the ball too hard, you select a screen element.
Still a pain and TBH not like any handset I used before. Backlight time out was always linked to screen time out.
You dont need to hit any key, just move the scroll wheel even slightly and lights come up. And it does need decent amount of pressure to press the scroll button, you wont accidentally press it.
er, yer, I know... but I don't want too
lets just say "even if it doesnt make sense to some people, WE want it!"
btw, there is one app "dark keys" that keeps the backlights of the keypads off all the time. this was made for the white G1. maybe it can simply be rewritten to make the reverse happen?
joemax said:
For any devs out there...
Would it or is it possible to develop an app that will keep the backlight on for the keypad ? i.e. On while the screen is on and go off when the screen goes off ?
In the dark its very annoying when using the Hero and having to fumble for the right key to press - Home, Back, Search etc.
Click to expand...
Click to collapse
+1
i'm beeing annoyed by the keys not being lit as well ...
Glad I'm not the only one
Yeah, I want it too. Thanks for bringing this up!
I think it's good idea, btw it looks cool at night. I want it too
Good idea. +1
So which dev is gong to earn a couple of $$, ££, €€ by writing this for each copy sold then ??
From what I can tell of the API docs (http://developer.android.com/reference/android/os/PowerManager.html, the SDK only allows for the keyboard backlight to be on in FULL_WAKE_LOCK state, meaning the screen will have to be full brightness.
So I don't think this request can be achieved by a pure SDK app.
How come it lights up at any screen brightness on the Hero ?
Surely its also a hardware call and not just an OS call ? These would be independent of Android and particular to each manufactures handset, else they would all be the same.
Not questioning you, but it would seem strange that its not addressable separately to the screen ???
joemax said:
How come it lights up at any screen brightness on the Hero ?
Surely its also a hardware call and not just an OS call ? These would be independent of Android and particular to each manufactures handset, else they would all be the same.
Not questioning you, but it would seem strange that its not addressable separately to the screen ???
Click to expand...
Click to collapse
I'm by no means an Android SDK expert, just posting what I found in a quick search round the docs. Happy to be proven wrong!
Lee
Of course - wasn't criticising at all
Might be able to dabble in the /sys/class/leds/ folder.
I'll take a look when I get in.
Not a dev though. Lol.
soulehmoo said:
Might be able to dabble in the /sys/class/leds/ folder.
I'll take a look when I get in.
Not a dev though. Lol.
Click to expand...
Click to collapse
Correct.
echoing a value to:
/sys/devices/platform/i2c-adapter/i2c-0/0-0066/leds/button-backlight/brightness
through adb shell turns on the backlight.
I think an SDK app could be created as a service with a broadcast receiver listening for the power state changing that just writes a positive value to the file above.
Loads of similar examples here: http://forum.xda-developers.com/showthread.php?t=565015
I'll take this on, just about got it working.
Wicked thx
You are stars (especially fullerlee)
Don't make it too expensive though

LEDs Hack supports Evo

for those that don't know - LEDs Hack is a free program that allows you to turn your leds on or off at will. this includes notification leds and the menu leds.
the downside is that to get it to work properly you need to have super use 2.0.3. DC has 2.1.1 installed.
this is great for reading in the dark or watching movies, no more light bleeding into the right side!
http://www.androlib.com/android.application.net-geekherd-softbuttonshack-wmjD.aspx
Might I suggest incredilight. It does the dame thing and has adjustable intensities and works with any and all root access(unrevoked or normal)
Sent from my PC36100 using XDA App
Led Desire is extremely impressive also
Edit: something out in left field.
Im not super knowledgeable on LED's but i would imagine its not a good idea to leave them on for an extended period of time...
Edit: ... again, useless post cause I can't read.
the op isnt talking about a flash light he's talking about disabling the light from the capacitive buttons at the bottom of the screen for when hes watching movies..etc
yes, it for the menu/home button lights. it's not a flashlight app.
incredilight is my prefered choice
toenail78 said:
incredilight is my prefered choice
Click to expand...
Click to collapse
LED's Hack is NOT a flashlight app.

X10 switch off the front LEDs

Got my X10 recently, nice phone
There is a niggle though: is it possible to switch off the front LEDs on the X10? Google Sky is fun and is nice when you switch on night mode, but as soon as you press a button (e.g. to search) the LEDs come on and bang goes your night vision...
What do you mean? You mean the notification led on the front? If it is, just search the market for Blink application.
Sent from my X10i using XDA App
Not the notification led; I'm talking about the two bright white less between the three buttons at the bottom of the phone
Sent from my X10i using XDA App
Yeah your right. The lights sometimes bother my eyes but i use my thumb to cover them up
Sent from my X10i using XDA App
is there a fix for this? the front lights are so annoying
well..you could flash some 2.2 ROM and install some theme for it as a result of which those led are disabled
The front button LEDs, oddly, are controlled by the framework-res.apk.
Don't know anything more helpful than that, just giving you a clue!
abo999 said:
Got my X10 recently, nice phone
There is a niggle though: is it possible to switch off the front LEDs on the X10? Google Sky is fun and is nice when you switch on night mode, but as soon as you press a button (e.g. to search) the LEDs come on and bang goes your night vision...
Click to expand...
Click to collapse
Wouldn't a fine tipped black sharpie marker do the trick?
My_Immortal said:
The front button LEDs, oddly, are controlled by the framework-res.apk.
Don't know anything more helpful than that, just giving you a clue!
Click to expand...
Click to collapse
It can also be disabled by modding build.prop
cheers,
L
laill said:
It can also be disabled by modding build.prop
cheers,
L
Click to expand...
Click to collapse
Any concrete idea ? i mean a clue
I've found a way to turn off the lights between the keys
I've just got my x10 and I love it... Apart from those leds between the keys that can be a pain. I couldn't find a way to switch them off
After finding this post http://forum.xda-developers.com/showpost.php?p=7003710 and this thread http://forum.xda-developers.com/showthread.php?t=711847 and some experimentation I found a way to turn off those bright lights between the keys:
1. install gscript lite from market and run it once, this should create a directory gscript on your sdcard
2. install text editor from market
3. create a text file and put these lines in it.
chmod 644 /sys/class/leds/lv5219lg:sled
echo 0 > /sys/class/leds/lv5219lg:sled/brightness
4. save the file as "buttonled.sh" in sdcard/gscript
5. long press on the home screen and select shortcut, gscript lite, menu, add script, load file, buttonled.sh, save, buttonled.
6. press the new icon on your screen.
The lights will now stay off until after a reboot
This might need root to run I'm not sure (I'm on the TEAM v2.0 2.3.3 ROM) I'd imagine it'll work on most if not all gingerbread roms and possibly froyo as well?
credit to Philosuffer and juanjitos as without their posts i wouldn't have been able to do this.
Hope this helps.
Cheers
Flash this.
http://db.tt/rdlUd1F1
Sent from my X10i using xda premium
is it possible to make those LEDs as indicator for sdcard access and internal memory access? it would be super nice if possible..smartphone = computer!
JackSharing said:
is it possible to make those LEDs as indicator for sdcard access and internal memory access? it would be super nice if possible..smartphone = computer!
Click to expand...
Click to collapse
You mean like how on a computer, the HDD light goes on when you browse the hard drive? I don't think that's possible.
Sent from my x10, rocking Wolf's 2.3.3 + DooMKernel, overclocked to 1.2 GHz...

[Q] ADD keyboard backlight

My light sensor is a bit screwy - the keyboard backlight and capacitive buttons don't know whether to be on or off. Is there a way to set it so that screen on = keyboard/capacitive buttons on?
Sent from my HTC Vision using XDA App
Same here! In dark or light, doesn't matter. Text, Google talk, friendstream... same problem.
This has come up a few times, and the programming in the stock ROM for how the light sensor works with this seems to be rubbish.
I'm sure that with a custom ROM this would be changeable, and maybe there are even apps that might help, but so far I don't know of anything specific on that. Anyone ?
This is really bothering. I hope an ota update will fix this soon. We should report this to htc support it seems...
-- sent from htc z using xda app
Bumped back up, since this is still bothering me. I've been through several Roms and it's the same on all of them.
Any ideas, people?
Try cm6 or cm7 (might as well get gingerbread with cm7).
You can manually set automatic backlight, keyboard, and capacitice button light values.
Sent from my T-Mobile G2 running Cyanogenmod.
ibemad1 said:
Try cm6 or cm7 (might as well get gingerbread with cm7).
You can manually set automatic backlight, keyboard, and capacitice button light values.
Sent from my T-Mobile G2 running Cyanogenmod.
Click to expand...
Click to collapse
I'm currently on a CM7 based rom, and I assume you're talking about the Automatic backlight settings area? What do I need to alter to make:
1. Screen on = capacitive buttons on
2. Keyboard open = keyboard backlight on
Any help would be great!
Check "use custom" then "edit other levels..." then set the button and keyboard values to something above 0.
Keep in mind that the keyboard backlight intensity cannot be adjusted, but the capacitive button backlight can go from quite dim to almost blindingly bright.
Sent from my T-Mobile G2 running Cyanogenmod.
i have a question im running andromadus 12. and love it, id just like to have my keyboard light up when i open it. is there anyway to add this
ok so i discovered on some roms if you have the keyboard open, and adjust the brightness or click on or off automatic brightness while keyboard is open. the light will come on. however you have to keep doing it everytime which can become rather annoying. This seems to work on andromadus version 12. if anyone has any other fixes (permanent) itd be greatly appreciatted.
If using sense 3.5 flash rc tweaks and you can get keyboard lights working in settings.
Sent from my HTC Vision using xda premium

[REQ] Notification Light

*Hope this is a right tag*
Anyway what the Galaxy S2 is missing is notification for missed calls, email. sms etc. Many of you might know of lilHermit who made the awesome Trackball Alert Pro for the Nexus One. https://market.android.com/details?...droid.TrackballAlertPro&feature=search_result
Well he has made a similar app for the LG Optimus 2X which flashes the led buttons for notification and he is willing to bring it to the Galaxy S2
Once its done and working on the LG2X I'll work on adding SGS2 support. I've written it modular so adding support for extra phones will not mean a major rewrite.
Although I don't think the SGS2 will be easy looking at the kernel.
Click to expand...
Click to collapse
then recently said
I'm looking to get ROM "chefs" to include my mod. So if you want to get the "chef" to contact me I'll happy provide them with the smali code.
Click to expand...
Click to collapse
Well Rom devs, please contact him to add this
His profile: http://forum.xda-developers.com/member.php?u=1753833
Cool stuff although there is an app called 'Flashnotify' on the market which does this already and works with SGS2.
But what is he going to work on ? I mean there is no led or track ball in G S2 for him to work on.
Or am i missing something big
touch key backlight
bilboa1 said:
touch key backlight
Click to expand...
Click to collapse
Damn forgot about it.
there was an app for dell streak.
https://market.android.com/details?id=com.StreakLEDFREE&feature=search_result
Update : tested . does not work for s gs2
good to hear and nice to know
Since the screen is AMOLED and since you can turn on red/blue pixels individually and they take very little power. A better idea might be to actually put something on the screen instead.
That would be NoLED
More promising imho would be to change the management of the capacitive buttons to be lit while phone is sleeping. Lighting them when phone is on is easy so patterns could be used for notifications.
I'm a fan of the NoLED app for notifications but I would certainly like to see a capacitive button notification like on the LG2X (I had one a couple of months back but sent it back as faulty and got my SGS2)
You want BLN, which was being worked on by neldar.
Akent started putting it to SGS2, but it's not fully (at all?) working.
https://github.com/akent/samsung-kernel-galaxysii
some stuff is disabled when the phone is not connected to usb thus the led don't turn on when the phone is off / stuff don't work (did check in that git and it doesnt fix it)
til someone has time to figure it out, no bln. i think neldar has been busy, and so am i, these days at least
englefield said:
Cool stuff although there is an app called 'Flashnotify' on the market which does this already and works with SGS2.
Click to expand...
Click to collapse
that's only for display backlight, not for button backlight, isn't it?
chalid said:
that's only for display backlight, not for button backlight, isn't it?
Click to expand...
Click to collapse
Lights up the back light and both hardware buttons. Check it out on the market, its free.
englefield said:
Lights up the back light and both hardware buttons. Check it out on the market, its free.
Click to expand...
Click to collapse
Turns on the whole screen. Utterly useless also.
Still nothing? I really miss this and we're waiting for ages – is anyone still working on BLN or are there any problems/is it impossible?
I'd be more than happy to donate a beer or coffee to whoever gets BLN working on the SGS2
Too bad the central hardware button doesn't have a light, it would have been like the N1 TB, but hey it will be sufficiant to have the left and right lights working already
are you working on it?? I will buy it with pleasure from market, donate your work would be pleasure for this notification light!!! I'm waiting for the result....??????????????

Categories

Resources