×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    81

    How to Download sis file by wap (other than Bluetooth and infrared)

    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
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    260

    RE: How to Download sis file by wap (other than Bluetooth and infrared)

    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
  •  
×