Discussion Board
How to Download sis file by wap (other than Bluetooth and infrared)
2002-08-14, 05:50
#1
Regular Contributor
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
RE: How to Download sis file by wap (other than Bluetooth and infrared)
2002-11-20, 16:53
#2
Regular Contributor
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
Forum Rules