victor said:
Is that the only choice I have?
How about the sim card? Can anyone have some example to write things into
sim card in application?
Most devices have some kind of in-ROM disk nowadays. You could write to
that. Some devices have spare room in TOM that they allow you to use. (I
think the latter is what is getting used for the in-ROM disk so it might not
exist today).
You could write to an SD card, if available.
Your question about a SIM card indicates that you are programming for a
smartphone. The SIM card is ofen quite locked to the telephone company, and
isn't readily available as a data storage. You *might* be able to put stuff
into the address book of a SIM card, but your data might not fit into a
"name-and-address" frame.
Please tell us more about what you have to store. Like a "number of
reboots", the complete Shakespearean texts or whatnot. The answer depends
(in parts) on the amount and type of data you need to store.
/Keld Laursen