×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Mar 2010
    Posts
    16

    opeing url in mobile broser and going back to application

    hi there,

    I am opening one url using following code in mobile browser

    const TInt KWmlBrowserUid = 0x10008D39;
    TUid id( TUid::Uid( KWmlBrowserUid ) );
    TApaTaskList taskList( CEikonEnv::Static()->WsSession() );
    TApaTask task = taskList.FindApp( id );
    RApaLsSession appArcSession;
    User::LeaveIfError(appArcSession.Connect()); // connect to AppArc server
    TThreadId thid;
    if(iClickUrl != NULL && iClickUrl->Length()>0){
    RBuf clickUrl;
    clickUrl.Create(iClickUrl->Length());
    clickUrl.Copy(*iClickUrl);
    appArcSession.StartDocument(clickUrl, TUid::Uid( KWmlBrowserUid ), thid );
    clickUrl.Close();
    }
    appArcSession.Close();

    above code perfectly opens the given url in mobile browser, but when I hit 'Back' button in mobile to go back to my application it goes to mobile
    bookmarks section. It's not leaning me back to my application

    Can some one please tell me what should I do, so that I can go back to my application.


    Thanks
    Bharat

  2. #2
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: opeing url in mobile broser and going back to application

    you might want to check "Browser Launcher API" from "SDK API Plug-in" refer to wiki for example.
    you might also want to check "Browser control APIs"

  3. #3
    Registered User
    Join Date
    Mar 2010
    Posts
    16

    Re: opeing url in mobile broser and going back to application

    Thank you Mr.Rao! Let me check them.

    ~Bharat

Posting Permissions

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