×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Dec 2007
    Location
    Bangkok
    Posts
    55

    Question How to get my app on foreground

    Hi,

    I am writing app to wait for sms. I turn on my app and let it run in background, and then wait for sms.

    When sms comes, I hope my app to open some image file in my phone on the screen.

    The problem is that it do open and show image on screen, but it is in background.

    I would like to know how to get my app back to foreground after getting sms.

    Thank you.

    Kittinut K.
    Beyond your boundary by Forum Nokia.

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

    Re: How to get my app on foreground

    you could try:

    CCoeEnv::Static()->RootWin()->SetOrdinalPosition(0,ECoeWinPriorityAlwaysAtFront);

  3. #3
    Regular Contributor
    Join Date
    Dec 2007
    Location
    Bangkok
    Posts
    55

    Thumbs up Re: How to get my app on foreground

    Thank you very much

    Well done.

    a bit adaptation:
    iEikonEnv->RootWin().SetOrdinalPosition(0,ECoeWinPriorityAlwaysAtFront)

    It is placed in AppUi's ContructL()

    Kittinut K.
    Beyond your boundary by Forum Nokia.

Similar Threads

  1. Find out app currently in foreground
    By saviour in forum Symbian
    Replies: 0
    Last Post: 2007-12-19, 10:06
  2. Question about launch App
    By zhangwei_Nirvana in forum Symbian
    Replies: 1
    Last Post: 2007-12-13, 08:28
  3. Replies: 1
    Last Post: 2006-04-27, 18:10
  4. Replies: 0
    Last Post: 2005-05-17, 06:34
  5. moving background App to foreground
    By rbwilliams2 in forum Symbian
    Replies: 2
    Last Post: 2003-04-21, 23:27

Posting Permissions

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