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.