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
New Contributor
Posts: 4
Registered: ‎05-14-2013
My Device: Bold
My Carrier: 918686369390

Can we use persistent memory in plugging for BBOS 5

Hello all,

i am trying to write a plugin for BBOS 5(using webworks sdk and phonegap) ,in that i am trying to save some variable in persistent memory.i am failing every time ,help me with some links..and suggest me if i am going in wrong way.

Thanks in advance.

Retired
Posts: 1,561
Registered: ‎04-12-2010
My Device: BlackBerry Z10
My Carrier: Bell

Re: Can we use persistent memory in plugging for BBOS 5

Best starting point would be this Community Extension here:

https://github.com/blackberry/WebWorks-Community-APIs/tree/master/Smartphone/Storage


Erik Oros | @WaterlooErik | eoros@blackberry.com | Developer Issue Tracker

If a reply has answered your question, please click Accept as Solution to help other visitors in the future.
Developer
Posts: 1,229
Registered: ‎03-20-2011
My Device: Playbook, Z10 LE, Dev Alpha B, 2x Dev Alpha C
My Carrier: 3, Orange, Vodafone

Re: Can we use persistent memory in plugging for BBOS 5

There's a bug in BBOS5 that means localStorage don't work

 

We ended up abstracting it to get the stuff to work (replaced localStorage with some hack on 5)

 

Then we found out how bad the browser was and dropped that platform

 

If you're looking for a stable across all versions start at 7

 

If you are targeting 5 specifically I'll try to get release on our BB5 code from the bloke who wrote it




Click the like button if you find my posts useful!