Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,728,302 Members 51,568 Now Online
XDA Developers Android and Mobile Development Forum

[APP]SVMPowerMgr 2.0 - Yet another power comm. utility

Tip us?
 
s.virtan
Old
(Last edited by s.virtan; 28th December 2009 at 01:33 PM.) Reason: Update, new version
#1  
Junior Member - OP
Thanks Meter 0
Posts: 15
Join Date: Sep 2008
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 Thumbnails
Click image for larger version

Name:	Screen01.jpg
Views:	5693
Size:	22.9 KB
ID:	261246   Click image for larger version

Name:	Screen02.jpg
Views:	344
Size:	20.3 KB
ID:	261247   Click image for larger version

Name:	Screen03.jpg
Views:	315
Size:	20.9 KB
ID:	261248  
Attached Files
File Type: cab SVMPowerMgr.CAB - [Click for QR Code] (286.7 KB, 1270 views)
 
Wiggz
Old
#2  
Senior Member
Thanks Meter 11
Posts: 503
Join Date: Aug 2006
Looks nice - good effort mate
 
ULJ
Old
#3  
Senior Member
Thanks Meter 27
Posts: 371
Join Date: Jun 2009
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.
 
Bxsteez
Old
#4  
Bxsteez's Avatar
Senior Member
Thanks Meter 62
Posts: 2,106
Join Date: Jun 2006
Location: Fort Worth, TX
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
 
angler
Old
#5  
Senior Member
Thanks Meter 5
Posts: 216
Join Date: Nov 2007
Location: Hong Kong
Thanks for the software. One of the file name in shortcut folder seems mispelling "standbay" instead of "standby".
angler
 
Cluster_
Old
#6  
Junior Member
Thanks Meter 0
Posts: 23
Join Date: Sep 2007
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
 
Bxsteez
Old
#7  
Bxsteez's Avatar
Senior Member
Thanks Meter 62
Posts: 2,106
Join Date: Jun 2006
Location: Fort Worth, TX
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
 
rjmjr69
Old
#8  
rjmjr69's Avatar
Senior Member
Thanks Meter 116
Posts: 1,773
Join Date: Dec 2008
Location: Southie
Cuts the cleartype font out using this
 
s.virtan
Old
#9  
Junior Member - OP
Thanks Meter 0
Posts: 15
Join Date: Sep 2008
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
 
s.virtan
Old
#10  
Junior Member - OP
Thanks Meter 0
Posts: 15
Join Date: Sep 2008
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.

THREAD CLOSED
Subscribe
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Easily Combine Text and Manage Your Android Clipboard with StuffMerge

Android clipboard management has always been impractical without the … more

Pale Moon Browser Ported to Android

Having a wide choice of third party applications is one of the most beautiful things that Android has to … more

Partial Android Wear Source Uploaded to AOSP

2014 is certainly shaping up to be theyear of the wearables. And thanks to its innovative … more

Street Panorama Combines Google Maps and Street View into One App

Google Maps is a must have application forevery amateur world explorer. … more