Works [file stream and dictionary stream exercises] For s60 fp2
It's not easy. It took two weeks to complete the process. I encountered a lot of problems and solved them a little bit. However, I understood the file stream and dictionary stream. What I have not solved is:
The storage stream problem occurs. when an object is stored in a file and then read it out, an error is reported when the dictionary "root" is read. Why can't this problem be solved?
The dictionary stream can be saved.
ProgramMain functions:
1. You can add a user and save the user to a file. Then it is displayed in the list.
2. Select a user in the list and click "OK" to bring up a settinglist, which includes age, birthday, And fullname settings.
(This is to practice the use of settinglist). You can modify the user information and save the user information.
3. The information is saved to another file by means of a stream dictionary. After saving the information, it is returned to the list display.
4. Click the "OK" button again to display the last set value in the settinglist. This is the user information read from the file.
5. Users can be deleted.
Knowledge used: stream, stream dictionary, settinglist, caknsinglegraphicstylelistbox, view, how to switch the view with parameters, and CBA button.
The program first uses the traditional control mode. Later, it is found that the settinglist pop-up is not easy to implement, so it is changed to the view.
Dialog to pop up settinglist, which is not implemented.
If you know more about it later, find the storage stream problem. Here we will not list the specific usage instructions. You can download them by yourself.CodeView
This is done. The next step is to create a phone book.
Code download http://files.cnblogs.com/zziss/UserInfoLx.rar
Anping 2009 @ original
Qi_jianzhou@126.com