Build a Windows Mobile Development Environment

Source: Internet
Author: User

Our development tool is vs2008. Now we will start to build a Windows Mobile development environment. When developing any software, we need to install the SDK. However, mobile development is a little different from traditional software development. In addition to the SDK, we also need to install a simulator to facilitate debugging and running. Some also need to install the device connection software so that your software can be connected to the device synchronously.

The development environment of Windows Mobile Phone platform is set up in three steps:

1. Install synchronization software. If it is a 32-bit Windows XP system or later, install "drvupdate-x86". If it is a 64-bit Windows system, install "drvupdate-x32", and install "ActiveSync" for Windows XP system or below ".

2. Install vs2008 and install the SDK "Windows Mobile 6 Professional SDK refresh. MSI" developed by Windows Mobile ".

3. Install the simulator "Windows Mobile 6 Professional images (CHS )". The procedure is as follows:

Choose vs> Tools> device simulator Manager> CHS Windows Mobile 5.0 Pocket PC emulator in the window. Choose connect> File> Save exit.

We have set up the development environment above. Next we will make the first Windows MobileProgram.

[Instance 11.1] The first Windows Mobile program.

1. Choose vs2008> New> Project> smart devices> Windows Mobile> OK.

2. Open form1-> put a button in the form and change its text attribute to "display"-> double-click the button to enter the Click Event and write the followingCode:

Private void button#click (Object sender, eventargs E)

{

MessageBox. Show ("this is the No.1 project of Windows Mobile! ");

}

3. Click RUN> set the device simulator manager.

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.