×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Feb 2006
    Location
    Espoo, Finland
    Posts
    43

    Question Catching shutter camera key in Belle

    Hi
    I was successfully catching camera shutter key for capturing picture in my own app using
    http://www.developer.nokia.com/Commu...y_applications

    But after updating to Belle on my C7 (and customer's E7) standard camera application is started on shutter press.
    I've checked the logs and I see that I still get in OfferKeyEvent appropriate camera shutter key events:
    EKey: iCode = 0xf849, iScanCode = 0xab, aType: 0x1
    but only after app coming back into focus from closed built-in camera application, which is not good for me.

    And I do
    handle = iEikonEnv->RootWin().CaptureKeyUpAndDowns(0xf849 , 0, 0);
    for this iCode = 0xf849 at view initialization.

    Is there is another way not to start camera app on shutter press?

    So far user can just make pic by clicking on a screen, but doing it with camera key is much better for some users.

    I saw that there is a way to use CNewFileServiceClient
    http://www.developer.nokia.com/Commu...ice_Client_API
    But I'll have to rewrite a big part of applicaiton, and as I understood I'll need UID of camera app, which can be different for different phone models (or is it the same for all Nokia phones?).

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,167

    Re: Catching shutter camera key in Belle


  3. #3
    Registered User
    Join Date
    Feb 2006
    Location
    Espoo, Finland
    Posts
    43

    Re: Catching shutter camera key in Belle

    I was actually already using CaptureKeyUpAndDowns, but for the same events (EKeyCameraShutter 0xf883 etc) as for CaptureKey. Not for EStdKeyCameraFocus 0xe2, EStdKeyCameraFocus2 0xeb, and EStdKeyDevice7.

    Thanks for the link, I've missed it somehow.

Similar Threads

  1. Camera Shutter
    By hclemson in forum Symbian Media (Closed)
    Replies: 4
    Last Post: 2009-10-07, 15:25
  2. how to capture the camera shutter open event from the camera phones?
    By kanishk_408 in forum Mobile Java Media (Graphics & Sounds)
    Replies: 6
    Last Post: 2009-06-10, 11:06
  3. how to capture the camera shutter open event from the camera phones?
    By kanishk_408 in forum Mobile Java General
    Replies: 1
    Last Post: 2009-06-05, 12:50
  4. Camera shutter
    By 1xuname1x in forum Symbian
    Replies: 3
    Last Post: 2009-04-27, 10:16
  5. Camera Shutter Sound
    By davidmanpearl in forum Mobile Java Media (Graphics & Sounds)
    Replies: 4
    Last Post: 2006-02-28, 23:15

Posting Permissions

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