Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User ysdl's Avatar
    Join Date
    Sep 2003
    Posts
    25
    I'm testing a camera app in N93i.

    When I call

    TDisplayMode displayMode = CEikonEnv::Static()->WsSession().GetDefModeMaxNumColors(color, gray);

    I suppose it return the max number color of the phone support. In my case it return
    "EColor16MU".

    My question is :
    I don't want to use "EColor16MU", I want to use even smaller color like "EColor64K".
    I'm actually using

    iDisplayMode = EColor64K;
    iColorDepth = CCamera::EFormatFbsBitmapColor64K;

    for my application. It is working fine in N93i so far.
    1. I'm just wondering if there will be any side-effect if I don't use the displayMode return from WsSession().GetDefModeMaxNumColors?

    2. Is EColor64K and EFormatFbsBitmapColor64K working with all S60 3rd phone?

    I'm appreciated if you can give me any advise.

    Thanks,
    ysdl

  2. #2
    Registered User iothal's Avatar
    Join Date
    Mar 2003
    Posts
    23
    As far as I know it should be fine for you to use whatever mode you want internally in your application.
    This is not optimal though as there will have to be a conversion to screen display mode when you blit your image data through
    BitGDI. Still, if you do not though this more than once per frame, it should not kill you.

  3. #3
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    27,744
    Also note that default mode is one thing, but the current mode (reported by CWsScreenDevice:isplayMode) might be an other one.

Similar Threads

  1. Camera activation using keypad
    By akshaychaudhari in forum Mobile Java General
    Replies: 4
    Last Post: 2009-02-11, 05:20
  2. N95 8G Camera Burst mode
    By aefr123 in forum Streaming and Video
    Replies: 0
    Last Post: 2009-01-08, 14:25
  3. Camera and display
    By Rtinny in forum Symbian Media (Closed)
    Replies: 3
    Last Post: 2007-07-06, 02:32
  4. N90, disable automatic camera mode
    By orlowjb3 in forum Symbian Media (Closed)
    Replies: 2
    Last Post: 2005-12-08, 20:30
  5. N90 how to disable automatic camera mode
    By orlowjb3 in forum Mobile Java Media (Graphics & Sounds)
    Replies: 0
    Last Post: 2005-09-27, 13:57

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved