Storing setting SmartDevice app

K

Kris

Hello,

I have a quick question. I need some advice on how to store user
settings in a smart device application. I’m connecting to a web
service that is returning xml and need to store some of the data in my
app so I don’t have to connect every time to retrieve it. I thought
about writing my modified xml file to the device, but want to know if
there’s a better way?

Thanks in advanced,

KC
 
S

Simon Hart [MVP]

Usually an XML config file is the way to go. I usually write a class that
serializes to XML. I think the SDF - http://www.opennetcf.org has written a
Configuration<anager class similar to that on the desktop for processing
app.config files.

--
Simon Hart
Visual Developer - Device Application Development MVP
http://www.simonrhart.com

Hello,

I have a quick question. I need some advice on how to store user
settings in a smart device application. I’m connecting to a web
service that is returning xml and need to store some of the data in my
app so I don’t have to connect every time to retrieve it. I thought
about writing my modified xml file to the device, but want to know if
there’s a better way?

Thanks in advanced,

KC
 
C

Chris Tacke, eMVP

We have classes that deal with App Config, but those are typically
read-only. We also have a separate set of classes for saving writable
settings like user settings as well, though it's a home-baked API (since the
FFx doesn't have such a thing).


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top