Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
lobsterii
Old
(Last edited by lobsterii; 3rd May 2009 at 02:55 AM.)
#1  
Junior Member - OP
Thanks Meter 0
Posts: 18
Join Date: Jul 2008
Default BackLight brightness adjust command line utility for Kaiser aka TYTN II

I dunno if I'm only one who has this problem but when I'm occasionally on sun I can't see nothing on my Kaiser and it's really difficult to setup backlight brightness on touchscreen which u can't see.... So I've been looking alot if there is some utility which I can link with button or gesture and I haven't found anything... So I've wrote my own utility. Feel free to use it as well if u find it useful -> http://lobster.ic.cz/?page=bl

is this useful or is there easier way to do that??
 
viven
Old
#2  
Junior Member
Thanks Meter 0
Posts: 11
Join Date: Nov 2007
Been searching for an app like this for a week.

Works great!

Thanks.
 
mattarse
Old
#3  
Member
Thanks Meter 0
Posts: 86
Join Date: Nov 2007
Here's another program that gives you a today plug in for it:

http://forum.xda-developers.com/showthread.php?t=412896

I'll b trying yours tho as I like the idea of UL with icons for up and down

Cheers,
Matthew
 
silentanvil
Old
#4  
Junior Member
Thanks Meter 0
Posts: 7
Join Date: Dec 2007
I made a cab with this program mapped to the PTT button. I have a AT&T Tilt, Im not sure if your phone has a PTT button or if its called something else or whatever.

With this, just run the cab then I tap the button and it changed the brightness really quickly, no menu or anything, I love it! If I walk out into the sun I just tap the button 3 times and my screen is bright.

Lobsterii, I love this program thanks a ton!
 
lobsterii
Old
#5  
Junior Member - OP
Thanks Meter 0
Posts: 18
Join Date: Jul 2008
I'm glad that I could helped u out guys... actually there might be more funny stuff possible only if HTC release some documentation on theirs DLL files cos it's pain to guess arguments...
 
silentanvil
Old
#6  
Junior Member
Thanks Meter 0
Posts: 7
Join Date: Dec 2007
you did it all by guessing? I figured you would have decompiled the dll.
 
pudifoot
Old
#7  
Junior Member
Thanks Meter 0
Posts: 20
Join Date: Jan 2008
Truly excellent! I have also been looking for something like this for a long time.

I figured I might as well kick off the feature requests that always follow a new release: How about the option set both battery and power brightness with one command? Perhaps by a special switch, or by only specifying the brightness level (i.e. no 'b' or 'p' switch)? Or is there a way to do it already?

Thanks again for a useful app!
 
lobsterii
Old
#8  
Junior Member - OP
Thanks Meter 0
Posts: 18
Join Date: Jul 2008
Quote:
you did it all by guessing? I figured you would have decompiled the dll.
I've read some forum where someone pointed out that backlight function should be in some dll by HTC dunno where it was... Then I was googling "dll find export function" and I've found prog "DLL Export Viewer" which can show function names in dll. Unfortunatelly there is generally impossible to find out how many/what arguments the function has. So I've found function name like HTCUtilSetOnBatteryBrightnessLevel and I've simply try prototype int HTCUtilSetOnBatteryBrightnessLevel(int); but it crashed... so I keep going like int HTCUtilSetOnBatteryBrightnessLevel(int*); and it worked... voila...

Quote:
Originally Posted by pudifoot View Post
Truly excellent! I have also been looking for something like this for a long time.
thx alot...

Quote:
I figured I might as well kick off the feature requests that always follow a new release: How about the option set both battery and power brightness with one command? Perhaps by a special switch, or by only specifying the brightness level (i.e. no 'b' or 'p' switch)? Or is there a way to do it already?
done. + it's now compiled as an release version so it actually has 50KB less than old version... enjoy it's at the same place instead original files http://www.lobster.3web.cz/bordel/bl/index.htm...
 
silentanvil
Old
#9  
Junior Member
Thanks Meter 0
Posts: 7
Join Date: Dec 2007
Nice improvements! how about another a switch so that it will toggle between brightest to dimmest? So if this was used it would just go between 1 or 10 and none in between.
 
pudifoot
Old
#10  
Junior Member
Thanks Meter 0
Posts: 20
Join Date: Jan 2008
Thanks for implementing the feature I was looking for. A perfect application - it's small and fast, and it gets the job done with excellence.

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Xposed Framework Module for the AT&T Galaxy S 4

Got yourself a brand new Galaxy S 4? Are you looking for some fun mods to make it truly your … more

Job Interview Prep: Phone Screen Part 1 – XDA Developer TV

XDA Developer TV Producer Jayce has been very busy creating videos to help … more

Auto Test Your Android Apps with Robotium

You’ve just finished coding your very first app, but before you release it to the wild, you … more

Open Source CPU Info App for Windows

So you’re playing with your shiny new Windows 8 tablet PC, when one of your like-minded geeky … more