save post data for later posting
hi,
How can I do this?
Before I call a service that posts data to the server, I just want to do a check if there is network / internet. If there is no connectivity then I want to save it on the device and post it later. What would be a clean and reliable way to do this?
Save it as JSON? separate local storage variables? I have some rough ideas about this but any pointers towards a easier and reliable solution will be great
Thanks,
M&M