You Are Here:

Community: Developer Discussion Boards

#1 Old detecting power off event - 2004-12-27, 10:54

Join Date: Mar 2004
Posts: 11
dhaenik
Offline
Registered User
Hi,

I have a question regarding how to detect the power off event reliably. I have tried to recieve EEventSwitchOff or EEventKeySwitchOff calling RWsSession::RequestOffEvents(EFalse), but this does not work.

I recieve EApaSystemEventShutdown but this does not help since I should distinguish between shut down event in low memory situation and when power off button is pressed.

Is there some reliable way to distinguish these situations?

Thank you,
Denis
Reply With Quote

#2 Old 2005-01-03, 21:06

Join Date: Mar 2003
Posts: 87
dmford
Offline
Regular Contributor
In Java we don't have those methods unfortunately, we rely on hideNotfiy and showNotify which are called when a display loses focus onscreen.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia