Select to view content in your preferred language

Offline Editing via Android SDK

2766
1
01-17-2012 08:34 AM
BlairDeaver
Deactivated User
Hello,

I wanted to find out if offline editing capabilities are planned for the Android SDK (similar to the iOS SDK) or if this is already available in the current build?  Thanks!

Cheers,
Blair
0 Kudos
1 Reply
IvanBespalov
Frequent Contributor
This is second post about it. First was here.

1 - I think offline adding is not a question. Just save created features on internal or external storage (in text file - JSON, xml, CSV or any other format you can read and write with JAVA code).

2 - If feature must be deleted offline, you must know (offline) anything about this feature: some unique attributes (OBJECTID or globalId or ... any other unique attribute value), if you know it make the same steps as adding offline.

3 - Editing offline means, what you know (offline) all editable attributes, if you know it make the same steps as adding offline.

4 - If device is connected to internet - synchronize data: read saved addings, deletes and edits - convert to JSON - send to server. Listen server response - edit conflicts. ...

Last person, who send edits to server wins.
0 Kudos