是否可以在后台运行 q Qt Symbian 应用程序并与主屏幕交互?
我正在使用 Qt for Symbian 编写一个 Symbian 应用程序,该应用程序应该在 S60 第 3 版 FP1、FP2 和第 5 版手机上运行。
在我的应用程序中,我需要实现推送通知功能,以通知用户服务器上的更改。基本上,它是一个待处理任务应用程序。当新任务分配给用户时,应该通知他。
理想情况下,用户将启动应用程序并以某种方式将其发送到后台,以便它将继续等待推送通知(这是另一个问题,但我必须先搜索一下!)。
当推送通知到来时,理想情况下,通知会显示在用户的主屏幕上,就像指示即将到来的日历约会一样。如果这是不可能的,则可以使用来自应用程序的弹出通知。
问题是,仅使用 Qt for Symbian 就可以实现这种功能吗?如果没有,有人可以指导我正确的方向吗?到目前为止,我只找到了 Homescreen Publishing API,但这仅适用于 Series 60 第 5 版手机。
谢谢!
I'm writing a Symbian application using Qt for Symbian that is supposed to run on S60 3rd edition FP1, FP2 and 5th edition phones.
In my application, I will need to implement push notification functionality that will notify the user of changes on the server. Basically, it is a pending tasks application. When a new task is assigned to the user, he should be notified.
Ideally, the user will start the application and somehow, send it to the background so that it will continue to wait for push notifications (which is another question, but I will have to search a bit first!).
When a push notification comes, ideally, a notification is displayed on the homescreen of the user, much like indicating up coming calendar appointments. If this is not possible, then a popup notification from the application might do.
The question is, is such kind of functionality possible with Qt for Symbian alone? If not, can somebody direct me in the right direction? So far I've only found the Homescreen Publishing API but this is for Series 60 5th edition phones only.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
对于第三版手机,没有已发布的添加到主屏幕的方法。我看到评论说有一个 API,但没有文档,而且它只能在你的 ROM 中工作,所以它不可用。
您可以将覆盖窗口添加到主屏幕。 这是诺基亚的示例。
我还没有完成任何第五版的工作但我不知道。
For 3rd edition phones there is no published way to add to the homescreen. I've seen comments that there is a API but there is no documentation and it only works in you are in ROM so it's not usable.
You can add a overlay window to the homescreen. Here is an example from nokia.
I haven't done any 5th edition work yet so I don't know.