hi,
i started the new application using the following code
const TInt KUid = 0xxxxxxxxx;
TUid id( TUid::Uid( KUid ) );
TUid msgapid(TUid::Uid( _UID3 ));
TApaTaskList taskList( CEikonEnv::Static()->WsSession() );
TApaTask task = taskList.FindApp( id );
if ( task.Exists() )
{
#if 1 //capabilities:SwEvent
_LIT8(params,""); //capabilities:SwEvent
task.SendMessage( msgapid, params); // Send a Uid to that will callback.
task.BringToForeground();
#else
//Close
EndTask(id,100);
//Launch
HBufC* param = HBufC::NewLC( 256 );
param->Des().AppendNum(msgapid.iUid);
RApaLsSession appArcSession;
User::LeaveIfError(appArcSession.Connect()); // connect to AppArc server
TThreadId idt;
appArcSession.StartDocument( *param, TUid::Uid( KUid ), idt );
appArcSession.Close();
CleanupStack::PopAndDestroy(); // param
#endif
}else{
//Launch
HBufC* param = HBufC::NewLC( 256 );
param->Des().AppendNum(msgapid.iUid);
RApaLsSession appArcSession;
User::LeaveIfError(appArcSession.Connect()); // connect to AppArc server
TThreadId idt;
appArcSession.StartDocument( *param, TUid::Uid( KUid ), idt );
appArcSession.Close();
CleanupStack::PopAndDestroy(); // param
but i dont know how to access and use *param parameter in the new application.can any one please provide me the example of how can i access it and where can i access it
thanks






