How can I create a implement store to store and retrieve data from a file??
Printable View
How can I create a implement store to store and retrieve data from a file??
[QUOTE=ssabestian;517067]How can I create a implement store to store and retrieve data from a file??[/QUOTE] sorry to say but did not get any hint about your problem can you explain more.
have you thought about checking SDK docs, for example APIs that might be good:
- CDictionarystore
- CFileStore, etc.
Of course the easiest API might be RFile.
Well i need to understand the concept of store. How to write into files and how to retireve the same data from the existing file. And also how to make a search in the particular file containing one single data item as a key!! Is there is any running expample from which i can understand stores properly??
Have you tried doing any searching in our Wiki already, it should have examples on this topic as well..
[QUOTE=ssabestian;517177]Well i need to understand the concept of store.[/QUOTE]If you want to understand the concept of stores, you may consider reading the documentation: Symbian OS v9.x » Symbian OS guide » System libraries » Using Store[QUOTE]How to write into files and how to retireve the same data from the existing file.[/QUOTE]Stores are not files.[QUOTE]And also how to make a search in the particular file containing one single data item as a key!![/QUOTE]Files are not databases.[QUOTE]Is there is any running expample from which i can understand stores properly??[/QUOTE]Yes, all SDK-s contain Examples\SysLibs, where you can find Stores, FileStores, Streaming, Streams examples.
Neither of them are databases however, because databases are called "database", like RDbDatabase (RDbStoreDatabase and RDbNamedDatabase are the actual classes). However the DBMS example is also in the same directory, and it uses RDbStoreDatabase in a CFileStore.
Instead of assuming you need to use a store for your solution, why not state your requirements and get the experts to comment if the best solution for you is a file, dbms, a store (and if so which type, there are more than one), .....