Works [file stream and dictionary stream exercises] For s60 fp2

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.