You Are Here:

Community: Developer Discussion Boards

#1 Old N90 Interrupt - 2006-07-31, 19:10

Join Date: May 2006
Posts: 1
pradip013
Offline
Registered User
Hi,
Can anyone tell how to generate an interrupt on closing the flap of Nokia N90.
The device does not generate it has anyone generated it manually..
is it possible....
Reply With Quote

#2 Old Re: N90 Interrupt - 2006-07-31, 22:21

Join Date: Dec 2005
Posts: 1,696
Location: Europe/Poland/Warsaw
peterblazejewicz
Offline
Super Contributor
hi,

that's possible in C++ (taken from TechLib):
Quote:
It is possible to detect flip cover opening/closing events in CEikAppUi::HandleKeyEventL(). The corresponding events (TEventCode) are EEventScreenDeviceChanged, EEventCaseOpened, and EEventCaseClosed. When the camera is rotated, there will be key events of type EEventKeyUp and EEventKeyDown with TKeyEvent::iScanCode values ranging from 234 to 238 depending on its orientation.
have you tried if key events for Canvas/GameCanvas or isShown() are changed during flip change state in your java game or maybe pauseApp() is called somehow?

I've searched java section for "flip" but nothing found,

regards,
Peter
Reply With Quote

#3 Old Re: N90 Interrupt - 2006-08-01, 15:23

Join Date: Dec 2005
Posts: 1,696
Location: Europe/Poland/Warsaw
peterblazejewicz
Offline
Super Contributor
hi,


try to add showNotify/hideNotify overriden implementation:
Code:
protected void hideNotify(){
            System.out.println("HIDE NOTIFY");
        }
        protected void showNotify(){
            System.out.println("SHOW NOTIFY");
        }
and stop/run your game code,
I don't have real device from s60 2rd edition FP3 (nor SDK) to test if it works though,

regards,
Peter
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
Similar Threads
Thread Thread Starter Forum Replies Last Post
N90 and SVG support edugnani Mobile Java General 3 2006-06-06 05:59
N90 support DoubleResolution(262,144 color), how can I switch double and single? steveyzhang General Symbian C++ 0 2006-03-30 07:48
Theme Studio 3 and n90 / n70 Problems Ezz666 Streaming and Video 0 2006-02-04 14:18
N90 screen resolution thongtom General Discussion 5 2006-01-19 17:50
Emulation Mode on N90 ? symbianmatd General Discussion 1 2005-09-02 11:55

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 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d127641X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE44iscussionQ qdcZtypeQUqfntypeZE44iscussionContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZentertainmentQ qfnZtopicQUqfnTopicZgamesQ qfnZtopicQUqfnTopicZj2meQ qfnZtopicQUqfnTopicZjavaQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE44iscussionQ qfnZtypeQUqfntypeZE44iscussionContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE44iscussionQ qrdfZtypeQUqfntypeZE44iscussionContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