Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
cemtex
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 27
Join Date: Jan 2008
Talking [Q] Power button protection on long press

Hi Guys,

I was wondering if anyone had any ideas on how to help me out.

My hd2 power button seems very sensitive and when in my pocket it seems to get turned off alot.

What would be nice would be on a long press of the power button you get a pop up asking if you want to switch it off like we used to get on wm6.5.

Any ideas?
 
pawkar
Old
#2  
pawkar's Avatar
Member
Thanks Meter 0
Posts: 75
Join Date: Jan 2009
Location: Wadowice
+1 to that
Phone: HTC HD 2 LEO
Rom: WP7
Radio: 2.12.50.02
SPL: HSPL 2.08

 
blackpaw
Old
#3  
Junior Member
Thanks Meter 0
Posts: 6
Join Date: May 2009
Location: Amsterdam
count me in, this should be disabled

cheers
 
b84
Old
#4  
b84's Avatar
Member
Thanks Meter 5
Posts: 80
Join Date: Feb 2010
Location: Sydney
Question confirmation

someone should add similar code when power button is pressed for >3secs.

if(MessageBox.Show("are you sure?", "switch off", MessageBoxButton.OKCancel) == MessageBoxResult.OK)
{
//shutdown
}
 
superslicer
Old
#5  
Junior Member
Thanks Meter 0
Posts: 3
Join Date: May 2011
I think, a later version of WP7 would introduce a shut down menu instead of the simple "Goodbye". Meanwhile, a pouch should help you.
 
Post 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

Go to top of page...