Technical growth-summary on the Forum Nokia Forum

Source: Internet
Author: User

I have been engaged in Symbian development for more than half a year, and I have gained a lot. In addition to my own efforts, thanks to the enthusiastic help of the experts in the Forum. During the New Year, I learned about new things and provided some reference help to my friends who are engaged in Symbian development to avoid detours :)

You can search for lius1984 topic posts in the http://discussion.forum.nokia.com. You can also click the following post Link

 

 

1. Help: cannot obtain license for Compiler (feature compiler) with license version> = 2.2

For details about how to crack the rvct compiler, refer to related articles in my blog. The rvct compiler is a paid arm compiler. Compared with the Free gcce compiler, it has good performance and generates much less sis. However, if it is a large-scale commercial development, it is best to spend money to purchase, so as not to cause trouble.

2. Strange compilation errors after code is transplanted to rvct

After the code is transplanted from Win32 to Symbian, compilation errors are mainly "undefined" and "unresolved symbols". The solution is to check whether the header file contains openc plugin, whether to include the file repeatedly or even change the reference sequence. Many errors are caused by calling the C header file in the C ++ file and adding extern c {}. If not, try to put the suffix. c. CPP. The porting of Project C is complicated and time-consuming, but if you have experience, you will get twice the result with half the effort.

3. The program cannot run on the mobile phone, the software signed by the publisher certificate cannot be installed, the file-46 cannot be executed due to security reasons, and the system error-1

The success of simulator debugging is only the first step. Real-machine debugging is more troublesome because capability is involved. If you encounter the above problems, try the following methods:

1) MPs does not have the required capabilities (for example, networkservices is required for networking and multimediadd is required for stream media playback control)
2) after the modification capability or uid, there is a residue in the project and it needs to be really clean
3) if the developer certificate is used, check whether uid3 is within the UID range you applied. After modifying the UID, You need to really clean and build again.
(4) system error-1: The file is missing, such as DLL and MIF. Check whether all PKG files are copied.
5) third-party DLL capabilities are higher than exe.

4. The local network cannot be connected through GPRS on the real machine, rsocket is unavailable on the real machine, and Kern exec 3 appears.

MPs and networkservices. In addition, although the real machine debugging function of carbide C ++ is very powerful, it is sometimes misleading, so you still need to learn the real machine log. It is actually very simple. You can use rfilelogger or even write a simple log function by yourself. In the current Gbps network conditions, the GPRS connection will block incoming calls (prompting 'the number of your calls is not in the service area). This problem can be solved in the 3G era :). In addition, it is convenient to use cmnet for a real-machine network, which is equivalent to having an independent IP address, while cmwap is in the Intranet, and a Transit server needs to be set.

5. database operation and system error-1, DBMS-Table 0 error ..

After modifying the DBMS field, you need to delete the. DB file on the real machine, uninstall the program, and reinstall it.

6. The activity object and interface are blocked, and problems encountered under the activity object

The active object can replace multithreading in general applications. The essence is to call the runl () function every very short time using the idle time of the CPU, which also requires runl to return quickly. However, multithreading is still indispensable in Porting engineering and multimedia programming. However, it should be noted that uinotifier, screen drawing, playing audio, and other operations involving wssesion cone must be placed in the main thread. For example, you can create a new thread when designing a streaming media audio player, but cmdaaudiooutputstream-> writel must be placed in the main thread.
7. continuous decoding of images and Kern Exec-3

Real machine memory is limited. For similar problems, you can try to increase epocstacksize and epocheapsize.

8. Resource error, r_localisable_app_info, label not found

# Include <appinfo. RH> is not added to the RSS file. In addition, resources called in Appui. cpp must be capitalized.

 

Finally, I would like to give you two more suggestions:

1. Put the program on the real machine for testing as soon as possible.

2. Develop good debugging habits. You can use the carbide online debugging + real machine log combination to quickly locate the problem.

 

In the next year, I wish you a pleasant learning experience :)

 

 

 

 

 

Related Article

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.