Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User Bogdanovich_Ilya's Avatar
    Join Date
    Apr 2008
    Location
    Moscow, Russia
    Posts
    11
    Hi everybody,

    My question is about idle screen status pane on pre-3rd edition FP2 devices. In my application I want to display status pane from idle screen (with clock, operator name and data). Does anybody know, if there is some standard way to display it in my application?
    I've tried CEikStatusPane::SwitchLayoutL(R_AVKON_STATUS_PANE_IDLE), but it displays application name in the title pane.
    CEikStatusPane::SwitchLayoutL(R_AVKON_STATUS_PANE_EMPTY) works on 3rd FP2 onwards, but has some ugly drawing bugs on my N95. Using CEikStatusPane::MakeVisible(EFalse) also didn't succeed. I'm out of ideas. Can anybody help me?

  2. #2
    Nokia Developer Moderator A.A.M.'s Avatar
    Join Date
    Jan 2008
    Location
    Moscow, Russia
    Posts
    3,308
    My question is about idle screen status pane on pre-3rd edition FP2 devices. In my application I want to display status pane from idle screen (with clock, operator name and data). Does anybody know, if there is some standard way to display it in my application?
    AFAIK, there is no any standard way to do it.

  3. #3
    Registered User yandexru's Avatar
    Join Date
    Dec 2008
    Posts
    1
    --delete this--
    Last edited by yandexru; 2009-02-20 at 09:08.

  4. #4
    Nokia Developer Moderator A.A.M.'s Avatar
    Join Date
    Jan 2008
    Location
    Moscow, Russia
    Posts
    3,308
    Welcome to the Forum Nokia Developer Discussion boards.

    You can constuct your own status pane layout. See StatusPane API: Status pane API (and also Creating your own status pane resources)
    Some additional useful links:
    - Status panes
    - Navigation Pane API: Using Navigation Pane API

    This code works correctly for me:
    Code:
    // MyAppUi.cpp
    /////////////
    
    // Gets a pointer to the status pane 
    CEikStatusPane* sp = StatusPane();
    
    // Changing status pane visibility to invisible
    sp->MakeVisible( EFalse );
    Also check this article in Wiki: How to make a full-screen application using Symbian C++.

    For getting current date and time you can simply use:
    Code:
    TTime now;
    now.HomeTime();    // get current date and time
    for getting current profile name you can use Profiles Engine API (also see Retrieving profile information on S60 3rd Edition)

    PS: имя пользователя у Вас говорящее :)
    Last edited by A.A.M.; 2009-02-20 at 09:38.

Similar Threads

  1. Replies: 1
    Last Post: 2008-07-25, 14:41
  2. Settings dialog, CAknForm without status pane
    By taikajim in forum Symbian C++
    Replies: 0
    Last Post: 2008-06-18, 13:11
  3. How do I remove List Highlight from Idle Preview screen?
    By ctranimated in forum Themes/Carbide.ui
    Replies: 1
    Last Post: 2008-05-22, 08:08
  4. status pane do not show ...help
    By gigglie in forum Symbian C++
    Replies: 2
    Last Post: 2008-01-14, 04:51
  5. A question of Status pane on 9210
    By hellmester in forum Symbian User Interface
    Replies: 1
    Last Post: 2002-11-11, 04:47

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