How to launch a browser with a given URL within the same tab
- by Bojan Milankovic
Here is some code to launch S60 browser with a given url.
// use the StartDocument api
param->Des().Format( _L( "4 %S" ),&aUrl );
TUid id( TUid::Uid( browserUid ) );
TApaTaskList taskList( CEikonEnv::Static()->WsSession() );
TApaTask task = taskList.FindApp( id );
if ( task.Exists() ) {
HBufC8* param8 = HBufC8::NewL(…