Go Back   xda-developers > Windows Mobile Development and Hacking > Windows Mobile Apps and Games


Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 3rd August 2009, 10:58 PM
DaveShaw's Avatar
DaveShaw DaveShaw is offline
Moderator
 
Join Date: Dec 2007
Location: Huddersfield
Posts: 6,586
Default [APP] xdaShutdown v1.01 [20 AUG 09] - A Skinnable Shutdown App - All Resolutions


Info:
A fully skinnable (see post #2) shutdown application that asofiker asked me to come up with a long time ago and I've finally got it finished. It's written in Native Win32 C++, so the load speed is PDQ.

My skinning skills are rubbish so any one interesting in making this look nice, please post and I'll add your graphics.


Screens (WVGA theme on my TP2):


Features:
  • Shutdown actually works.*
  • Fully skinnable, will work in any resolution.
  • Full screen mode.
  • Sleep / Light's out modes.
  • Command Line (see "Usage").
  • Map to Long press.
*Should work on HTC devices since the Kaiser, I'm open to try and add support to non HTC devices. PM me if you can help.

Usage (Command line):
You can call xdaShutdown command line as follows:
Code:
xdaShutdown /restart [/warn] - Soft resets the device.
xdaShutdown /shutdown [/warn] - Power off the device.
xdaShutdown /sleep - Put the device in Sleep mode.
xdaShutdown /lightsout - Turn off the screen.

/warn - issues a warning before performing the action.
Change log:
Download full change log

1.01
-[BUG] Fixed command line bugs (would only shutdown)
-[TWK] Replaced Kernel IO Control with ExitWindowsEx(). This should ensure settings are saved upon restart / shutdown.
-[TWK] The Sleep / Light's out option simply overrides the action of the Sleep button to light's out - even if you have a seperate lights out button.
-[NEW] Ability to create a Long_press.lnk shortcut in \Windows\. Existing shortcut is backed up and restored if needed when removing the shortcut.
-[NEW] Various XML Changes, If you're new to skinning, just see post #2 and read up. If you're an existing skinner and want to see what's changed, read the full change log.

1.00
-Initial Release

TODO:
  • Icon resources for shortcuts.
  • New Skin with my releases.
  • Device Locking.
  • Custom Action Buttons?
  • Option to use Manila Wallpaper.
  • Full-Full Screen support (hide the bottom bar).
  • Make it so we can have a semi transparent wallpaper that is your device's desktop - PM me if you can help .
  • Today plugin?
  • Skin Changer

Known Issues:
  1. Actions in the XML are case sensitive.
  2. Remove 1px border around the BG.
  3. Shutdown Support on the following devices: Atom Life, Omnia (II?), Moto A3100 (WM 20780), Toshiba G900, Asus P320, Flame, KS20, Magician, Palm Treo Pro 850, Asus P527, Acer M900. (Anyone who knows how to fully power off these devices, let me know).

Thanks
-Chourdakis Michael for his XML Lib.
-asofiker for the QVGA graphics.
-Olipro, cmonex, l3v5y and no2chem for general coding help.
-fards for the long press work around (until I get it in the app).
-All the Skinners

Downloads (WWE):
I have uploaded 3 versions (all with crappy graphics) for QVGA, VGA and WGVA.
There's also a Exe only, for those that don't want to lose their skin .

Other Languages:
-ESN v1.01

_
Attached Files
File Type: cab xdaShutdown 1.01 - Exe.cab (82.7 KB, 1163 views)
File Type: cab xdaShutdown 1.01 - QVGA.cab (276.9 KB, 3019 views)
File Type: cab xdaShutdown 1.01 - VGA.cab (248.9 KB, 2511 views)
File Type: cab xdaShutdown 1.01 - WVGA.cab (429.8 KB, 7875 views)
__________________
Dave

Vodafone HTC Touch Pro 2 (RHOD100) - SPL: 0.85.OliNex - sec unlocked | ROM: Miri v7.0 | Radio: 4.49.25.17 | Card: SanDisk 8gb SDHC
02 XDA Stellar - HTC TyTN II (KAIS130) - SPL: 3.34.hard - sec unlocked | ROM: Solace 3.1 | Radio: 1.70.19.09 | Card: None

Reading: RHOD: Getting Started?
Reading: KAIS: Getting Started? | KAIS: Stuck at Tri colour screen? | Naked Chicks (Thx V)

My creations: Kaiser HardSPL 3.34 | Rhodium ROM Reconstruction Kitchen | TimeSyncTZ | xcopyce | xdaShutdown | Blackstone RUU Wrapper


Appreciate my work? Please support
Help for Heroes

Last edited by DaveShaw; 19th November 2009 at 02:05 PM..
Reply With Quote
Sponsored Links

  #2  
Old 3rd August 2009, 10:58 PM
DaveShaw's Avatar
DaveShaw DaveShaw is offline
Moderator
 
Join Date: Dec 2007
Location: Huddersfield
Posts: 6,586
Default [APP] xdaShutdown v1.01 [20 AUG 09] - A Skinnable Shutdown App - All Resolutions

About:
If you can think of a (serious) better way of implementing skinning PM me (spare the thread) and I'm happy to discuss.

Images
Create your button images with a fuschia (255 R, 0 G, 255 B) background. This part of the image won't be rendered.

Place the "Up" and "Down" parts of the image in exactly half of the image. Left half is up, right half is down.

Sample images are in the CABs in Post #1.

Layout (Theme.xml)
Code:
<?xml version="1.0" encoding="UTF-8"?>
<xdaShutdownTheme>
<button>
    <name>sleep</name>
    <xPos>24</xPos>
    <yPos>4</yPos>
    <action>sleep</action>
  </button>
  <button>
    <name>restart</name>
    <xPos>24</xPos>
    <yPos>74</yPos>
    <action>restart</action>
  </button>
  <button>
    <name>shutdown</name>
    <xPos>24</xPos>
    <yPos>144</yPos>
    <action>shutdown</action>
  </button>
  <button>
    <name>cancel</name>
    <xPos>180</xPos>
    <yPos>214</yPos>
    <action>cancel</action>
  </button>
  <button>
    <name>lightsout</name>
    <xPos>24</xPos>
    <yPos>274</yPos>
    <action>lightsout</action>
  </button>
  <background>
    <color>FFFFFF</color>
  </background>
  <fullscreen>false</fullscreen>    
  <landscape>
    <button>
      <name>sleepL</name>
      <xPos>24</xPos>
      <yPos>4</yPos>
      <action>sleep</action>
    </button>
    <button>
      <name>restartL</name>
      <xPos>24</xPos>
      <yPos>74</yPos>
      <action>restart</action>
    </button>
    <button>
      <name>shutdownL</name>
      <xPos>24</xPos>
      <yPos>144</yPos>
      <action>shutdown</action>
    </button>
    <button>
      <name>cancelL</name>
      <xPos>180</xPos>
      <yPos>214</yPos>
      <action>cancel</action>
    </button>
    <button>
      <name>lightsoutL</name>
      <xPos>24</xPos>
      <yPos>274</yPos>
      <action>lightsout</action>
    </button>
    <background>
      <color>FF0000</color>
    </background>
    <fullscreen>false</fullscreen>
  </landscape>
</xdaShutdownTheme>
The button part should be obvious. The background part might be a tad trickier. If you want to use background.png as the background, set "useImage" to "background". If it's not specified, then you can specify a background colour in RRGGBB format in "color". If neither are there, it will be white.

Fullscreen, means that the top bar will be hidden.

I've attached the xsd for theme if any of you are XML geeks like me
Attached Files
File Type: zip xdaShutdownTheme.zip (994 Bytes, 1231 views)
__________________
Dave

Vodafone HTC Touch Pro 2 (RHOD100) - SPL: 0.85.OliNex - sec unlocked | ROM: Miri v7.0 | Radio: 4.49.25.17 | Card: SanDisk 8gb SDHC
02 XDA Stellar - HTC TyTN II (KAIS130) - SPL: 3.34.hard - sec unlocked | ROM: Solace 3.1 | Radio: 1.70.19.09 | Card: None

Reading: RHOD: Getting Started?
Reading: KAIS: Getting Started? | KAIS: Stuck at Tri colour screen? | Naked Chicks (Thx V)

My creations: Kaiser HardSPL 3.34 | Rhodium ROM Reconstruction Kitchen | TimeSyncTZ | xcopyce | xdaShutdown | Blackstone RUU Wrapper


Appreciate my work? Please support
Help for Heroes

Last edited by DaveShaw; 20th August 2009 at 10:52 PM..
Reply With Quote

  #3  
Old 3rd August 2009, 10:59 PM
DaveShaw's Avatar
DaveShaw DaveShaw is offline
Moderator
 
Join Date: Dec 2007
Location: Huddersfield
Posts: 6,586
Default Skinning

If you make me some better skins, I'll post some previews here, but I have so much interest I've started to remove some, so have a look through the thread also .

Please post the the target resolution, the 5 (or 4) button images and the theme XML in a CAB to install into %programfiles%\xdaShutdown.

QVGA

Download - cris_rowlands


Download - cris_rowlands


Download - cris_rowlands


Download - cris_rowlands


Download - cris_rowlands (Left = Restart, Middle = Shut Down, Right = Sleep/light, Bottom = Cancel)


Download - cris_rowlands


Download - cris_rowlands


Download / Download - cris_rowlands


Download - Phonatic


Download - Phonatic


Download - gullum


Download - borealcool
__________________
Dave

Vodafone HTC Touch Pro 2 (RHOD100) - SPL: 0.85.OliNex - sec unlocked | ROM: Miri v7.0 | Radio: 4.49.25.17 | Card: SanDisk 8gb SDHC
02 XDA Stellar - HTC TyTN II (KAIS130) - SPL: 3.34.hard - sec unlocked | ROM: Solace 3.1 | Radio: 1.70.19.09 | Card: None

Reading: RHOD: Getting Started?
Reading: KAIS: Getting Started? | KAIS: Stuck at Tri colour screen? | Naked Chicks (Thx V)

My creations: Kaiser HardSPL 3.34 | Rhodium ROM Reconstruction Kitchen | TimeSyncTZ | xcopyce | xdaShutdown | Blackstone RUU Wrapper


Appreciate my work? Please support
Help for Heroes

Last edited by DaveShaw; 7th September 2009 at 04:08 PM..
Reply With Quote

  #4  
Old 3rd August 2009, 10:59 PM
DaveShaw's Avatar
DaveShaw DaveShaw is offline
Moderator
 
Join Date: Dec 2007
Location: Huddersfield
Posts: 6,586
Default Themes


Download / Download / Download - cris_rowlands


Download - Phonatic


Download - Phonatic


More Colours / Back grounds here - Phonatic


Download - chris10230


Download - chris10230


Download - Phonatic
Attached Images
File Type: jpg ALL.jpg (25.1 KB, 34463 views)
__________________
Dave

Vodafone HTC Touch Pro 2 (RHOD100) - SPL: 0.85.OliNex - sec unlocked | ROM: Miri v7.0 | Radio: 4.49.25.17 | Card: SanDisk 8gb SDHC
02 XDA Stellar - HTC TyTN II (KAIS130) - SPL: 3.34.hard - sec unlocked | ROM: Solace 3.1 | Radio: 1.70.19.09 | Card: None

Reading: RHOD: Getting Started?
Reading: KAIS: Getting Started? | KAIS: Stuck at Tri colour screen? | Naked Chicks (Thx V)

My creations: Kaiser HardSPL 3.34 | Rhodium ROM Reconstruction Kitchen | TimeSyncTZ | xcopyce | xdaShutdown | Blackstone RUU Wrapper


Appreciate my work? Please support
Help for Heroes

Last edited by DaveShaw; 24th August 2009 at 10:40 PM.. Reason: More themes
Reply With Quote

  #5  
Old 3rd August 2009, 10:59 PM
DaveShaw's Avatar
DaveShaw DaveShaw is offline
Moderator
 
Join Date: Dec 2007
Location: Huddersfield
Posts: 6,586
Default

VGA

Download - gullum


Download (EN) - voyd
Download (FR) -voyd


Download - cris_rowlands


Download / Download / Download - louie1215 (ported)


Download - Peaster111

WVGA

Download / Download (with portrait and landscape) - peterbonge


Download (EN) - voyd
Download (FR) - voyd


Download (w/Landscape) - FireBird4


Download - Phonatic


Download - arturobandini

WQVGA

Download - borealcool


Download (EN) - julian76 (ported)


Download - ytsejam_



Download - taospirit
Attached Images
File Type: jpg VGAs.jpg (23.9 KB, 31075 views)

Last edited by DaveShaw; 9th September 2009 at 12:18 AM..
Reply With Quote

  #6  
Old 3rd August 2009, 11:22 PM
Philux-X's Avatar
Philux-X Philux-X is offline
Senior Member
 
Join Date: Feb 2007
Location: Rolla, MO
Posts: 216
Default

Thanks bro! Looks great! Will give it a go.
Reply With Quote

  #7  
Old 3rd August 2009, 11:54 PM
btonetbone btonetbone is offline
Senior Member
 
Join Date: May 2008
Posts: 256
Default

Awesome, thanks! This is definitely going to replace psShutXP for me. Shutdown actually works!

Great work.
Ivan
__________________
Ivan
Enjoy the show!
Reply With Quote

  #8  
Old 4th August 2009, 12:00 AM
drmidnight's Avatar
drmidnight drmidnight is offline
Member
 
Join Date: May 2008
Posts: 70
Default

Just got a break at work so I decided to check out some xda and I saw this. I made three different skins that are nothing more than a mockup and I don't really have the time to make them into an actual skin, but you are welcome to the layered psd.



__________________



Reply With Quote

  #9  
Old 4th August 2009, 12:03 AM
ai6908's Avatar
ai6908 ai6908 is offline
Senior Member
 
Join Date: Nov 2006
Location: Land of OZ
Posts: 1,948
Default

Great! I use it my ROM...thanks for this awesome tool...
__________________
------------------------------------------------------------------------------------------------
RHOD100 (Touch Pro2)
Radio - 4.47.25.57
ROM - Home kooked!
Create Rhod Splash
Kaiser 100 (Tilt) - SOLD
ROM - Home kooked WM6.5
Search XDA using GooG
Sharing what I have collected!
Click here if you like what I do.
------------------------------------------------------------------------------------------------
Reply With Quote

  #10  
Old 4th August 2009, 12:05 AM
DaveShaw's Avatar
DaveShaw DaveShaw is offline
Moderator
 
Join Date: Dec 2007
Location: Huddersfield
Posts: 6,586
Default

Quote:
Originally Posted by drmidnight View Post
Just got a break at work so I decided to check out some xda and I saw this. I made three different skins that are nothing more than a mockup and I don't really have the time to make them into an actual skin, but you are welcome to the layered psd.
Thanks, but I'm really bad at photo-shopping. That's why my graphics are sooo bad.

Dave
__________________
Dave

Vodafone HTC Touch Pro 2 (RHOD100) - SPL: 0.85.OliNex - sec unlocked | ROM: Miri v7.0 | Radio: 4.49.25.17 | Card: SanDisk 8gb SDHC
02 XDA Stellar - HTC TyTN II (KAIS130) - SPL: 3.34.hard - sec unlocked | ROM: Solace 3.1 | Radio: 1.70.19.09 | Card: None

Reading: RHOD: Getting Started?
Reading: KAIS: Getting Started? | KAIS: Stuck at Tri colour screen? | Naked Chicks (Thx V)

My creations: Kaiser HardSPL 3.34 | Rhodium ROM Reconstruction Kitchen | TimeSyncTZ | xcopyce | xdaShutdown | Blackstone RUU Wrapper


Appreciate my work? Please support
Help for Heroes
Reply With Quote

Reply

Tags
shutdown, skinnable

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 01:12 AM.


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