Series 60 C + + development partners can now write some application software, used to respond to the user to open or close the phone cover, mobile camera or change direction. The above two kinds of user actions are likely to appear in the Nokia N90 multimedia terminal. Event of such software from Series 60 2nd Edition Feature Pack 2 has been supported later on. For example, when users close the terminal when the developers make their output automatically transferred to the external color display, and when the user opens the terminal, the output in turn automatically transferred to the internal display (usually the internal display larger).
For an application to add these features, simply in CEikAppUi:: HandleKeyEventL () to add some event handlers. Corresponding event (TEventCode) is EEventScreenDeviceChanged, EEventCaseOpened, and EEventCaseClosed. When the camera rotates, it is EEventKeyUp and EEventKeyDown types of key events.
The following sample code is used to detect the current camera position:
# Include / / link against ecam.lib
CCamera * cam = CCamera:: NewL (* this, 0);
TCameraInfo info;
cam-> CameraInfo (info);
TCameraOrientation orientation = info.iOrientation;
Recommended links:
convert .mp4 to .avi
Download FlashGet 1.83 FlashGet universal tool for new FRONT-LINE speed
convert mp4 to MP3
avchd to mov
RUP tailoring principles and cutting PROCESS
Compare Benchmarking
News About Astronomy
Hangzhou 3gfax digital fax machine (single version) and lowering the price, now only 1280 yuan
Promotions Are You ready?
WiMax To Japan Side Length
Netac, shake hands suspense Huaqi
Media Relations Public Relations Manager, how to protect journalists
RFID into the competition for the critical period
Free mp4 to mpeg converter
SONG Jun-de: fixed integration will create new VALUE space
Best Cursors And Fonts
No comments:
Post a Comment