[Wince] the development on CP N900 is difficult.

Source: Internet
Author: User

Due to work needs, it has been quite hard to develop on CP N900 for a period of time.
At the beginning of development, coolpad didn't open the SDK. So, sdks, documents, simulators, in short, almost everything is useless... the person who called the CP said they had never heard of the SDK ...... I don't know when or why. CP has opened the SDK and has documentation, but I am not very concerned about it.

The following experience may play a role in developing applications on N900 ....

1. Solve SDK, documentation, and demo problems as early as possible.

Without this, the solution to the problem is wishful thinking, because N900 is a custom wince 6 system and some APIs are not found in WM.

2. Select a type of easy-to-program data. IfProgramIf you need a database.

The SQL ce 3.0 we used previously proved unwise. SQL ce has a bug on N900,Some tablesThe data cannot be read... it is solved by changing to SQL ce 3.5 bug, but another problem is that C ++CodeI want to access DB with C # code at the same time... because I have not written C ++ code before, let alone C ++ code accessing SQL ce.

So we came up with an article by Jack. net.Article...... Unfortunately, I haven't used the helper and changed it to a common file. I apologize to Jack for his hard work. I still owe him a unit test. we hope this can be done in the past two days.

If your application can use SQLite, it is best to use it. I am a SQLite controller... click here

3. simulator.

Practice has proved that the simulator of CP 9030 is used for viewing. I spend most of my time writing managed code. The managed code cannot be debugged on CP 9030. the only thing that can be done is to write the code and run it on the machine, record the problem, solve the problem, and continue running ..... wasting more time .... ah

4. debugging.

The simulator cannot run the managed code, but the native code can still run. according to the CP personnel, it is best to debug on the real machine. however, N900 does not provide the synchronization tool above Vista (and its derivatives. so I can only write the program and continue to get the real machine and run it .....

In addition, the ifstream of STL of CP 9030 SDK has a bug, which causes a null pointer exception during File Reading by my program. I was forced to switch to the WM 6 SDK .... I don't know if they have solved the problem ....

5. Call.

If a problem occurs, call CP developers to harass them as soon as possible. I don't know why. When CP packages the SDK.. Net CF is packaged in, so the managed program cannot be debugged. Moreover, the synchronization tool is not packaged in, so the network cannot be connected. Moreover, the document and sample are not packaged in the SDK, therefore, you can only call.

To help meCP developer cyThank you.

 

PS:

text message interception is required on WM in the past two days. As a result, we found that the text message interception program on CP N900 is doing well. you can use a configuration file "dynamic" (only when the OS starts) to load the interception program. After processing, you can decide whether to return the text message to the OS. unlike. net class library, completely castrated version, cannot achieve the function, need to use mapi implementation ....

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.