Nicolas Cueto wrote:
I have an Android app that uses a small amount of data (under
10Kb). The data gets updated regularly. Haven't decided when.
Perhaps every half-second, or perhaps when the user hits the
hardware home-button.
Right now, the data is stored both as a custom prop of the card
and as a .txt file. Maybe, though, I can just rely on .txt? Or
would the Android device and/or OS for some reason prefer I use
"write to txt" as little as possible? Perhaps to save energy?
Perhaps because it's slower than saving to a custom prop?
"Saving"?
Issuing a save command to the stack with the props should take slightly
longer than writing the data to a file, but with only 10k the difference
will be negligible.
If you don't need to save often then using custom props will provide
good efficiency and simple, robust behavior.
- rg/4w
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode