I'd like to get some advice from more experienced Connect IQ developers concerning data storage.
Let's assume I would like to store 18 GPS coordinates as one set of data (if you think of the position of 18 greens on a golf course, that's a good guess). The app needs only one value at a given time (the position of the green on the current hole).
Let's also assume that in a later stage I would like to keep more than one set of 18 coordinates (for different courses), e.g. 9 courses numbered 1-9. The user would select which set to use for a round, and the app would then load and store the corresponding positions.
Is there a particularly good or a particularly bad way how to define and handle a data structure? Is it better to keep 9 * 18 coordinates in 9 * 18 properties, or are 9 arrays of length 18 in 9 properties better (i.e. faster/more memory efficient)? Or 9 dictionaries? Or one property holding all 9 * 18 coordinates?
I would assume that it is a bad idea to load more than one coordinate at a time (e.g. a full course), which would point to 9 * 18 single properties. Am I wrong?
Last question, and I think I know the answer: is there a way how two apps could share the same set of properties? Think of a separate app to create and edit course data, in order to keep the actual score tracker lean.