×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Feb 2005
    Posts
    151

    Angry Why screensaver prevented application from being sent to background?

    My application has two views: Main view and Option view. While the option view is showing, and press "back" softkey to return, the application will activate main view and then send the application to background. The codes are:

    void OptionView::HandleCommandL(TInt aCommand)
    {
    switch ( aCommand )
    {
    case EAknSoftkeyBack:
    AppUi()->ActivateLocalViewL(TUid::Uid(EMainViewId));
    ((CDictionaryAppUi*)CCoeEnv::Static()->AppUi())->SendToBackground();
    break;

    Normally, it worked fine. But when in option view and wait for a period untill screensaver appears, then press "back" softkey, strangely the application can not be sent to background. The application just shows the Main View and keeps in the foreground. I do not know why the SendToBackground() was not executed.

    Can anybody comment on this. Thanks a lot!

  2. #2
    Regular Contributor
    Join Date
    Feb 2005
    Posts
    151

    Red face Re: Why screensaver prevented application from being sent to background?

    Sorry, I made a mistake. It is not the reason of Screensaver. I've solved it.

Similar Threads

  1. Background application
    By iulian_moldovan in forum Symbian
    Replies: 1
    Last Post: 2007-02-16, 22:44
  2. Replies: 0
    Last Post: 2007-02-01, 06:54
  3. small problem in screensaver application
    By sunny_singh in forum Symbian
    Replies: 0
    Last Post: 2005-11-21, 05:35
  4. Replies: 1
    Last Post: 2005-08-29, 04:18
  5. Background application
    By ajsanchez in forum Symbian
    Replies: 7
    Last Post: 2004-07-02, 09:26

Posting Permissions

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