[Resource] Windows Mobile developer Getting Started Guide

Source: Internet
Author: User
Part 1. Build the development environment

Software installation sequence:

1. Install Microsoft ActiveSync 4.0 or later

2. Install vs2005

To develop a Pocket PC, you must install the Windows Mobile 5.0 Pocket pc sdk.

Windows Mobile 5.0 smartphone SDK must be installed to develop a smartphone.

Mobile 5.0 environment Configuration:

1. synchronization between the simulator and Microsoft ActiveSync:

A. Start vs2005. In tools> device emulator manager, select a simulator to be started, double-click or right-click it, and select connect to start the simulator.

B. After the simulator starts, right-click the device in device emulator manager and select "Cradle" to synchronize it with Microsoft ActiveSync.

2. online simulator:

After the simulator is started, the simulated device can access the Internet as long as the PC is connected to the network.

3. The simulator and Microsoft ActiveSync may fail to be synchronized. In this case, you can disable vs2005, disable device emulator manager, and restart the system.

Mobile 5.0 initial Development Program:

Create an application on the Pocket PC:

In file-> New-> project, you can select the device application of the Pocket PC or smartphone.

After the project is created, the page of the form displayed is exactly the same as that of the real device.

Place a textbox on the form, change the value to the Pocket PC, and run the program.

There are two buttons in the upper-right corner of the Pocket PC: the fork and the OK button. The fork button indicates to be minimized, and the OK button indicates to be disabled. The minimal program will make the program occupy the memory. Here, I feel that some of the programs provided by Microsoft's operating system are minimized. If the memory is not released, the system will be slower and slower.

Set the form attribute minimizebox, true to the minimization button, and false to the OK button.

There is no such change in smartphone. In smartphone, if you do not add events in the menu to end the program, the program will always be kept within the system in a minimal way.

Change the platform of the application:

Select project, right-click, and select "change Target Platform" from the menu"

On the platform selection page, select a platform you want to change and press OK.

Note: after changing the Pocket PC and smartphone platforms, you must change the following content:

1. widget size

2. Some specific controls are not supported in smartphone, such as button

3. Some managed APIs. In smartphone, the supported APIs are not as many as Pocket PCs

Note the following when developing mobile:

Because it is based on mobile devices, there is a big gap between CPU and memory, and there is a large gap with PC. Therefore, it requires less memory overhead. In addition, compared with PC, few APIs are supported, so you need to check the SDK frequently.

Part 2. Download development tools and resources

1) software development kit

Windows Mobile 2003 SDK for Pocket PC (direct download)
Windows Mobile 2003 SDK for smartphone
Windows Mobile 5.0 SDK for Pocket PC (direct download)
Windows Mobile 5.0 SDK for smartphone
Windows Mobile 6 SDK
Windows CE 5.0: standard software development kit (SDK)

2). NET Compact framework

. NET Compact Framework 1.0 SP3 redistributable
. NET Compact Framework 2.0 Service Pack 1 redistributable
. NET Compact Framework 2.0 Service Pack 1 patch
. NET Compact Framework 2.0 Service Pack 2 redistributable
. NET Compact Framework 3.5 redistributable
Power toys for. NET Compact Framework 3.5

3) SQL Server CE

SQL Server ce 2.0 Server tools SP4
SQL Server 2005 compact Edition
SQL Server 2005 compact edition tools for Visual Studio 2005 Service Pack 1
SQL Server 2005 compact edition server tools
SQL Server 2005 compact edition books online (March 2007)
SQL Server 2005 compact edition Access Database Synchronizer
SQL Server compact 3.5 for Windows Desktop
SQL Server compact 3.5 books online and Samples
Synchronization services for ADO. net books online
Adoce 3.1 for Windows 3.0 sdks

4) device emulator

Standalone device emulator 1.0 with windows mobile OS Images
Microsoft device emulator 2.0 Standalone
Microsoft device emulator 3.0 Standalone
Virtual Machine Network Driver for Microsoft device emulator
Microsoft Windows CE 5.0 device emulator

5) emulator Image

Emulator images for Windows Mobile 2003-based Pocket PC development
Emulator images for Windows Mobile 2003-based smartphone Development
Emulator images for Windows Mobile 2003 Second Edition-based Pocket PC development
Emulator images for Windows Mobile 2003 Second Edition-based smartphone Development
Localized Windows Mobile 5.0 Pocket PC emulator Images
Localized Windows Mobile 5.0 smartphone emulator Images

6) Embedded Visual C ++

Embedded Visual C ++ 4.0
Embedded Visual C + + 4.0 SP4

7) opennetcf

Opennetcf smart device framework v1.4
Opennetcf smart device framework V2.0

8) mobile client software factory

Mobile client software factory-July 2006
Architecture Overview for mobile applications
UI design considerations in mobile applications
Designing mobile applications in an occasionally-connected world

9) Other Tools

Microsoft Windows Mobile Device Center 6.1 for Windows Vista (32-bit)
Microsoft Windows Mobile Device Center 6.1 for Windows Vista (64-bit)
Microsoft ActiveSync 4.5
Redistributable server components for Windows Mobile 5.0
Device Security Manager (powertoy) for Windows Mobile 5.0
Windows Mobile Network Analyzer powertoy
Microsoft smart devices remote tools framework powertos 1.0
Windows Mobile developer power toys

10) Resources
Windows Mobile 5.0 developer Resource Kit
Microsoft mobile & embedded devcon 2006 DVD
Windows mobility marvels
'Mobile line of business solution accelerator' Kit

Part 3. starter kits

Starter kits:
Http://msdn2.microsoft.com/en-us/windowsmobile/bb264330.aspx
Video Resource:
Http://msdn2.microsoft.com/en-us/windowsmobile/bb264341.aspx

PS:
Most of the above are based on appleseeker and handsome guy Li's blog:
Http://www.cnblogs.com/appleseeker/archive/2006/12/11/588895.html
Http://www.cnblogs.com/upto/archive/2007/03/13/mobile-development-tools.html

Related Article

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.