The Entity class may look similar to this. The fields that it may have.
long locallyGeneratedUID; long appEngineUID; long timestamp; char tag; int/String appPackageName; String jsonStringData;
_ID, // 0 TITLE, // 1 NOTE,//2 CREATED_DATE, MODIFIED_DATE,//4 TAGS, ENCRYPTED,//6 THEME, SELECTION_START,//8 SELECTION_END, SCROLL_POSITION//10
Data of all fields will be put in one String using Json.
--
You received this message because you are subscribed to the Google Groups "OpenIntents" group.
To view this discussion on the web visit https://groups.google.com/d/msg/openintents/-/oM0yVUNYj7MJ.
To post to this group, send email to openi...@googlegroups.com.
To unsubscribe from this group, send email to openintents...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/openintents?hl=en.
Is there a reason you've chosen to use Json as the storage format for the string?
To unsubscribe from this group, send email to openintents+unsubscribe@googlegroups.com.
I'm not sure it is worthwhile to maintain separate sets of UIDs for local and remote identification of the same object.
To view this discussion on the web visit https://groups.google.com/d/msg/openintents/-/FLScTofabtEJ.
To post to this group, send email to openi...@googlegroups.com.
To unsubscribe from this group, send email to openintents...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "OpenIntents" group.
To view this discussion on the web visit https://groups.google.com/d/msg/openintents/-/9AYuNVCerIwJ.
To unsubscribe from this group, send email to openintents+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/openintents/-/F-yQmG7vslgJ.
To post to this group, send email to openi...@googlegroups.com.
To unsubscribe from this group, send email to openintents...@googlegroups.com.
Details like how to store data or whether to use AppEngine specific variables can always be modified later on.
It is good to think about the general strategy, but this should not lead to unnecessarily complex design structures early in the process. Even if we start with the simplest possible solution with most straightforward implementation now, it can always be expanded to something more general later on.
1) to upload those to the OI repositories and start from there.
If there is other code coming soon then just commit that :-)
Peli
To view this discussion on the web visit https://groups.google.com/d/msg/openintents/-/W2MY4-JkQHEJ.
To post to this group, send email to openi...@googlegroups.com.
To unsubscribe from this group, send email to openintents...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/openintents/-/k8PBW6DH-UQJ.
To post to this group, send email to openi...@googlegroups.com.
To unsubscribe from this group, send email to openintents...@googlegroups.com.