Monday, September 6, 2010

Windows Phone 7 and Development Tools



In previous blog we talked about all Windows Phone 7 and new features. Today’s topic is more developers oriented and we will talk about what are basic development tools we will need to start with windows phone 7 development.

Microsoft provides two different frameworks for developing Windows Phone 7 Application.

XNA Framework: To develop Windows based games.
Silverlight Framework: To develop event based and XAML based Windows Phone 7 Applications.
So first let’s see what development system requirements are:

•Windows Vista (x86 and x64) ENU with Service Pack 2 – all editions except Starter Edition
•Windows 7 (x86 and x64) ENU – all editions except Starter Edition
•Installation requires 3 GB of free disk space on the system drive.
•2 GB RAM
•XNA Game Studio deployment to Windows Phone Emulator requires a DirectX 10 or later graphics card with WDDM 1.1 driver.
•DirectX 10 capable card with a WDDM 1.1 driver is needed to take advantage of GPU acceleration on the Windows Phone Emulator for a Silverlight application. The DX10 card is optional for Silverlight applications.
•Windows Phone Developer Tools BETA - compatible with the English version of Visual Studio 2010 RTM and Visual Studio 2010 Express.

And here are the steps to setting up Development Environment:

Download Microsoft Windows Phone 7 Developer Tools Beta from the link below and follow the steps.

http://www.silverlight.net/getstarted/devices/windows-phone/



Assume that machine is ready with development system requirement (i.e. OS, HD, RAM).

Step1: Install the required version of Visual Studio 2010 (Skip this step if already installed)

Microsoft provides two different frameworks for developing Windows Phone 7 Application.

•XNA Framework: To develop Windows based games.
•Silverlight Framework: To develop event based and XAML based Windows Phone 7 Applications.
So first let’s see what development system requirements are:

•Windows Vista (x86 and x64) ENU with Service Pack 2 – all editions except Starter Edition
•Windows 7 (x86 and x64) ENU – all editions except Starter Edition
•Installation requires 3 GB of free disk space on the system drive.
•2 GB RAM
•XNA Game Studio deployment to Windows Phone Emulator requires a DirectX 10 or later graphics card with WDDM 1.1 driver.
•DirectX 10 capable card with a WDDM 1.1 driver is needed to take advantage of GPU acceleration on the Windows Phone Emulator for a Silverlight application. The DX10 card is optional for Silverlight applications.
•Windows Phone Developer Tools BETA - compatible with the English version of Visual Studio 2010 RTM and Visual Studio 2010 Express.
And here are the steps to setting up Development Environment:

Download Microsoft Windows Phone 7 Developer Tools Beta from the link below and follow the steps.

http://www.silverlight.net/getstarted/devices/windows-phone/



Assume that machine is ready with development system requirement (i.e. OS, HD, RAM).

Step1: Install the required version of Visual Studio 2010 (Skip this step if already installed)

Step2:
Start Windows Phone 7 Tools Beta installation by double clicking on vm_web.exe which is
downloaded from the link above. The vm_web.exe is online installer and will download and install
following tools:



•Microsoft Silverlight for Windows Phone 7 Beta
•Microsoft Expression Blend for Windows Phone 7 Beta
•Microsoft XNA Game Studio for Windows Phone 7 Beta
After following these steps your development environment is ready for developing Windows Phone 7 Applications.
Note: During installation, an active internet connection is required.

While doing development for Windows phone please note following important points:

•While you develop Silverlight UI [using xaml] you need to understand and follow certain guidelines. Microsoft has provided Control Templates specific to Silverlight application for Windows Phone to match evolutions in the overall OS. Start Windows Phone 7 Tools Beta installation by double clicking on vm_web.exe which is
downloaded from the link above. The vm_web.exe is online installer and will download and install
following tools:



•Microsoft Silverlight for Windows Phone 7 Beta
•Microsoft Expression Blend for Windows Phone 7 Beta
•Microsoft XNA Game Studio for Windows Phone 7 Beta
After following these steps your development environment is ready for developing Windows Phone 7 Applications.
Note: During installation, an active internet connection is required.

While doing development for Windows phone please note following important points:

•While you develop Silverlight UI [using xaml] you need to understand and follow certain guidelines. Microsoft has provided Control Templates specific to Silverlight application for Windows Phone to match evolutions in the overall OS.

•To make it easy to create XAML UI for Silverlight application Microsoft has made available Expression Blend for Windows Phone, Blend is now integrated completely into the Windows Phone Developer Tools Beta.
•Using Developer Registration Utility you can unlock you Windows Phone 7 device for development purposes.
•If you want to deploy XAP files directly to an unlocked device, you can use XAP Deployment Tool.
•If you planning to create virtual development environment then wait at present following Scenarios Not Supported For Development Environment:
◦Windows XP and Windows Server are not supported.
◦Virtual PC and Hyper-V are not supported.
•Windows Phone Developer Tools Beta includes database components. These components are not supported for application development.
•When using Visual Studio 2010 Ultimate for Silverlight application development for Windows Phone , the following features are not supported:
◦Profiler
◦IntelliTrace
◦Lab Management
◦Testing
◦Data
◦Show Data Source
◦Add New Date Source
◦Schema Compare
•If you are using Visual Studio 2010 Ultimate or Professional for Silverlight application development for Windows Phone, Add Service Reference features not supported. To Add WCF Service Reference in your application in VS2010 Professional or Ultimate, you have to run
slsvcutil.exe from visual studio command prompt in order to generate Service Reference and Client Configuration file. Click here to see How to use slsvcutil.exe.

