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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Web and WebWorks Development

Reply
Contributor
fasterfene
Posts: 31
Registered: ‎12-05-2011
My Carrier: No

How to use caching in webwork application?

Hi ,

I have created webwork application and I want to implement application level caching .

Is there any way to implement caching ?

We can use <feature id="blackberry.widgetcache" /> to check cache but we can't cache the application using this API.

Please help me on this ...

 

 

Thanks,

Faster Fene

Please use plain text.
Developer
JCarty
Posts: 1,055
Registered: ‎01-25-2009

Re: How to use caching in webwork application?

[ Edited ]

If you are supporting Webkit only devices (BB 6, BB 7 and PlayBook), use ApplicationCache instead.

Here is a resource to get you started:

http://www.html5rocks.com/en/tutorials/appcache/beginner/

 

If you support BB 6, note the following:

 

Support for Application Cache on BlackBerry Smartphones starts with 6.0.0.418

 

Jerome Carty - Follow jcarty on Twitter@jcarty | #webworks-dev / #BlackberryDev on irc.freenode.net | My Apps
Click "Accept as Solution" if post solved your original issue.. Give like/thumbs up if you feel post is helpful
Please use plain text.
Contributor
fasterfene
Posts: 31
Registered: ‎12-05-2011
My Carrier: No

Re: How to use caching in webwork application?

Hi,

Thanks for your response.

I am developing application compatible with OS 5.0 + devices ..

Is there any API's provided to cache the webwork application pages ?

 

Thanks,

Faster Fene

 

Please use plain text.
Developer
JCarty
Posts: 1,055
Registered: ‎01-25-2009

Re: How to use caching in webwork application?

I don't believe so. However, you should be able to write your own caching mechanism using the SD card.

OS 6+ is your best bet if you want richer functionality not available on 5.0.
Jerome Carty - Follow jcarty on Twitter@jcarty | #webworks-dev / #BlackberryDev on irc.freenode.net | My Apps
Click "Accept as Solution" if post solved your original issue.. Give like/thumbs up if you feel post is helpful
Please use plain text.
Contributor
fasterfene
Posts: 31
Registered: ‎12-05-2011
My Carrier: No

Re: How to use caching in webwork application?

How can I achive this functionallity using HD card?

Please use plain text.