Contacts in qml
I’m qml beginner and i want to create an app for symbian^3 devices. I have a little problem: i want to create a gridview where the user can add contacts (with only name and phone number) by clicking a toolbarbutton. I don’t know how to do that, I’ve read qml contacts example in the SDK, but i don’t understand it. Can anyone help please?
5 replies
Hello,
Beginner too.
Can this one help you ?
http://doc.qt.nokia.com/qt5/qml-qtquick2-gridview.html#properties
Hello,
when your toolbarbutton is clicked. You can create dynamicly Contact [doc.qt.nokia.com] element, add name and phone and call ContactModel::saveContact() [doc.qt.nokia.com] . Your GridView will be automaticaly updated from the model.
You must log in to post a reply. Not a member yet? Register here!
