save the data coming from parse (back4app) in mobile memory

Asked

Viewed 107 times

0

I am trying to save the data coming from the parse on the device, when it has connection to the internet it works, but when it does not have it does not work so the data only appear when it has internet

parse offers this code line for the procedure

ParseObject.pinAllInBackground(listOfObjects);

doubt is where implement - lo on mainActivity? on Adapter?

  • Already tried using Sqlite?!

  • Sqlite no, I’m using parse in my app, and it’s already ready so I can’t change my agr database.

  • I get it, Perse is then in the cell phone but it is not persisting the data. You have to debug your code without internet and see what is happening, in fact debug with and without, to see if you are giving any error etc. Try to check and improve your question, because otherwise no one will be able to help you.

  • No error appears, just want the application to save data coming from offline database on the device.

  • I have never entered information into the internal database using anything other than the native one. You should then read the documentation for this "Parse".

  • https://docs.back4app.com/docs/android/how-to-build-an-android-app-on-back4app/

  • How do you take the parse data and show in the application?

Show 2 more comments
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.