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: 29
Registered: ‎05-28-2013
My Device: z10
My Carrier: rogers

Best Practice for clearing the cache

In the data/ directory of the application there are folders that containts cookies, certificates, and caching data. Those files are generated presumably when using WebView or fetching any data from the net.


What is the best way to remove it?

Posts: 133
Registered: ‎05-10-2013
My Device: Blackberry Z10
My Carrier: -

Re: Best Practice for clearing the cache

Look into WebStorage, which gives functions for clearing the Cookie Jar.

Remember to mark the thread as solved at the post that solved your problem, and if you like a post, like it!
Posts: 28
Registered: ‎06-17-2013
My Device: Z10
My Carrier: Bell

Re: Best Practice for clearing the cache

I used 




to clear the cookie from webview in c++ code.