Windows Phone Development

How to–Install Windows Phone 7.1 SDK in Windows 8

September 10, 2012 .NET, All, Microsoft, Microsoft SDKs, Mobile-Development, Silverlight, Windows Phone, Windows Phone "Apollo", Windows Phone 7.0, Windows Phone 7.5, Windows Phone 7.8, Windows Phone Development, Windows Phone SDK 7 comments

I have seen people keep complaining that they are unable to install Windows Phone SDK 7.1 on Windows 8 and they ended up unable to develop Windows Phone applications using Visual Studio 2010.

I am going to give you some tips in getting Windows Phone SDK installed on your Windows 8 PC along with Visual Studio 2010(Express, Pro, Premium or Ultimate) according to your choice of development using Visual Studio IDE. 

To get started with Windows Phone SDK on Windows 8, we requires the following installation packages:

1. Games for Windows – LIVE Redistributable

2. Windows Phone SDK 7.1 – Web Install or Full ISO Download  (Recommended: is full ISO download, some packages might get corrupted in download)

3. Windows Phone  SDK 7.1.1 Update (WPSDK-7.1.1-KB2669191-x86.exe – support for Windows 8, Tango build– 256MB and 512MB emulator support – Also this update fixes an issue that prevents the emulator in the Windows Phone SDK 7.1 from working correctly on Windows 8.)

Note:

  • Assuming that you already have Visual Studio 2010 RTM + Service Pack 1 installed.
  • The Windows Phone SDK 7.1 is compatible with the final version of Visual Studio 2010 SP1.

I am using a 90 day trial version of Windows 8 Enterprise for this article.

 

Step 0: Install Games for Windows – LIVE Redistributable from http://www.xbox.com/en-US/LIVE/PC/DownloadClient. – this will help you with successful installation of XNA Game Studio.

Step 1: Mount the Windows Phone 7.1 SDK ISO file(WPSDKv71_en1.iso) (it is easier with Windows 8, just double click on ISO – Windows 8 will create virtual dvd drive and loads the ISO contents to it.  

Step 2: Double click on “Setup.exe” , you will see a warning prompt like below – select “Run the Program without getting help

wp7_initial_install1wp7_initial_install2

Now the installation will continue as normal.

Step 3: Installation will complete and For some cases at the end of you will see a warning message that – the XNA Game Studio 4.0 and Visual Studio Extensions for XNA Game Studio 4.0 are failed, because you did not have Games for Windows – LIVE Redistributable installed.  That is fine – you would not be needing XNA Game Studio if you are only planning to develop Windows Phone application using Silverlight.

wp7_xna_fail 

Alternate Steps to install XNA Game Studio

a.) Before continuing further, download and install the latest version of the Games for Windows – LIVE Redistributable from http://www.xbox.com/en-US/LIVE/PC/DownloadClient. or you can install this setup first and then install Windows Phone 7.1 SDK.

image

b.) Now Go to the WCUWindowsPhone folder in the ISO,

c.) Right click on XNAGS40_Setup.exe – Select run in compatibility mode for Window 7 or Windows XP.

d.) Select Privilege Level –> “Run the program as an Administrator“

 

 

image

e.) Right click on the XNAGS40_Setup.exe – select “Run as Administrator” from the context menu,  you will see the Program Compatibility Assistant warning

f.) Select “Run the Program without getting help”

wp7_xna_studio_install_2

g.) Click “next” to continue

wp7_xna_studio_install_3

h.) Specify the firewall setup as mentioned below or you can continue by selecting “No, I do not want  these rules enabled.”

wp7_xna_studio_install_4_firewall

i.) Now the installation will continue and you will receive a completed dialogue at the end.

wp7_xna_studio_install_5

 

image

i.) After installation is complete successfully – install “sde_xde2-enu,msi”(for 32bit or x86) or “sde_xde2x64-enu.msi”(for 64 bit or AMD64) – depending on whether you have 64bit or 32bit OS.

 

Step 4:  Now you can install Windows Phone SDK 7.1.1 Update (WPSDK-7.1.1-KB2669191-x86.exe)

