Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor engrsanjiv's Avatar
    Join Date
    Mar 2003
    Posts
    81
    Hello,
    My application is in server with some domain name.I would like to download the sis file in mobile phone(7650).
    I can open the web page with url from my application by wap.
    Let me know how to proceed further ?????

    Thanks

    With regards

    Sanjiv

  2. #2
    Regular Contributor etunkelo's Avatar
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    260
    To answer one part of your question. You can open a apecific wap page in the following way:

    -----------------------
    HBufC* param = HBufC::NewLC( 20 );
    //param->Des().Copy( _L( "4 http://wap.yahoo.com/" ) );
    param->Des().Copy( _L( "4 wap.yahoo.com/" ) );
    // Wap Browser's constants UId

    const TInt KWmlBrowserUid = 0x10008D39;
    TUid id( TUid::Uid( KWmlBrowserUid ) );
    TApaTaskList taskList( CEikonEnv::Static()->WsSession() );
    TApaTask task = taskList.FindApp( id );
    if ( task.Exists() )
    {
    HBufC8* param8 = HBufC8::NewLC( param->Length() );
    param8->Des().Append( *param );
    task.SendMessage( TUid::Uid( 0 ), *param8 ); // Uid is not used
    CleanupStack::PopAndDestroy();
    }
    else
    {
    RApaLsSession appArcSession;
    User::LeaveIfError(appArcSession.Connect()); // connect to AppArc server
    TThreadId id;
    appArcSession.StartDocument( *param, TUid::Uid( KWmlBrowserUid ), id );
    appArcSession.Close();
    }
    CleanupStack::PopAndDestroy(); // param
    -----------------------

    Sorry, I can't give you a direct answer this time on how to download your sis file automatically.

    Developer Support
    Forum Nokia

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved