简体   繁体   中英

How to add extra menu item while tapping for long time on a contact of phonebook?


I don't know whether it is possible or not. But what i want to do is, when my app is running on background i want to add an extra menu item when user is using the system phonebook and pressing a contact for long time. For example Symbian^3 and later phones when we press a contact for longer time a pop up menu appears having some default menu items like:

Call
Send Message
Add to Favourite
Send as Business Card
Delete
Mark

Now I want to add another menu item like “MyItem” when my app is running in background. Is it possible to do in Symbian using Qt, or using Basic Symbian ?

It is possible in Symbian C++ (not in Qt). The framework that serves these requests is called RSendAs . You have to write your own Message Type Module (MTM) and register it to the Send As framework. I warn you that it can be quite difficult. Unfortunately I did not do this but I know there are applications out there that succeeded with this.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM