参考帖子:
(1)、http://discussion.forum.nokia.com/forum/showthread.php?t=165457
(2)、http://discussion.forum.nokia.com/forum/showthread.php?t=165457&page=2
(3)、http://mikie.iki.fi/symbian/autostart.html
打开链接(3),下载 例子代码(Recognizer/autostart )
注意如下地方:
例子代码中“#ifdef __WINS__”未注销,这里要注销掉,因为 如(1)中 19楼 所言
“把#ifdef __wins__去掉吧,RApaLsSession 真机也可以用。
RProcess主要用来启动控制台程序。”
我这里并不是用于“控制台程序”,实际上 “#else”到“#endif” 中间的代码应该可以注释掉。
代码中 ①处,应该填入 目标程序 “.pkg” 中的UID,类似 “#{"程序名"},(0x00abcdef), 0, 1, 1 ”,则应该填入 “0x00abcdef”。
还有,确保“cl_autostart.mdl”已安装到目录“//system//recogs//cl_autostart.mdl” 。