I was trying to make my app based on parse.com available offline, the official tutorial can be found here: blog.parse.com/2014/04/30/take-your-app-offline-with-parse-local-datastore/
In my app, I provide a button to connect to internet, get the list of all ParseObjects I want to keep and pin them all. My app is just a listview that populates from local datastore.
When I tried my app with airplane mode on, I was hoping that it could load from previous objects that have been pinned. But it freezes instead, prompts me to exit the app because it isn't responding. LogCat says "com.parse.parseexception i/o failure" which obviously is an internet connection problem.
I just want to save the cache so users won't have to refresh new data every time the app is opened.
According to the parse api.
saveEventually()
would be the function that you want to use or you can use internal storage to save the parse object.It is mentioned detailed here.