Go Back   xda-developers > HTC Blackstone: Touch HD > Touch HD Themes and Apps


Closed Thread
 
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: 15
Post [APP]SVMPowerMgr 2.0 - Yet another power comm. 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 (HTC devs.).
- turn on/off wifi
- turn on/off phone module
- turn on/off bluetooth (make discoverable/invisible)
- switch phone bands Auto-2G-3G

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.
4 - turn on/off phone module
5 - turn on/off wifi
6 - turn on/off bluetooth

You can change the images of backrounds button separator 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 ...

Remarks: To close the main window you must tap anywhere outside the buttons or in space between buttons. Also to close additional windows tap the Close button or empty space of window.

P.S.
Discoverable/invisible mode for bluetooth is working on Microsoft stacks, on broadcom is to be developped (works just on/off bluetooth)

P.S. Supported screen resolutions: QVGA (240x320), Square (240x240), SquareQVGA (320x320), VGA(480x640), Square VGA (480x480), WVGA (480x800)

Regards.
Attached Images
File Type: jpg Screen01.jpg (22.9 KB, 217 views)
File Type: jpg Screen02.jpg (20.3 KB, 120 views)
File Type: jpg Screen03.jpg (20.9 KB, 105 views)
Attached Files
File Type: cab SVMPowerMgr.CAB (286.7 KB, 626 views)

Last edited by s.virtan; 28th December 2009 at 02:33 PM.. Reason: Update, new version
Sponsored Links

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

Looks nice - good effort mate

  #3  
Old 17th July 2009, 08:07 PM
ULJ ULJ is offline
Member
 
Join Date: Jun 2009
Posts: 51
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.

  #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,345
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

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

Thanks for the software. One of the file name in shortcut folder seems mispelling "standbay" instead of "standby".
__________________
angler

My Device HTC HD2
OS 5.2.21869 (21869.5.0.82)
Manila 1.0.19211620.0
ROM version 1.48.831.1.0 (71294) WWE
ROM date 11-9-09
Radio version 2.05.51.05_2
Protocol version 15.28.50.07U

  #6  
Old 18th July 2009, 11:29 AM
Cluster_ Cluster_ is offline
Junior Member
 
Join Date: Sep 2007
Posts: 20
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

  #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,345
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

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

Cuts the cleartype font out using this

  #9  
Old 20th July 2009, 07:44 AM
s.virtan s.virtan is offline
Junior Member
 
Join Date: Sep 2008
Posts: 15
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

  #10  
Old 20th July 2009, 07:54 AM
s.virtan s.virtan is offline
Junior Member
 
Join Date: Sep 2008
Posts: 15
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.

Closed Thread

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 04:34 AM.


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