Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Share Your Creations > Open Source Projects
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Open Source Projects The place to discuss Basic4ppc open source applications.

WM6.1 Backlight Timeout (Registry)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-20-2008, 06:53 PM
Basic4ppc Veteran
 
Join Date: Jan 2008
Posts: 215
Default WM6.1 Backlight Timeout (Registry)

Ever since I upgraded my AT&T Tilt to the 6.1 ROM, my backlight timeout resets to 8 seconds every time I power off. More information can be found here.

Attached is a simple program to read the registry value from the advanced power settings and resetting the backlight timeout to the same value. This could have been done using Mortscript or sharpdevelop/vb.net, but I thought I'd drive some interest in the B4PPC language.

Requires registry library (included in zip)

Also, what works for me may not work for thee. Any program that touches the registry should be used with caution.

10/2/08 update includes:

* a simple installer "install" to install resetbl to events table, to be executed every time the device is turned on.
* a second installer "install2" install resetbl to events table, to be executed after a synch
* a simple uninstaller "uninstall" - to remove resetbl from events table
Attached Files
File Type: zip resetbl.zip (226.6 KB, 116 views)

Last edited by digitaldon37 : 10-03-2008 at 04:29 AM.
Reply With Quote
  #2 (permalink)  
Old 09-30-2008, 10:34 PM
Basic4ppc Veteran
 
Join Date: Jan 2008
Posts: 215
Default Hardware Library - RunAppAtEvent

I just stumbled across the "RunAppAtEvent" method in the hardware library. After spending 2 minutes to write an app to launch my "reset backlight" program I think I have a very tolerable solution to the annoying WM 6.1 bug where the backlight is reset to 10 seconds every time the PDA is turned off.

Attached is "run" which adds the "resetbl" program to launch every time the device is turned on.

I've been testing this all day and it seems to be working on my AT&T Tilt

10/2/08 update includes:

* a simple installer "install" to install resetbl to events table, to be executed every time the device is turned on.
* a second installer "install2" install resetbl to events table, to be executed after a synch
* a simple uninstaller "uninstall" - to remove resetbl from events table

(see main post)

Last edited by digitaldon37 : 10-03-2008 at 04:26 AM.
Reply With Quote
  #3 (permalink)  
Old 11-18-2008, 03:59 AM
Junior Member
 
Join Date: Nov 2008
Posts: 10
Default

Just in case you haven't heard, there is now an official fix for this bug.

HTC - Touch Phone, PDA Phone, Smartphone, Mobile Computer
Reply With Quote
  #4 (permalink)  
Old 11-20-2008, 05:23 PM
Basic4ppc Veteran
 
Join Date: Jan 2008
Posts: 215
Default Thanks for the HTC fix link

Thanks for the HTC fix link. I had actually replaced the one I wrote with one that one of the forum posters wrote on the AT&T board and have had no problems since. Glad to see that AT&T and HTC finally put out an official fix.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help backlight Mazacote Questions (Windows Mobile) 8 11-26-2009 06:14 PM
proprietà TimeOut in serial2 micro Italian Forum 0 09-11-2008 11:55 AM
Lettura del registry Raytracer Italian Forum 9 04-19-2008 02:03 PM
Backlight derez Questions (Windows Mobile) 0 12-23-2007 01:28 PM
registry bdiscount Questions (Windows Mobile) 4 05-11-2007 03:29 PM


All times are GMT. The time now is 04:22 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0