Welcome!

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

Web and WebWorks Development

Reply
Developer
Posts: 22
Registered: ‎11-18-2009
My Device: Not Specified

saveing properties

Is there an API to save key/value pairs for a Widget, that stay when the Widget is closed and restarted?

 

E.x. for Settings for the Widget or Account Data.

 

I would rather not use a Database or write files if there is a more common way.

Retired
Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: saveing properties

Hi There,

 

Unfortunately, at the moment there isn't a key/value pair saving like in the widget spec for get/set preferences.  Your current options are persistent cookies, database or file storage.

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter
Developer
Posts: 22
Registered: ‎11-18-2009
My Device: Not Specified

Re: saveing properties

Mh alright. =) Thank you for helping me with my several questions!

 

As I'll go on holidays now: Merry Christmas and a Happy New Year!