Windows Mobile 6 (smart phone) Development Basics

Source: Internet
Author: User

Development preparation tools

1:. This is natural. I use vs2005.

2: SP1 of

3: Install Windows Mobile 6 standard SDK refresh

4: netcfsetupv2 (Microsoft. NET Compact Framework 2.0 SP2)

5:ActiveSync

 

Problem1: how to start the simulation environment (Windows mobie 6 standard emulator).

Problem2: Release/testProgram

Problem3: When the mobile phone is connected to the computer, the mobile phone cannot access the Internet.

 

 

After the development tool is installedThe Windows Mobile 6 SDK contains many sample programs. A simple application can be rewritten directly (at least in basic usage ). You have to write other specific functions on your own.

 

About Development

It is written in the same way. Net. However, the functions of controls are different. For example, the webbrower control cannot find the document attribute in smartphone. There is a documenttext attribute, but it is not available yet.

The mobile phone program is not running fast. If you want to use a mobile phone like a laptop, just add more processors or memory.

 

 

Problem1: how to start the network connection in the simulation environment

1: open device emulator manager. Under the Tools menu of

2: Start/connect to Windows mobie 6 standard emulator. Right-click "Windows mobie 6 standard emulator" and choose join.

3: Set "Windows mobie 6 standard emulator" to cradle. Email, cradle.

4: Set the communication mode of ActiveSync. Set it to the DMA mode (the mobile phone is comx ).

Then wait.ActiveSync connects to Windows mobie 6 standard emulator, and then you can access the Internet.

 

Problem2: Release Test

One method is the simplest: Copy directly. ProgramCopy the program files to your mobile phone (which can be used in any location) and run the program directly. Use Task Manager to end the task.

The second is to selectDeploy to your mobile phone. However, there seems to be a security option to be set, otherwise it will fail. The setting tool is Security Configuration Manager. (I didn't use this method either. It's a little troublesome and I don't want to talk about it)

The third method is to generateCAP package or installation file.

 

Problem3: When the mobile phone is connected to the computer, the mobile phone cannot access the Internet.

This small problem wastes a lot of time in testing the program. It was running well on the machine,It is strange that the network cannot be connected after copying to the mobile phone. Later, the network connection was accidentally disconnected, and it was OK.

 

 

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.