×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Aug 2006
    Location
    Finland
    Posts
    9

    Saving data but not in a single file, the Symbian way?

    Hi,


    Something related to this might have been asked before, but i couldn't find anything with the search. So here goes:

    I'm still building my first Symbian application, a learning project. It is a TODO list which will also support image/audio content inside the entries, well at least in the future. For now, i just need to save the item entries and their textual contents.

    My program at the moment uses CDirectFileStore to save the data, except for the actual entry text contents which use CGlobalText, which i can't restore that data for some reason yet.

    What i'm asking is the preferred way to do a system like this on Symbian. I wish to keep the entries (item ID, title, date, etc.) separate from the data (text, images, audio, etc.) as i don't want to load all the data in the memory at once, nor do i want to put them in a single file because that would be a too big point of failure if writing to it fails. And i do wish to update the data without writing the whole file again.

    What would you use? Some combination of Symbian stores and a custom filesystem database? Or is one of the Symbian store/stream systems suitable for this kind of case?


    Thanks and regards,
    V

  2. #2
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    61

    Re: Saving data but not in a single file, the Symbian way?

    How about the Symbian DBMS?

  3. #3
    Nokia Developer Champion
    Join Date
    Jul 2004
    Posts
    2,015

    Re: Saving data but not in a single file, the Symbian way?

    Instead of the direct file store look at using the permanent file store instead. However that is still a single file but is intended for use where streams can be updated on an individual basis.

    (You can have as many streams, organised however you want, inside a permanent file store).

Similar Threads

  1. Multiple programs within single SIS file dilema
    By LongSteve in forum Symbian
    Replies: 6
    Last Post: 2008-03-20, 06:05
  2. Replies: 1
    Last Post: 2005-03-17, 04:29
  3. File paths in Symbian C++?
    By maniac_2k in forum Symbian
    Replies: 5
    Last Post: 2004-08-05, 18:44
  4. accessing data of wav file
    By dhirajgoel in forum Symbian
    Replies: 3
    Last Post: 2004-06-21, 10:41
  5. Replies: 2
    Last Post: 2004-05-08, 09:09

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×