函数在真机上为什么用不了iProfileNotifyHandler = ProEngFactory::NewNotifyHandlerL()

psychickk 2008-04-17 04:09:04
我在应用程序里加了
iProfileNotifyHandler = ProEngFactory::NewNotifyHandlerL();
iProfileNotifyHandler->RequestProfileActivationNotificationsL(*iAppView)
想使情景模式改变后我的应用程序能够得到通知,以便做出相应的处理。

应用程序在模拟器上能运行,生成的sisx在真机中却运行不了,在N71 N91中都测试过,应用程序都启动不了。发现就是因为上面这个函数使程序在真机中无法启动,如何解决这个问题,敬请指教,谢谢!
...全文
67 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
lspo816 2008-04-20
  • 打赏
  • 举报
回复
加个WriteDeviceData 能力试试
psychickk 2008-04-19
  • 打赏
  • 举报
回复
我是在SDK自带的HelloWorldBasic例子加的,不知道怎么样才算是一个non-global UI note。请指教
lspo816 2008-04-19
  • 打赏
  • 举报
回复
sdk写的很明白, Launching a non-global UI note in a server process will result in a panic.
你需要在你的exe中支持ui环境,你可以写一个支持ui的exe,然后再测试一下

Good Luck~ :)
psychickk 2008-04-18
  • 打赏
  • 举报
回复
To lspo816:
那有什么解决的办法,或者其它可替代的函数吗?
lspo816 2008-04-17
  • 打赏
  • 举报
回复
Limitations of the API

This API cannot be used by a server component which needs to set a DRM-protected tone as an alert tone. This is because the DRM library used by this API launches some UI notes that are not global. Launching a non-global UI note in a server process will result in a panic.
herero 2008-04-17
  • 打赏
  • 举报
回复
你别恭喜,你可是大版主,您得参加,积极响应,哈哈
psychickk 2008-04-17
  • 打赏
  • 举报
回复
急呀,各位大哥大姐帮帮忙呀!

3,120

社区成员

发帖
与我相关
我的任务
社区描述
塞班系统(Symbian系统)是塞班公司为手机而设计的操作系统,它的前身是英国宝意昂公司的 EP ( Electronic Piece of cheese)操作系统。
社区管理员
  • Symbian社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