|
|||||||
| Register | FAQ | XDA-Portal | XDA-Wiki | Device database | Donate! | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hello.
Firts of all sorry for my bad english. I know that there is enough applications like this, but I've decided to write my own application, as a beginning for learn embeded C++ and mobile devices development. So, because this is my first app. in such domain, please don't punch me .May be "power manager" sounds hard, this app. do exactly the same as per example psShotXP, namely: - turn off the screen of Your device - put the device in suspended mode - soft reset the device - turn off the device. You also can create 4 shortcuts to the program with parameters: 0 - turn off the screen of Your device 1 - put the device in suspended mode 2 - soft reset the device 3 - turn off the device. In the attached archive is a folder with those shortcuts, as the cab installer does not make them, only one shortcut of main program in the "Programs" of the device. About "turn off". I've tested these only on my Touch HD, and i've used the functionality of this device :PowerOffWarning (when you long-press the power button). May be this will work on Diamond too, i do not have them... You can change the images of backrounds and buttons, they will be located in "Images" folder after install. With one restriction: now the buttons are black, so if you change the back of main program, consider this ... Hmmm .. that's all I want to say. P.S. Supported screen resolutions: QVGA (240x320), Square (240x240), SquareQVGA (320x320), VGA(480x640), Square VGA (480x480), WVGA (480x800) Regards. Last edited by s.virtan; 21st July 2009 at 07:44 AM.. Reason: "Clear type" now is untouched |
| Sponsored Links |
|
#2
|
|||
|
|||
|
Looks nice - good effort mate
![]() |
|
#3
|
|||
|
|||
|
Hi
Works fine on Touch Diamond 2. Thanks ![]() I am myself a developer and I was looking for a way to shut down the device from a shortcut. With the keyword "PowerOffWarning" from you I finally found the solution. |
|
#4
|
||||
|
||||
|
I might be a good idea to add an explanation on how to do this
|
|
#5
|
|||
|
|||
|
Thanks for the software. One of the file name in shortcut folder seems mispelling "standbay" instead of "standby".
__________________
angler Device: HTC Diamond2 in stock HTC ROM |
|
#6
|
|||
|
|||
|
Hi there, just copy the createt Shortcut SV*.lnk from /Windows/Startmenu/etc... into /Windows and rename it into "Long_Power.lnk". And thats it. Simply but powerfull.
Greats Tom |
|
#7
|
||||
|
||||
|
Hmmm i didn't do that. I copied the program into the windows directory and changed the name to poweroffwarning.exe and i had to copy the images folder too
|
|
#8
|
|||
|
|||
|
Cuts the cleartype font out using this
|
|
#9
|
|||
|
|||
|
Hi.
By "PowerOffWarning" I want to say, that when You long-press the power button on device it seems that a program PowerOffWarning.exe (wich You can find in \wndows dri.) is launched, and You can see the message box "Power will be turned off ...". This is not my discovery, this is a standard HTC feature ... and a found it here http://forum.xda-developers.com/showthread.php?t=424235 (middle of page) ... That's all ![]() |
|
#10
|
|||
|
|||
|
Appreciate, thanks
![]() Quote:
, thanks ...Quote:
And about PowerOffWarning, I repeat that this is a HTC program, not mine, and if in \win. dir is no such file, the renaming of SVMPowerMgr to PowerOff will not help. Regards. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|