Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Posts: 610
Registered: ‎10-17-2010
My Device: (BlackBerry Z10)-> Q10/Passport Dual Use

Easiest way to create a "favorites" feature



This seems to be a common feature. Would you use QSettings, Sqlite, write to file etc? What's the easiest implementation if you just want to save key value pairs?


Who here has done this?

Posts: 526
Registered: ‎05-17-2009
My Device: 9900
My Carrier: ATT

Re: Easiest way to create a "favorites" feature

QSettings can save QVariantMaps so that sounds like the easiest way to store key/value in a map
Like all of my posts
Posts: 1,008
Registered: ‎12-12-2010
My Device: Passport (Red Limited Edition)
My Carrier: Mobile Vikings

Re: Easiest way to create a "favorites" feature

QSettings is as easy as it gets, I recommend it.

BlackBerry Certified Builder for Native Application Development -- Proud member of the Belgian BlackBerry Developer group
Samples: Park in Ghent
Feeling generous? Nominate me for BB Elite member!