After wondering a lot I am not able to find the proper solution to set and get the cookies in an android application.
Kindly share your idea with some sample source code for the same. Any help would be greatly appreciated .
A cookie is just another HTTP header. You can always set it while making a HTTP call with the apache library or with HTTPUrlConnection. Either way you should be able to read and set HTTP cookies in this fashion.
I want to set some variables to my application and which will be accessible all over the application. Just like session management in J2EE.
And gone through the above details and I do not have any url to set inside the code . If I'm wrong could you please post some sample codes for the same.