Go Back   xda-developers > Blackstone > Themes, Applications and Software

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 17th July 2009, 01:58 PM
s.virtan s.virtan is offline
Junior Member
 
Join Date: Sep 2008
Posts: 13
Post [APP]SVMPowerMgr 1.0 - Yet another power utility

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.
Attached Images
File Type: jpg SVMPowerMgr scr.JPG (29.2 KB, 2988 views)
Attached Files
File Type: zip SVMPowerMgr.zip (188.3 KB, 2645 views)

Last edited by s.virtan; 21st July 2009 at 07:44 AM.. Reason: "Clear type" now is untouched
Reply With Quote
Sponsored Links

  #2  
Old 17th July 2009, 04:28 PM
Wiggz Wiggz is offline
Senior Member
 
Join Date: Aug 2006
Posts: 283
Default

Looks nice - good effort mate
Reply With Quote

  #3  
Old 17th July 2009, 08:07 PM
ULJ ULJ is offline
Member
 
Join Date: Jun 2009
Posts: 52
Default

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

  #4  
Old 17th July 2009, 08:21 PM
Bxsteez's Avatar
Bxsteez Bxsteez is offline
Senior Member
 
Join Date: Jun 2006
Location: Marion, IA
Posts: 1,279
Default

Quote:
Originally Posted by s.virtan View Post
Hello.


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...


Regards.
I might be a good idea to add an explanation on how to do this
Reply With Quote

  #5  
Old 18th July 2009, 05:49 AM
angler angler is offline
Senior Member
 
Join Date: Nov 2007
Location: Hong Kong
Posts: 113
Default

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

  #6  
Old 18th July 2009, 11:29 AM
Cluster_ Cluster_ is offline
Junior Member
 
Join Date: Sep 2007
Posts: 16
Default

Quote:
Originally Posted by Bxsteez View Post
I might be a good idea to add an explanation on how to do this
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
Reply With Quote

  #7  
Old 19th July 2009, 05:34 PM
Bxsteez's Avatar
Bxsteez Bxsteez is offline
Senior Member
 
Join Date: Jun 2006
Location: Marion, IA
Posts: 1,279
Default

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

  #8  
Old 20th July 2009, 07:10 AM
rjmjr69 rjmjr69 is offline
Senior Member
 
Join Date: Dec 2008
Posts: 339
Default

Cuts the cleartype font out using this
Reply With Quote

  #9  
Old 20th July 2009, 07:44 AM
s.virtan s.virtan is offline
Junior Member
 
Join Date: Sep 2008
Posts: 13
Default

Quote:
Originally Posted by Bxsteez View Post
I might be a good idea to add an explanation on how to do this
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
Reply With Quote

  #10  
Old 20th July 2009, 07:54 AM
s.virtan s.virtan is offline
Junior Member
 
Join Date: Sep 2008
Posts: 13
Default

Quote:
Originally Posted by Wiggz View Post
Looks nice - good effort mate
Appreciate, thanks

Quote:
Originally Posted by angler View Post
Thanks for the software. One of the file name in shortcut folder seems mispelling "standbay" instead of "standby".
I'll replace, emotions perhaps , thanks ...

Quote:
Originally Posted by Bxsteez View Post
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
Sorry, but ... why you are doing this ... You don't need to copy the program into windows, You can do this of course, but ... I think there is no need for ...
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.
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 06:24 AM.


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