Windows Mobile development-the first program "Hello World", link debugging, simulator usage

Source: Internet
Author: User

Synchronization between mobile phones and computers

InstalledMicrosoft ActiveSyncIn the future, the system will start up by default, monitoring the insertion and identification of smart phonesUSBInterface. After the phone is inserted,ActiveSyncIn the displayed dialog box, check whether the synchronization task is synchronized with the computer. If you do not want to synchronize the task, cancel the task. If you select next, you can synchronize contacts, calendars, emails, tasks, and so on with your computer.(However, you must installOutlook ).


After the mobile phone is connected to the computer, the mobile phone and the computer can perform the following operations:

1You can also access the Internet through a computer

2You can useActiveSyncDeleteProgram

3You can browse resources on your mobile phone through your computer (there is a mobile device in the Resource Manager)

 

Use of Simulators

From menu , Tools->The Device Manager opens the device simulation manager, which lists all the simulators installed in the system. You can select one of the simulators and right-click the connection to open a simulator.

We can also select a simulator in the shortcut menu bar during debugging. When we run the debugging program, the system will determine whether the simulator has been run. If no simulator is selected, enable the simulator.

When debugging, the system will automatically deploy the program to our mobile phone or simulator. If you need a simulator to connect to the Internet, you need->Device Manager open device simulation Manager,Right-click the selected simulator and insert it to the base. Then, the system detects the connection as if it had been connected to a mobile phone and asks whether to synchronize the connection. Now we can easily access the Internet through the simulator. In the simulator, it is like a real mobile phone.

Hello WorldProgram 

InVS, Menu->NewÀProjectÀVC #(OrVB)Smart devicesÀSmart device project Enter the project name and path, and click OK. An option dialog box is displayed.

Here we can select the target platform and. NET Compact frameworkThere are also project types.

 


Select a device application.VSAutomatically creates a project for us, with oneForm1Form.
Mobile FormIt is similar to a common application, but there is a similar mobile phone.

 


Open the form and dragLabelControl to the form, and then selectLabel, In PropertiesTextInputHello world.

SelectCHS Windows Mobile 6 visibility sion emulator

Click debug, orF5The system automatically opens the simulator and displaysHello world.

So far, we have successfully run the program on our mobile phone.

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.