×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Apr 2008
    Location
    Moscow, Russia
    Posts
    11

    Idle screen status pane

    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 Champion
    Join Date
    Jan 2008
    Location
    Moscow, Russia
    Posts
    3,348

    Re: Idle screen status pane

    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
    Join Date
    Dec 2008
    Posts
    1
    --delete this--
    Last edited by yandexru; 2009-02-20 at 09:08.

  4. #4
    Nokia Developer Champion
    Join Date
    Jan 2008
    Location
    Moscow, Russia
    Posts
    3,348

    Re: Idle screen status pane

    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
    Replies: 0
    Last Post: 2008-06-18, 13:11
  3. status pane do not show ...help
    By gigglie in forum Symbian
    Replies: 2
    Last Post: 2008-01-14, 04:51
  4. 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
  •  
×