打印

如何用程式讓手機上的Realplayer瀏覽3GP

小弟用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也可以這樣寫嗎??
这段代码有什么用的呢?
我最近也是用诺基亚的7610做测试  下载3GP视频到手机上 手机老是显示乱码 而且是用记事本打开的 很郁闷 如果哪个大哥大姐知道怎么解决的话  麻烦告诉小弟一声 谢谢
3gp之所以显示乱码是因为你在mime.types没有配置好相关3gp的类型
手机没有设置好3gp的类型
折除~~重组自己~~~
MyBlog

TOP

还在为头像烦恼?还在为不能关注好友动态烦忧?快来蓝色理想家园吧!