The 7.1.1 Update is really just that – it’s an update to the existing WPSDK: it doesn’t add much in the way of new features to your WPSDK installation; it updates your existing install to do a few new tricks:

  • The Visual Studio IDE is patched to enable selection from a list of emulators, and launching it (note that the WPSDK can only support connecting to one at a time, though)
  • The Windows Phone [512 MB device] emulator image is updated to use build 8773
  • A second, new emulator device image is included, allowing you to emulate running your app on a 256 MB device
  • The Microsoft Advertising SDK is updated to the latest version (previously only available as a separate install ), which fixes some issues devs were encountering at runtime
  • IntelliSense now supports specifying the 512 MB device requirement in your manifest file, should you choose to opt your app out from running on the new 256 MB devices
  • Language support is again consistent both in the IDE (the 7.1.1 Update supports all 10 of the WPSDK 7.1 languages) and in the emulator OS (Malay and Indonesian have been added)
  • Ref Source

Voila!, now you are ready to start Windows Phone 7.x development with Visual Studio 2012 SP1 on Windows 8. 

1.) You can see the Windows Phone project templates in Visual Studio 2010

image

2.) Select the target version of your App

image

3.) Emulator Selection drop down in Visual Studio 2010

emul_selection

4.) See the debugging on Windows Phone emulator

image

Step 5: Sit and enjoy with Windows Phone Development

Hope this tips were helpful. Please leave your comments, if you are facing any issues. I will get back to you as soon as I can.

Windows Phone 8 SDK Preview opens for existing application developers Sept. 12

September 6, 2012 .NET, All, Microsoft, Microsoft SDKs, Silverlight, VisualStudio, VS2012, Windows, Windows Phone, Windows Phone 8, Windows Phone Development, Windows Phone SDK 1 comment

In an announcement by Todd Brix Microsoft Windows Phone team blog  has commenced that Windows Phone 8 SDK near to final preview can be available for existing Windows Phone application developers through Windows Phone 8 SDK Preview Program.

More details about Windows Phone 8 SDK Preview Program, and how existing developers can get going by subscribing to this program will be provided later by Todd.

<code>&lt;p&gt;You can read the announcement blog &lt;strong&gt;&lt;a href="/wp-content/uploads/2012/09/windows-phone-8-sdk-preview-opens-for-applications-sept-12.aspx" target="_blank"&gt;here&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.nitrix-reloaded.com/wp-content/uploads/2012/09/windows-phone-8-start.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="windows-phone-8-start" border="0" alt="windows-phone-8-start" src="http://www.nitrix-reloaded.com/wp-content/uploads/2012/09/windows-phone-8-start_thumb.jpg" width="540" height="339" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Looking through the announcement Todd has made it clear that only existing application developers with Published App will be able to join this program. &lt;/p&gt;  &lt;p&gt;&lt;em&gt;&lt;u&gt;Just quoting from Todd’s blog for your convenience:&lt;/u&gt;&lt;/em&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;Today I’m happy to announce that the time has come to make the near-final kit available to more developers through the Windows Phone 8 SDK Preview Program. Next Wednesday I’ll share detailed instructions on how current Windows Phone developers with published apps can apply. But I do want to set your expectations that program access will be limited.&lt;/p&gt;    &lt;p&gt;The full Windows Phone 8 SDK will be made publically available later this year when we unveil Windows Phone 8. Until then, we believe this program offers more published developers a way to explore the SDK and get started on the next wave of amazing Windows Phone apps.&lt;/p&gt;    &lt;p&gt;Look for more details Wednesday, September 12.&lt;/p&gt;&lt;/blockquote&gt;
</code>

Introducing Windows Azure Mobile Services – Cloud Backend Solution For Mobile Apps

August 28, 2012 .NET, All, Azure, Cloud Services, Microsoft, Mobile SDK, Mobile Services, Mobile-Development, Windows Phone, Windows Phone Development, Windows Phone SDK No comments

Microsoft has introduced a new service in Windows Azure platform – Windows Azure Mobile Services makes it incredibly easy to connect a scalable cloud backend to your client and mobile applications. It allows you to easily store structured data in the cloud that can span both devices and users, integrate it with user authentication, as well as send out updates to clients via push notifications.

image

Image Courtesy: Microsoft Azure site

image

mobile-services-diagram

Image Courtesy: ScottGu’s blog

Mobile Services are available for Windows 8 apps, but subsequent preview releases will extend support to iOS, Android, and Windows Phone.

