02-11-2010 06:08 PM
Hi All,
I'm building an application that has also a Jabber client. I want to keep the chat history, but I'm not sure how many data persist.
Is there any guide about how to calculate the amount of data to be persisted?
I'm working with JDE Plugin 4.5 on Eclipse 3.4, developing for Bold and Curve.
Thanks,
-fr4gus
Solved! Go to Solution.
02-11-2010 06:14 PM
Better to save chat history to memory card rather than in persistent storage.
02-11-2010 06:26 PM
I was thinking on that too, I 'm trying to avoid serialize/deserialize objects. But looks I don't have other choice, have I?
02-11-2010 06:29 PM
You're not really serializing or deserializing anything. Just read the lines from the file into your data structure and back again when you want to write it back out to disk.