Android Question How to save a type object with properties to a file?

Mark Read

Well-Known Member
Licensed User
Longtime User
I have created a custom object type called for example MyPoint, this has certain properties:

These properties are numbers or strings. I want to save this object with its properties to an ".ini" file to retrieve later. Bearing in mind that MyPoint is also a variable name (eg. MyPoint = Point1 or Point2 etc), how would be the best way to save the information? Using a map or must i go to sql?


Licensed User
Longtime User
i would suggest KeyValueStores kvs.PutObject(X) where X is your Type, a list of types, a map, whatever....
You can use the kvs for the hole management of your "ini" though.
Upvote 0