×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Aug 2004
    Location
    Hyderabad,India
    Posts
    808

    Browser and embedded application

    I am launching browser from my application to one of the wap page. It is working and when i download one file (specific file with MIME to be handled by my application)from there it is automatically launching my application(i.e., my application is getting embedded to browser). but when i press exit soft button
    It is exiting browser by giving message
    APP. Closed . Browser

    (code for exit soft button is
    SaveL();
    PrepareToExit();
    Exit();

    I tried with other code also
    PrepareToExit();
    User::Exit(0);
    )

    But i want the following specific behavior

    My embedded application should get closed.
    Browser should be at tha same wap page(So that I further download some other files).

    Can some one guide me how to achieve this

    I have one more doubt

    How my main application know that one more instance of application is running as embedded application and is it possible to get some notification when that instance of application is closed
    Thanks in advance
    SSS

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,169
    have you done this already:
    http://www.newlc.com/article.php3?id_article=150

    so the errors would show correctly.

    Anyway, did you also remember to tell the browser that you are exiting. i.e. do this:

    if (iDoorObserver) iDoorObserver->NotifyExit(MApaEmbeddedDocObserver::ENoChanges);

    in your AppUi's destructor.

    yucca

  3. #3
    Registered User
    Join Date
    Aug 2004
    Location
    Hyderabad,India
    Posts
    808
    hi Yucca,
    Thanks for your reply.
    I have already implemented the following code

    if (iDoorObserver) iDoorObserver->NotifyExit(MApaEmbeddedDocObserver::ENoChanges);

    in my AppUi's destructor

    What could be the reason for the browser crashing
    The article u have specified is for 1.2 SDK and i am working on 6600 (SDK 2.1)

    Do u have any idea for my other doubt

    How my main application know that one more instance of application is running as embedded application and is it possible to get some notification when that instance of application is closed

    Thanks in advance

    SSS

Posting Permissions

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