Store info into pda

  • Thread starter Thread starter victor
  • Start date Start date
V

victor

Hi guys
can anyone help me to find a place where i can save my infomation
permanently even after i do a hard reset.

cheers
victor
 
Ummm can't store it to the ROM, so your only option with a ahrd reset
is to store it to some kind of memory card
 
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?
cheers
victor
 
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
 
Typically even if you could write to the ROM, 99% of the time it is
packed with the OS and all the other fun applications the manufacturer
of the device wants on it. Pocket PC's are designed to store there
primary memory RAM, however some of these pocket pc's also have the
ability to store data on memory cards like CF, SD, etc.... The ROM is
meant to store the initial build of the smart device, in the event you
lose all of you main power, and your backup power if you have one.
then the next time power is applied and the device is restarted it will
go back to its origianl "Day One" settings. This is why smrt devices
like the pocket pc, and smartphone are meant to be backed up regualrly
to a computer.
 
actually i want to find a place in the pda to store the time information.
like when the pda start using this pda. how long the application has been
used. I want this infomation can be saved in the pda even if someone do a
hardreset. in this case i think memory may not be a very good choice.
since the ROM means read only memory..... can i actually find a place to
store that info?

the device i am using is o2 xda2

cheers
victor
 
Built-in places for non-volatile data are generally either a) exposed as
part of the filesystem (a \flash folder, for example), or b) hidden from all
but the OEM for their internal use. I have no experience with that device,
but, is there anywhere that you can write a *file* where it won't be gone
after a hard reset? If so, store your info there. If not, is there any
OEM-specific API that you can get from the device OEM that gives you
non-standard abilities that might be helpful? If so, maybe there's a
non-volatile spot there that you can use. If not, you're stuck with a
standard storage card, the type of which will depend on what your hardware
allows (a Compact Flash sort of card is what I'm talking about, although it
might be a smart media card of almost any shape or size).

Paul T.
 
Back
Top