Read the Windows Azure blog or Scott Guthrie blog for more information or visit Windows Azure Mobile Services dev center to get started.

Video – Getting Started with Windows Azure Mobile Services by ScottGu

 

References:

Scott Guthrie blog

Windows Azure blog 

Windows Azure Mobile Services dev center

Facebook C# SDK v6.0.22 RTW with Windows 8 and .NET 4.5 is released

August 27, 2012 .NET, .NET Framework, All, ASP.NET, ASP.NET MVC, C#.NET, Featured, KnowledgeBase, Microsoft, Microsoft SDKs, Silverlight, Social, VisualStudio, VS2012, Windows, Windows 8, Windows Phone, Windows Phone Development, Windows Phone SDK, WPF No comments

161935_162171137156411_1776521691_n

Facebook v6.0.22 RTW with official support for Windows 8 and .NET 4.5 released. The Facebook C# SDK helps .Net developers build web, desktop, phone and metro style applications that integrate with Facebook.

In order to use this SDK with your C# solutions you have the following options.

Download Facebook C# SDK  from NUGET   (NuGet is a package manager for Visual Studio integrated with Visual Studio 2010 SP1 and above. For a brief overview of what NuGet is, see NuGet overview.)

Or

You can get Facebook C# SDK source from Github and build use the libraries on your own (see Building Facebook C# SDK from Source), and you may also have to read Facebook developer documentation. (Official documentation from Facebook)

You can see additional documentation on http://csharpsdk.org/ (Official website of Facebook C# SDK) and http://csharpsdk.org/docs/ (Documentations).

You can like and follow the updates about Facebook C# SDK @ Facebook page https://www.facebook.com/csharpsdk .

I hope this helps with your development.

Windows Phone 7.8 Feature set Leaked

August 15, 2012 .NET, All, Featured, Microsoft, Windows, Windows Phone, Windows Phone "Tango", Windows Phone 7, Windows Phone 7.5, Windows Phone 7.8, Windows Phone 8, Windows Phone Development, Windows Phone SDK No comments

Recently leaked Windows Phone 7.8 feature list indicates some of the interesting features you can expect as part of Windows.

Windows Phone 7.8 is an incremental update to existing Windows Phone 7.x platform, as upcoming Windows Phone 8 will not work on existing windows phone 7.x devices, because hardware signature and kernel might change as part of Windows Phone 8 improved features.

So Microsoft is planning to release an incremental update that includes some of the features of Windows Phone 7.x to satisfy the existing Windows Phone users, this incremental update is officially announced as Windows Phone 7.8.

 

Some of the features of Windows Phone 7.8 includes:

  1. Windows Phone 7.8 will sport the new home screen tiles, with variable sizes allowing more to fit on the display
  2. Improved camera application with Smart Group Shot, action, panorama and self-timer options.
  3. Wi-Fi tethering to Windows Phone 7.8
  4. Ability to flip the phone over to silence an incoming call, message tone or alarm.

Some  interesting features of Windows Phone 8 we might miss as part of Windows Phone 7.8 release.

Features not coming to Windows Phone 7.8 include:

  • Over-the-air updates
  • Support for screen resolutions higher than WVGA
  • Internet Explorer 10
  • Multi-core processor support
  • Wallet Hub
  • NFC
  • Real multitasking
  • MicroSD card support
  • Device Management
  • Company Hub
  • Secure Boot and Encryption
  • IE 10

Another interesting news is that, the Windows Phone 8 release date is set for October 27, the same as Microsoft’s main Windows 8 operating system,

You can read through the full original article at Tech Radar and WPFanboy’s blog

I Unlock Joy 2012–Build Windows Phone apps campaign in India

August 9, 2012 .NET, All, Dev Community, iUnlockJoy, Microsoft, VisualStudio, VS2012, Windows, Windows Phone, Windows Phone 7, Windows Phone 8, Windows Phone Development, Windows Phone SDK No comments , ,

I Unlock Joy is a campaign by Microsoft. Build Windows Phone apps and learn more about Windows Phone.You will be getting a change to build Windows Phone Apps and showcase your capabilities and win a Windows Phone or other gadgets from Microsoft.

The campaign is coming to India in next 24 hours, stay tuned to participate.

image

Visit: http://www.microsoft.com/india/iunlockjoy/