Hi,
I'm trying to enable offline OData in an Android Application. I created the application via the creation wizard in Android Studio and everything worked fine with the online OData. Then I followed this guide:
but I encounter this problem: on the first launch the offline data store in created according to the backend data, nevertheless If I try to edit a record and then closing the app, when i open it again the edited record is still there even if there was no change on the backend data, like the app is not actually refreshing the offline store but just showing a saved copy of it.
Can anyone help?
Request clarification before answering.
I would suggest examining the ErrorArchive after attempting to do an upload. I assume it will contain an entry on the failed upload.
There are further details on this topic at
Step 5: Display ErrorArchive details
and
If you wish to discard the local change that is failing to be synced to the backend, the following topics describe how to do this.
Reverting an Error State
It is also possible to try this out using ILOData (an interactive tool used to issue OData commands in a console). This is described in the following link.
Step by Step with the SAP Cloud Platform SDK for Android — Part 6c — Using ILOData
Hope that helps,
Dan van Leeuwen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.