Skip to main content

Getting Started with Windows Mobile Application Development

Creating programs that run on Windows Mobile phones is just as easy as writing apps for the desktop.  Follow the steps on this page and you'll have a running Windows Mobile application.

Get the Tools

You need the following tools to create a Windows Mobile application:

Get Visual Studio 2005 or 2008. You will need Visual Studio to develop applications for Windows Mobile. It will allow you to author, debug, and package your application for delivery from one easy-to-use interface.  Learn more at the Visual Studio Developer Center.
Download the latest Windows Mobile SDK. The SDK contains the API header and library files you will need to access Windows Mobile functionality as well as documentation, sample application projects, and emulators that allow you to deploy and debug your application, even if you don’t have a Windows Mobile device.
Get ActiveSync or Windows Mobile Device Center. You will need to have ActiveSync or Windows Mobile Device Center in order to deploy applications to a Windows Mobile device or to an emulator. Windows Vista ships with Windows Mobile Device Center.  For Windows XP, you can download and install the latest version of ActiveSync if you don’t already have it.

Create, Build, and Run an Application

Here's how to create and run an empty Windows Mobile application:

Create a smart device project. Open Visual Studio 2008. On the File menu, select New->Project. In the Project Types pane on the left, expand Visual C# and select Smart Device. In the Templates pane on the right, select Smart Device Project and click OK.  When the Add New Smart Device Project wizard pops up, select Device Application and click OK.

Add a little functionality. From the Toolbox pane on the left, select a button and drag it onto the form in the design view.  Double-click the button to create a Click event handler.  In the handler, type the following line of code:

button1.Text = “Click!”;

Build and deploy your application. To run your application on a Windows Mobile device, make sure it is connected to the desktop. Press the F5 key. From the drop-down list, select a device or an emulator to deploy to, and click OK. Your application should be up and running.

Windows Mobile Development Books

Professional Microsoft Smartphone Programming Professional Microsoft Smartphone Programming

Authors: Baijian Yang, Pei Zheng, Lionel M. Ni
Publisher: Wrox

Windows Mobile Data Synchronization with SQL Server 2005 and SQL Server Compact 3.1 Windows Mobile Data Synchronization with SQL Server 2005 and SQL Server Compact 3.1

Author: Rob Tiffany
Publisher: Hood Canal Press

Microsoft Mobile Development Handbook Microsoft Mobile Development Handbook

Authors: Andy Wigley, Daniel Moth,
Peter Foot
Publisher: Microsoft Press

Microsoft Visual Basic 2005 for Windows, Mobile, Web, and Office Applications: Complete Microsoft Visual Basic 2005 for Windows, Mobile, Web, and Office Applications: Complete

Authors: Gary B. Shelly, Thomas J. Cashman, Corinne Hoisington
Publisher: Course Technology

Programming Mobile Devices: An Introduction for Practitioners Programming Mobile Devices: An Introduction for Practitioners

Author: Tommi Mikkonen
Publisher: Wiley





More Books ...

Microsoft réalise une enquête en ligne pour comprendre votre opinion sur le site Web de. Si vous choisissez de participer, l’enquête en ligne vous sera présentée lorsque vous quitterez le site Web de.

Souhaitez-vous y participer ?