Developing with Windows Mobile 7

Microsoft recently announced the general availability of developer tools for their Windows mobile platform. This article is a brief introduction to the platform and what the next generation of mobile development for Microsoft looks like.

After you’ve downloaded the developer tools installer, you will go through a download process…


WinMo Dev Tools Setup

After downloading the remaining components, you will install all component resources.


WinMo Dev Tools Install

Once the developer tools have been installed, you can startup Visual Studio 2010 Express for Windows Phone which is the IDE used for the mobile development.


Visual Studio 2010 Express Splash

We will use the Silverlight for Windows Phone – Windows Phone Application project template and add some custom XAML and image resource to the base project.


WinMo Project Creation

In this simple application we’ve titled Mobile Portal just going to add some textblocks, buttons, and use a standard Silverlight grid layout. We first modify MainPage.xaml to create our custom view for the mobile application. Here is a view of our coding changes.


WinMo MainPage XAML

Next, we go to our Solution Explorer add our image resource using the context menu on the project and selecting Add -> Existing Item.


Solution Explorer - Add Resources

Finally, we add our custom styles to App.xaml. After building the solution and running the emulator, we see the following results.


WinMo Pearl Technology - Issue Tracker

If we rotate the device orientation, we can see how the view shifts to fit the space available.


WinMo Pearl Technology - Issue Tracker - Horizontal

We are glad to see that Microsoft is embracing the WPF and Silverlight-based development engine for the mobile platform. This decision allows developers and designers skilled in XAML to leverage their existing knowledge and prowess to create useful mobile applications for both business and pleasure. The small footprint of Silverlight makes it ideal for usage with embedded or mobile systems with limited power and memory.

You can download our complete solution here.

Share and Enjoy:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Twitter

Filed under: Application Development, Microsoft | Posted on March 24th, 2010 by AaronH

Tags: , , , ,

Leave a Reply

Links

Topics

Tags

Authors

Syndication

Archives

Copyright © 2012 Pearl Technology. All rights reserved.
The Tech Blue theme was modified to help create this blog.