小弟用Nokia N71去看3Gp的影片結果出現結果無法看!
只後小弟去網上找尋教學!
找到了這篇!但不是很懂!
那位大大可以教導一下小弟嗎?
-----------------------------------------------------------------------------------------------------------------------------------------
TDataType type;
RApaLsSession appArcSession;
// connect to AppArc server
User::LeaveIfError(appArcSession.Connect());
TUid aUid;
appArcSession.AppForDocument(aFileName, aUid, type);
if (aUid != TUid::Uid(0) )
{
// Application found that could handle the file. Now we need to find
// out from task list if the application is already running.
TApaTaskList taskList( iEikonEnv->WsSession() );
TApaTask task = taskList.FindApp( aUid );
if ( task.Exists() )
{
// Application is already running. Requests the task to close its
// existing document and open a new one.
task.BringToForeground();
task.SwitchOpenFile( aFileName );
}
else
{
// Application is not running; start it with a new document
TThreadId id;
appArcSession.StartDocument( aFileName, type, id );
}
}
appArcSession.Close();
-----------------------------------------------------------------------------------------------------------------------------------------
如果小弟用的是PHP也可以這樣寫嗎??