Go Back   xda-developers > HTC Kaiser: Tilt, TyTN II, MDA Vario III > Tilt, TyTN II, MDA Vario III Themes and Apps


Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 31st July 2008, 11:44 AM
lobsterii lobsterii is offline
Junior Member
 
Join Date: Jul 2008
Posts: 18
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??

Last edited by lobsterii; 3rd May 2009 at 03:55 AM..
Reply With Quote
Sponsored Links

  #2  
Old 31st July 2008, 11:59 AM
viven viven is offline
Junior Member
 
Join Date: Nov 2007
Posts: 1
Default

Been searching for an app like this for a week.

Works great!

Thanks.
Reply With Quote

  #3  
Old 31st July 2008, 02:01 PM
mattarse mattarse is offline
Member
 
Join Date: Nov 2007
Posts: 82
Default

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
Reply With Quote

  #4  
Old 1st August 2008, 07:43 AM
silentanvil silentanvil is offline
Junior Member
 
Join Date: Dec 2007
Posts: 7
Thumbs up

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!
Attached Files
File Type: cab lobsterii's Backlight Changer mapped to PTT.cab (88.1 KB, 1434 views)
Reply With Quote

  #5  
Old 1st August 2008, 09:36 AM
lobsterii lobsterii is offline
Junior Member
 
Join Date: Jul 2008
Posts: 18
Default

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...
Reply With Quote

  #6  
Old 1st August 2008, 11:09 AM
silentanvil silentanvil is offline
Junior Member
 
Join Date: Dec 2007
Posts: 7
Default

you did it all by guessing? I figured you would have decompiled the dll.
Reply With Quote

  #7  
Old 1st August 2008, 11:14 AM
pudifoot pudifoot is offline
Junior Member
 
Join Date: Jan 2008
Posts: 20
Default

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!
Reply With Quote

  #8  
Old 2nd August 2008, 09:27 AM
lobsterii lobsterii is offline
Junior Member
 
Join Date: Jul 2008
Posts: 18
Default

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...
Reply With Quote

  #9  
Old 3rd August 2008, 06:04 AM
silentanvil silentanvil is offline
Junior Member
 
Join Date: Dec 2007
Posts: 7
Default

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.
Reply With Quote

  #10  
Old 3rd August 2008, 06:08 AM
pudifoot pudifoot is offline
Junior Member
 
Join Date: Jan 2008
Posts: 20
Default

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.
Reply With Quote

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

Forum Jump


All times are GMT +1. The time now is 09:16 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.