Re: Best Method for File Storage

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Thanks for your comments.

I'm trying to figure out if there are any special considerations for saving
my files on PocketPC. For example, would I normally have less RAM and so
should avoid reading the entire file into memory? Or perhaps diskspace is
more restricited?

I'm very new to this. I'd appreciate any other comments you could add.

Note: My existing app is in C++ and I was thinking about writing the
PocketPC version using C#. So I could still take the same approach (custom
file routines written from scratch), they'll just need to be ported to C#.

Thanks again.

--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com


<r_z_aret@xxxxxxxxxxxx> wrote in message
news:0pjc33pksa2t97qvie83buuv17lbvg51ki@xxxxxxxxxx
On Sun, 29 Apr 2007 20:18:58 -0600, "Jonathan Wood"
<jwood@xxxxxxxxxxxxxxxx> wrote:

I'm toying with writing my own PocketPC application. I'm using .NET and
C#.

This application needs to store a tree structure with text of varying
lengths associated with each node.

What is the recommended way to store this data on a PocketPC? I have a
similar desktop application that uses a custom file format. Would the same
approach be fine for the PocketPC, or does it make more sense to use a
database since I have the .NET platform available?

I think you should use the same method for "big" Windows and PocketPC,
unless you have a compelling reason to do something else. Just be
careful about Unicode issues when storing and reading the files; these
will be less important if you're sure your programs are the only ones
that will be reading and writing the files.


Thanks for any tips!

Jonathan


-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and
please indicate which newsgroup and message).

Robert E. Zaret, eMVP
PenFact, Inc.
20 Park Plaza, Suite 478
Boston, MA 02116
www.penfact.com


.



Relevant Pages

  • Re: Best Method for File Storage
    ... lengths associated with each node. ... What is the recommended way to store this data on a PocketPC? ... that will be reading and writing the files. ...
    (microsoft.public.pocketpc.developer)
  • Java for PPC?
    ... I've spent the past several days doing nothing but reading i'net sites ... ordering books and more reading... ... want a more up to date system - including pocket pc's and/or palms. ... PocketPC - but for the test, ...
    (comp.lang.java.programmer)
  • Java for PPC?
    ... I've spent the past several days doing nothing but reading i'net sites ... ordering books and more reading... ... want a more up to date system - including pocket pc's and/or palms. ... PocketPC - but for the test, ...
    (comp.lang.java.softwaretools)
  • Re: Java for PPC?
    ... ordering books and more reading... ... > PocketPC - but for the test, ... Java for portable devices is called J2ME. ...
    (comp.lang.java.programmer)
  • Calling into SQLCE from desktop application
    ... the CE Object Store from my desktop application (for reading and writing to ... I have it working where I can connect the PocketPC to the ... backend SQL Server on my server using wireless but I need to also be able to ...
    (microsoft.public.sqlserver.ce)