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

Java Development

New Contributor
Posts: 9
Registered: ‎04-27-2011
My Device: 9700
My Carrier: Airtel

Not able to read cookie from BrowserFieldCookieManager


I am making an app to read the cookies from a url. The cookies value are there in BrowserFieldCookieManager object (its there in the hashmap, i can see in the debug mode)). But Im getting null when I try to retrieve them using  getCookie() method. this is the scenario for blackberry bold 9700 model.


For blackberry 9900 model, this is working fine. I dont understand why the behaviour differs from model to model. Is it because of the OS. because 9700 model has os 5.0 while 9900 has os7.0. 


Please suggest on how to get the cookies from BrowserFieldCookieManager object.




Posts: 729
Registered: ‎05-04-2011
My Device: 9700

Re: Not able to read cookie from BrowserFieldCookieManager