Windows Phone 7 Project Templates for Silverlight:

Once your development environment setup done, open visual studio and try to create new project of type “Silverlight for Windows Phone”.
There are three types of template to start development of Windows phone 7 for Silverlight.



1.Windows Phone Application: A project for creating windows phone application.
2.Windows Phone List Application: A project for creating windows phone application using List and Navigation Controls.

3.Windows Phone Class Library: Windows Phone Class Library Project.
That’s it your development environment is ready to go for developing app for windows phone. Microsoft's Windows Phone Developer blog is claiming that over 300,000 people have downloaded the Windows Phone Developer Tools so far and this number is increasing rapidly.


In next post I will talk more on specific to silverlight application development for Windows phone 7 .

Windows Phone 7 and new features


In previous blog we talked about all 7 hubs those coming with Windows Phone 7. Today I will tell about new features or you can you software and hardware coming with this version.

Actually Windows Phone 7 is based on Windows CE 6 Kernel and is a touch-operated OS and it is news that initial launch it will be available with resolution WVGA (480 x 800) and sooner it will support HVGA (320 x 480). And to run consistently it will need device equipped with
• 1 GHZ CPU
• Min 256 MB RAM
• Finger based Device content Navigation
• WI-FI, GPS, FM-Tuner and High Resolution Camera
Additional to all common feature of today’s phone device, windows phone gives following featured Software’s:
User Interface: in this version UI is drastically changed and developed based on interfaces of the ZUNE and Windows Media Center. The home screen viewed as of "tiles", which by default are links to important features such as phone, music and videos, email, office, and contacts.
Silverlight Support: for Silverlight developers its good new that after long waiting Microsoft introduce Silverlight support in Windows phone series. So developers need to start exploring what and how to do silverlight development for windows phone and there will be defiantly huge requirements for developing silverlight application for Windows phone.
Browser: Yes you all right it will be Internet Explorer only. Browser will be a modified version of Internet Explorer 7, which will not support Flash, Silverlight and HTML5 at launch. The specialty of this browser will be to automatically update itself and the layout engine.
Xbox LIVE: Xbox LIVE experience on a phone, including Xbox LIVE games, Spotlight feed and the ability to see a gamers’ avatar, Achievements and gamer profile




Search: Yes Microsoft Bing will be the only default search engine on Windows Phone 7 devices.




Email and Calendar: As it will be integrated with light version of office outlook it will supports outlook POP mail and calendar with some fancy UI.




Me: this hub will be center to aggregates all social media and XBOX live content – to update Social Networks.
• Software Updates: According to news channel, this phone software updates will be delivered to Windows Phone users via Microsoft Update, as they are for desktop Windows users.
Zune: Integrated media player is basically the Zune- its look and feel, functionality and the Zune Pass subscription support which allows unlimited music streaming.
Marketplace: This hub will make you easy to access center for find and download suitable certified software and games for your device. Click here to see more about Marketplace.




It looks Windows Phone 7 devices will work 100% consistently across hardware coming from HTC, Samsung, LG and Dell.

In next post I will talk more on Windows phone 7 application development.

Exploring Windows Phone 7 Series 7 Hubs



Windows Phone 7 is emerging Microsoft’s operating system for windows phone devices. This new Operating system is going to drastically changed supported device skin with amazing User interface and lots many more features.

Basically Windows Phone 7 Series includes six hubs built on special themes those are mostly liked by end user and used in their daily activities:

1. People. This hub specific for an engaging you with your social networks and make you connected with live feeds from social networks and media.
2. Office. This is best hub I liked most because it connects me with my daily work as it has provided with access to Office, OneNote and SharePoint Workspace all in one place.
3. Browse and Bing Search: This is going to appreciates by the people who love to travel and explore new places, this hub will fully equipped with Bing maps to help you to see maps and directions. And also Quick Search like a pro when surfing by highlighting the word and hitting “search”.
4. Marketplace. This hub will make you easy to access center for find and download suitable certified software and games for your device. Click here to see more about Marketplace.
5. Pictures. This hub makes it easy to share pictures and video to a social network in one step. Windows Phone 7 Series also brings together a user’s photos by integrating with the Web and PC, making the phone the ideal place to view a person’s entire picture and video collection.
6. Games. This hub will be for those game lovers who already playing Xbox LIVE games, as this hub will include Xbox LIVE experience on a phone, including Xbox LIVE games, Spotlight feed and the ability to see a gamer’s avatar, Achievements and gamer profile.
7. Music and Video. This hub will bring incredible media experience to those music lovers as it will provide you best of Zune, and will allow you to include media content from a your PC, online music sites and built-in FM radio.



Microsoft Windows phone development team is planning to release Windows Phone 7 by October 2010, so keep you updated with Windows phone 7 news.
In next post I will talk more on Windows phone 7 features.