<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Artificial ignorance &#187; Windows Phone 7</title>
	<atom:link href="http://www.Artificialignorance.net/blog/category/windows-phone-7/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.Artificialignorance.net/blog</link>
	<description>the anand iyer chronicles</description>
	<lastBuildDate>Thu, 08 Dec 2011 21:18:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Push Notifications in Windows Phone 7 developer tools CTP April Refresh</title>
		<link>http://www.Artificialignorance.net/blog/windows-phone/push-notifications-in-windows-phone-7-developer-tools-ctp-april-refresh/</link>
		<comments>http://www.Artificialignorance.net/blog/windows-phone/push-notifications-in-windows-phone-7-developer-tools-ctp-april-refresh/#comments</comments>
		<pubDate>Mon, 03 May 2010 06:25:37 +0000</pubDate>
		<dc:creator>Anand Iyer</dc:creator>
				<category><![CDATA[push notificatons]]></category>
		<category><![CDATA[Windows phone]]></category>
		<category><![CDATA[Windows Phone 7]]></category>
		<category><![CDATA[push notifications]]></category>

		<guid isPermaLink="false">http://www.Artificialignorance.net/blog/windows-phone/push-notifications-in-windows-phone-7-developer-tools-ctp-april-refresh/</guid>
		<description><![CDATA[TweetTweet As you may know, we recently announced the April Refresh of the Windows Phone 7 developer tools. We’ve made some changes to some our APIs, including the way our Push Notifications work. A few things you need to be aware of with the new tools and code for Push Notifications in WP7: In your [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://www.Artificialignorance.net/blog/windows-phone/push-notifications-in-windows-phone-7-developer-tools-ctp-april-refresh/&via=ai&text=Push Notifications in Windows Phone 7 developer tools CTP April Refresh&related=:&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://www.Artificialignorance.net/blog/windows-phone/push-notifications-in-windows-phone-7-developer-tools-ctp-april-refresh/&via=ai&text=Push Notifications in Windows Phone 7 developer tools CTP April Refresh&related=:&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="fblike_button" style="margin: 10px 0;"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.Artificialignorance.net%2Fblog%2Fwindows-phone%2Fpush-notifications-in-windows-phone-7-developer-tools-ctp-april-refresh%2F&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;font=tahoma&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:70px"></iframe></div>
<p>As you may know, we <a href="http://windowsteamblog.com/blogs/wpdev/archive/2010/04/29/windows-phone-developer-tools-ctp-refresh.aspx">recently announced</a> the <a href="http://download.microsoft.com/download/D/9/A/D9A6B6ED-D1CF-4FB3-86BD-62A55959175F/VMX/vm_web.exe">April Refresh of the Windows Phone 7 developer tools</a>. We’ve made some changes to some our APIs, including the way our <strong>Push Notifications </strong>work.</p>
<p>A few things you need to be aware of with the new tools and code for Push Notifications in WP7:</p>
<ol>
<li>In your WP7 application’s <strong>WMAppManifest.xml</strong> file, ensure you have listed out the capabilities that your application will be utilizing. In this case, for your application to support Push Notifications, at the least you’d need to add the following to your <strong>WMAppManifest.xml</strong>:      </li>
<pre>&lt;Capabilities&gt;
    &lt;Capability Name=&quot;ID_CAP_NETWORKING&quot; /&gt;
    &lt;Capability Name=&quot;ID_CAP_PUSH_NOTIFICATION&quot; /&gt;
&lt;/Capabilities&gt;<span id="more-198"></span></pre>
<p><b></b></p>
<li>Your application needs to have an entry for the publisher. Perform the following steps since the default entry for Publisher is empty by default (changes in bold and red):
<p><font size="2" face="Courier New">&lt;App xmlns=&quot;&quot; ProductID=&quot;{5286c8f1-e346-4a8b-a0c9-1b37aa9bdc9d}&quot; Title=&quot;PushTest&quot; RuntimeType=&quot;SilverLight&quot;<br />
      <br />Version=&quot;1.0.0.0&quot; Genre=&quot;NormalApp&quot;&#160; Author=&quot;ai&quot; Description=&quot;pushtest&quot; <strong><font color="#ff0000">Publisher=&quot;ai&quot;</font></strong>&gt;</p>
<p></font></li>
<li>There are a couple of changes in the actual payload that gets sent. Inside the application that actually posts the notification (through Microsoft’s push notification server) to Windows Phone 7, the payload now needs to look like (changes in bold and red):
<p><font size="2" face="Courier New">string toastMessage = &quot;Content-Type: text/xml\r\nX-WindowsPhone-Target: toast\r\n\r\n&quot; +<br />
      <br /> &quot;&lt;?xml version=\&quot;1.0\&quot; encoding=\&quot;utf-8\&quot;?&gt;&quot; + </p>
<p>&quot;&lt;wp:<strong><font color="#ff0000">Notification</font></strong> xmlns:wp=\&quot;</font><font color="#ff0000"><strong>WPNotification</strong></font>\&quot;&gt;&quot; + </p>
<p>&quot;&lt;wp:Toast&gt;&quot; + </p>
<p>&quot;&lt;wp:Text1&gt;&lt;string&gt;&lt;/wp:Text1&gt;&quot; + </p>
<p>&quot;&lt;/wp:Toast&gt;&quot; + &quot;&lt;/wp:<font color="#ff0000"><strong>Notification</strong></font>&gt;&quot;;</p>
<p>I’ve used an example payload for a Toast Notification above, but similar changes apply for other types of notifications.</li>
</ol>
<p>That’s it! I’ve tested this with the ‘<a href="http://skeevs.com/blog/?p=35"><strong>Push Tweets</strong></a>’ sample app:</p>
<p><a href="http://www.artificialignorance.net/blog/wp-content/uploads/images/PushNotificationsinWindowsPhoneDeveloper_CC54/pushnotif.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="pushnotif" border="0" alt="pushnotif" src="http://www.artificialignorance.net/blog/wp-content/uploads/images/PushNotificationsinWindowsPhoneDeveloper_CC54/pushnotif_thumb.jpg" width="376" height="670" /></a> </p>
<p>Related articles:</p>
<ol>
<li><a href="http://download.microsoft.com/download/D/9/A/D9A6B6ED-D1CF-4FB3-86BD-62A55959175F/ReleaseNotes.htm">Changes in the April release of the Windows Phone 7 developer tools</a></li>
<li>MSDN: <a href="http://msdn.microsoft.com/en-us/library/ff402545(v=VS.92).aspx">Send a Push Notification for Windows Phone 7</a></li>
<li><a href="http://skeevs.com/blog/?p=35">Push tweets to a Windows Phone 7 device (via push notifications)</a></li>
<li><a href="http://windowsteamblog.com/blogs/wpdev/archive/2010/04/29/windows-phone-developer-tools-ctp-refresh.aspx">Windows Phone Developer Tools CTP Refresh</a></li>
</ol>
<p><a href="http://twitter.com/ai"><strong>@ai</strong></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.Artificialignorance.net/blog/windows-phone/push-notifications-in-windows-phone-7-developer-tools-ctp-april-refresh/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Drinking from the Foursquare Firehose on Windows Phone 7</title>
		<link>http://www.Artificialignorance.net/blog/windows-phone-7/drinking-from-the-foursquare-firehose-on-windows-phone-7/</link>
		<comments>http://www.Artificialignorance.net/blog/windows-phone-7/drinking-from-the-foursquare-firehose-on-windows-phone-7/#comments</comments>
		<pubDate>Thu, 25 Mar 2010 14:45:00 +0000</pubDate>
		<dc:creator>Anand Iyer</dc:creator>
				<category><![CDATA[Windows Phone 7]]></category>
		<category><![CDATA[ctia]]></category>
		<category><![CDATA[firehose]]></category>
		<category><![CDATA[foursquare]]></category>
		<category><![CDATA[mix10]]></category>
		<category><![CDATA[society]]></category>
		<category><![CDATA[wp7]]></category>
		<category><![CDATA[wp7dev]]></category>
		<category><![CDATA[xmpp]]></category>

		<guid isPermaLink="false">http://www.artificialignorance.net/blog/windows-phone-7/drinking-from-the-foursquare-firehose-on-windows-phone-7/</guid>
		<description><![CDATA[TweetTweet [Update: The source code for the app is now available on Codeplex: http://4square.codeplex.com] Foursquare is one of the leading location aware applications out there today with a rapidly growing user base. They’re really hot right now – they exploded dramatically at SXSW this year. We take it for granted when things “just work” – [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://www.Artificialignorance.net/blog/windows-phone-7/drinking-from-the-foursquare-firehose-on-windows-phone-7/&via=ai&text=Drinking from the Foursquare Firehose on Windows Phone 7&related=:&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://www.Artificialignorance.net/blog/windows-phone-7/drinking-from-the-foursquare-firehose-on-windows-phone-7/&via=ai&text=Drinking from the Foursquare Firehose on Windows Phone 7&related=:&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="fblike_button" style="margin: 10px 0;"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.Artificialignorance.net%2Fblog%2Fwindows-phone-7%2Fdrinking-from-the-foursquare-firehose-on-windows-phone-7%2F&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;font=tahoma&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:70px"></iframe></div>
<p><strong><em>[Update: The source code for the app is now available on Codeplex: </em></strong><a href="http://4square.codeplex.com"><strong><em>http://4square.codeplex.com</em></strong></a><strong><em>]</em></strong></p>
<p><a href="http://foursquare.com"><strong>Foursquare</strong></a> is one of the leading location aware applications out there today with a rapidly growing user base. They’re really hot right now – they exploded dramatically at <a href="http://www.sxsw.com">SXSW</a> this year. We take it for granted when things “just work” – I can’t recall Foursquare having any kind of downtime at SXSW in spite of the explosive usage they saw that week and this is a huge testament to their dev team that managed the required scale so well. </p>
<p>Some of you may have seen the Foursquare Windows Phone 7 app that was demo’d on stage at <a href="http://live.visitmix.com/">MIX</a> last week. The app looks amazing and “critics agree” ;)<span id="more-196"></span></p>
<p><a href="http://twitter.com/Gartenberg/status/10527199866"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Gartenberg" border="0" alt="Gartenberg" src="http://www.artificialignorance.net/blog/wp-content/uploads/images/DrinkingfromtheFoursquareFirehosefromWin_13C6F/Gartenberg.jpg" width="383" height="181" /></a></p>
<p><a href="http://twitter.com/ksmarshall/status/10527427532"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="ksmarshall4s" border="0" alt="ksmarshall4s" src="http://www.artificialignorance.net/blog/wp-content/uploads/images/DrinkingfromtheFoursquareFirehosefromWin_13C6F/ksmarshall4s.jpg" width="380" height="178" /></a></p>
<p>Here’s what the app looks like. For your information, it’s around 11.10pm right now on March 24, 2010, and I’m at my hotel, the <a href="http://www.lvhilton.com/">Las Vegas Hilton</a> in Las Vegas, NV for <a href="http://www.ctiawireless.com/events/">CTIA Spring</a>.</p>
<p><a href="http://www.artificialignorance.net/blog/wp-content/uploads/images/DrinkingfromtheFoursquareFirehosefromWin_13C6F/4sstart.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="4sstart" border="0" alt="4sstart" src="http://www.artificialignorance.net/blog/wp-content/uploads/images/DrinkingfromtheFoursquareFirehosefromWin_13C6F/4sstart_thumb.jpg" width="243" height="485" /></a> </p>
<p><a href="http://www.artificialignorance.net/blog/wp-content/uploads/images/DrinkingfromtheFoursquareFirehosefromWin_13C6F/4svenues.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="4svenues" border="0" alt="4svenues" src="http://www.artificialignorance.net/blog/wp-content/uploads/images/DrinkingfromtheFoursquareFirehosefromWin_13C6F/4svenues_thumb.jpg" width="243" height="489" /></a> </p>
<p><a href="http://www.artificialignorance.net/blog/wp-content/uploads/images/DrinkingfromtheFoursquareFirehosefromWin_13C6F/4scheckin.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="4scheckin" border="0" alt="4scheckin" src="http://www.artificialignorance.net/blog/wp-content/uploads/images/DrinkingfromtheFoursquareFirehosefromWin_13C6F/4scheckin_thumb.jpg" width="248" height="495" /></a> </p>
</p>
<p><a href="http://www.artificialignorance.net/blog/wp-content/uploads/images/DrinkingfromtheFoursquareFirehosefromWin_13C6F/4scheckin2.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="4scheckin2" border="0" alt="4scheckin2" src="http://www.artificialignorance.net/blog/wp-content/uploads/images/DrinkingfromtheFoursquareFirehosefromWin_13C6F/4scheckin2_thumb.jpg" width="248" height="496" /></a>&#160;</p>
<p><a href="http://www.artificialignorance.net/blog/wp-content/uploads/images/DrinkingfromtheFoursquareFirehosefromWin_13C6F/4scheckinconf.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="4scheckinconf" border="0" alt="4scheckinconf" src="http://www.artificialignorance.net/blog/wp-content/uploads/images/DrinkingfromtheFoursquareFirehosefromWin_13C6F/4scheckinconf_thumb.jpg" width="246" height="501" /></a> </p>
<p><a href="http://www.artificialignorance.net/blog/wp-content/uploads/images/DrinkingfromtheFoursquareFirehosefromWin_13C6F/4sfriends.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="4sfriends" border="0" alt="4sfriends" src="http://www.artificialignorance.net/blog/wp-content/uploads/images/DrinkingfromtheFoursquareFirehosefromWin_13C6F/4sfriends_thumb.jpg" width="246" height="493" /></a> </p>
<p>Now this is something that’s a little different from what you may have seen before. You can see where your nearby friends are on a map. I’ll be honest with you – it was till I was using the Foursquare app on Windows Phone 7 when I first got to Vegas that I new <a href="http://brettpetersel.com/">Brett Petersel</a> was in Vegas for CTIA. I happened to notice another pushpin on the map, clicked on it, and it was him. </p>
<p>Tonight he happens to be at the Benihana which is near the Hilton:</p>
<p><a href="http://www.artificialignorance.net/blog/wp-content/uploads/images/DrinkingfromtheFoursquareFirehosefromWin_13C6F/4sfriends2.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="4sfriends2" border="0" alt="4sfriends2" src="http://www.artificialignorance.net/blog/wp-content/uploads/images/DrinkingfromtheFoursquareFirehosefromWin_13C6F/4sfriends2_thumb.jpg" width="322" height="642" /></a> </p>
<p><a href="http://www.artificialignorance.net/blog/wp-content/uploads/images/DrinkingfromtheFoursquareFirehosefromWin_13C6F/4sfrienddetail.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="4sfrienddetail" border="0" alt="4sfrienddetail" src="http://www.artificialignorance.net/blog/wp-content/uploads/images/DrinkingfromtheFoursquareFirehosefromWin_13C6F/4sfrienddetail_thumb.jpg" width="226" height="448" /></a> </p>
<p><a href="http://www.artificialignorance.net/blog/wp-content/uploads/images/DrinkingfromtheFoursquareFirehosefromWin_13C6F/4sdirections.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="4sdirections" border="0" alt="4sdirections" src="http://www.artificialignorance.net/blog/wp-content/uploads/images/DrinkingfromtheFoursquareFirehosefromWin_13C6F/4sdirections_thumb.jpg" width="225" height="446" /></a> </p>
<p>At MIX, <a href="http://www.techflash.com/seattle/2010/03/windows_phone_7_series_apps_microsoft_rolls_out_basics.html">I’d put out a teaser about the ‘Society’ tab within the app</a>. Now, some time back, the Foursquare team told me about their firehose. I asked <a href="http://naveenium.com/">Naveen Selvadurai</a> about a practical use of the firehose within a mobile app, and his response: “that’s your job! ;)” So I thought to myself &#8211; when I’m at an event, like CTIA, what I want to know is <strong><em>where it’s going down right now</em></strong>. Where are people checking in right now? So here’s how we use the foursquare firehose within the WP7 Foursquare app. </p>
<p>Clicking on the Society tab, takes me to this screen:</p>
<p><a href="http://www.artificialignorance.net/blog/wp-content/uploads/images/DrinkingfromtheFoursquareFirehosefromWin_13C6F/4sheatmap.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="4sheatmap" border="0" alt="4sheatmap" src="http://www.artificialignorance.net/blog/wp-content/uploads/images/DrinkingfromtheFoursquareFirehosefromWin_13C6F/4sheatmap_thumb.jpg" width="321" height="646" /></a> </p>
<p>The number of checkins is a real-time view of checkins that have been accumulated in the past few minutes. Panning around on the map a little bit to see where the action is tonight:</p>
<p><a href="http://www.artificialignorance.net/blog/wp-content/uploads/images/DrinkingfromtheFoursquareFirehosefromWin_13C6F/4sheatmap2.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="4sheatmap2" border="0" alt="4sheatmap2" src="http://www.artificialignorance.net/blog/wp-content/uploads/images/DrinkingfromtheFoursquareFirehosefromWin_13C6F/4sheatmap2_thumb.jpg" width="315" height="624" /></a></p>
<p>Just a few minutes later, I refreshed the map again. I guess <a href="http://www.arialasvegas.com/">Aria</a>’s the place to be at tonight (at least right now):</p>
<p><a href="http://www.artificialignorance.net/blog/wp-content/uploads/images/DrinkingfromtheFoursquareFirehosefromWin_13C6F/4sheatmap3.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="4sheatmap3" border="0" alt="4sheatmap3" src="http://www.artificialignorance.net/blog/wp-content/uploads/images/DrinkingfromtheFoursquareFirehosefromWin_13C6F/4sheatmap3_thumb.jpg" width="320" height="645" /></a> </p>
<p>This application was written in C# and <a href="http://silverlight.net">Silverlight</a> and is an example of how we can push the boundaries of user experience and consuming real-time data within a Windows Phone 7 app. You like?</p>
<p><a href="http://twitter.com/ai"><strong>@ai</strong></a></p>
<p>PS: Talk about Foursquare exploding, I saw this <em>in</em> the Las Vegas Hilton:</p>
<p><a title="@foursquare your biz dev guy deserves a raise ;)" href="http://www.flickr.com/photos/81223141@N00/4458027729/"><img border="0" alt="@foursquare your biz dev guy deserves a raise ;)" src="http://farm5.static.flickr.com/4024/4458027729_3f3a831430.jpg" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.Artificialignorance.net/blog/windows-phone-7/drinking-from-the-foursquare-firehose-on-windows-phone-7/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Developing for Windows Phone 7 Series</title>
		<link>http://www.Artificialignorance.net/blog/windows-phone-7/developing-for-windows-phone-7-series/</link>
		<comments>http://www.Artificialignorance.net/blog/windows-phone-7/developing-for-windows-phone-7-series/#comments</comments>
		<pubDate>Mon, 15 Mar 2010 17:02:00 +0000</pubDate>
		<dc:creator>Anand Iyer</dc:creator>
				<category><![CDATA[Windows Phone 7]]></category>
		<category><![CDATA[dreamspark]]></category>
		<category><![CDATA[expression blend 4]]></category>
		<category><![CDATA[location]]></category>
		<category><![CDATA[marketplace]]></category>
		<category><![CDATA[push notifications]]></category>
		<category><![CDATA[visual studio 2010]]></category>
		<category><![CDATA[windows phone 7 series]]></category>

		<guid isPermaLink="false">http://www.artificialignorance.net/blog/windows-phone-7/developing-for-windows-phone-7-series/</guid>
		<description><![CDATA[TweetTweet Some time back the team and I talked about our commitment to the Silverlight and XNA platforms on Windows Phone 7 Series as the primary developer platforms. We also promised to go into more detail about these platforms at MIX. Not to oversimplify things, but, you can think about creating an application using the [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://www.Artificialignorance.net/blog/windows-phone-7/developing-for-windows-phone-7-series/&via=ai&text=Developing for Windows Phone 7 Series&related=:&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://www.Artificialignorance.net/blog/windows-phone-7/developing-for-windows-phone-7-series/&via=ai&text=Developing for Windows Phone 7 Series&related=:&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="fblike_button" style="margin: 10px 0;"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.Artificialignorance.net%2Fblog%2Fwindows-phone-7%2Fdeveloping-for-windows-phone-7-series%2F&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;font=tahoma&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:70px"></iframe></div>
<p>Some time back <a href="http://blogs.msdn.com/ckindel/archive/2010/03/04/different-means-better-with-the-new-windows-phone-developer-experience.aspx">the team</a> and <a href="http://www.artificialignorance.net/blog/windows-phone/windows-phone-7-series-developers-developers-developers/">I talked about</a> our commitment to the Silverlight and XNA platforms on Windows Phone 7 Series as the primary developer platforms. We also promised to go into more detail about these platforms at <a href="http://visitmix.com/events">MIX</a>.</p>
<p>Not to oversimplify things, but, you can think about creating an application using the following iterative process:</p>
<p><a href="http://www.artificialignorance.net/blog/wp-content/uploads/images/391f5e09dbed_5346/Graphic1.jpg"><img style="display: inline; border-width: 0px;" title="Graphic1" src="http://www.artificialignorance.net/blog/wp-content/uploads/images/391f5e09dbed_5346/Graphic1_thumb.jpg" border="0" alt="Graphic1" width="723" height="208" /></a></p>
<p>While I can’t help you a whole lot with the ideation, I want to drill into a little more detail about how you can <strong>Design, Develop</strong> <strong>and Test </strong>your app, and eventually <strong>Distribute and Monetize </strong>your Windows Phone 7 app. The easiest way to think about how to design and develop for Windows Phone 7 Series is to break it down in to <strong>the platform </strong>piece and <strong>the tools</strong> piece.<span id="more-182"></span></p>
<h3>The Platform</h3>
<h4>Silverlight and XNA</h4>
<p>As we’d mentioned earlier, the primary development platforms will comprise exclusively of <a href="http://www.silverlight.net"><strong>Silverlight</strong></a> and <a href="http://xna.com"><strong>XNA</strong></a>. The Silverlight platform will be a superset of Silverlight 3 with some specific APIs and features that cater to the phone. The .NET Compact Framework, as we know it today, will not be exposed in Windows Phone 7 Series.</p>
<h4>Location and Push Notification Services</h4>
<p>The need to get a device user’s current pinpoint location has become increasingly important to mobile application developers. We’ll be exposing APIs for developers to get a user’s current location. The API in turn will use a variety of techniques, including GPS, Cell Tower Information (where possible) and WiFi based lookup (where possible).</p>
<p>Developers also want to be able to asynchronously send information down to devices that have their applications installed. This is typically information pertinent to an application and the services they expose (like informing a user asynchronously that a friend may have posted something on their Facebook wall, for example). To enable this scenario easily, we have the Push Notification Service, a mechanism for sending information over HTTP directly to the phone, regardless of whether or not the application is running. This information in turn can be used to send notifications to the user in the form of a ‘toast’ or by updating a live tile on the start screen.</p>
<p><a href="http://www.artificialignorance.net/blog/wp-content/uploads/images/391f5e09dbed_5346/livetilexample.jpg"><img style="display: inline; border-width: 0px;" title="livetilexample" src="http://www.artificialignorance.net/blog/wp-content/uploads/images/391f5e09dbed_5346/livetilexample_thumb.jpg" border="0" alt="livetilexample" width="252" height="279" /></a></p>
<p><em>Example of a Live Tile</em></p>
<h4>Hardware Design Specification</h4>
<p>One of the biggest questions I keep getting is about the <em>type</em> of Windows Phone 7 devices that will be hitting the market. This is obviously a sensitive area for developers – <em>the software looks great, what can I expect from the hardware?</em></p>
<p><strong>There is a <span style="text-decoration: underline;">single</span> Windows Phone 7 Series hardware specification &#8211; </strong>hardware manufacturers will use this specification as a baseline to build devices that will run Windows Phone Operating System 7.0<strong>.</strong> Developers can count on the fact that all Windows Phone 7 Series hardware will include</p>
<ul>
<li>a powerful processor,</li>
<li>256 MB of RAM with a minimum of 4 GB Flash,</li>
<li>802.11 b/g wireless,</li>
<li>capacitive only screen,</li>
<li>5 sensors – A-GPS, accelerometer, compass, proximity and light, and,</li>
<li>two options for kinds of screens; WVGA at launch and HVGA coming shortly thereafter.</li>
</ul>
<h3>The Tools</h3>
<p>With previous versions of Windows Mobile, there were a myriad of issues with trying to acquire the right tools including things like the cost of actually acquiring the tools itself, localization issues, performance (of the emulators) and many more. <a href="http://blogs.msdn.com/ckindel">Charlie Kindel</a>, the developer platform lead, and Drew Lytle, lead program manager on the developer platform, talk about how they wanted the tooling to be “friction free” – easy to acquire, easy to install, easy to get developing.</p>
<p>You can head over to the <a href="http://developer.windowsphone.com"><strong>http://developer.windowsphone.com</strong></a> portal and download a <strong><span style="text-decoration: underline;">free</span></strong> tool, called the Windows Phone Developer Tools Preview, that will bring down the requisite pieces for you to able to developer for Windows Phone 7 Series. This download is about 3MBs big. <strong>These requisite pieces are also <span style="text-decoration: underline;">free</span></strong> and will include:</p>
<ul>
<li>Preview of <strong>Visual Studio 2010 Express for Windows Phone</strong> if you do not have Visual Studio 2010 installed, <strong>Windows Phone 7 Series Add-in for Visual Studio 2010</strong> if you have Visual Studio 2010 installed</li>
<li><strong>XNA Game Studio 4.0 </strong></li>
<li><strong>Windows Phone 7 Series Emulator</strong></li>
</ul>
<p>Designers are a crucial piece to our application development story. Especially since Silverlight is one of the key developer platforms on board, we want to enable designers to be able to do their jobs well. <a href="http://microsoft.com/expression">Expression Blend</a> is a tool that helps designers design Silverlight based applications. Today, we have a preview of <strong>Expression Blend 4 for Windows Phone </strong>available which is also free. <a href="http://electricbeach.org/?page_id=2">Christian Schormann</a> is the authority on our team on Expression Blend – be sure to read <a href="http://electricbeach.org/?p=438">his blog post on Expression Blend 4</a>.</p>
<p>All that said, now imagine being able to use Expression Blend to design your applications, Visual Studio to complete the development and being able to create a sweet Windows Phone application that you can easily test on a highly performant emulator. <strong>*drool*</strong></p>
<p><strong><a href="http://www.artificialignorance.net/blog/wp-content/uploads/images/391f5e09dbed_5346/VS2010.jpg"><img style="display: inline; border-width: 0px;" title="VS2010" src="http://www.artificialignorance.net/blog/wp-content/uploads/images/391f5e09dbed_5346/VS2010_thumb.jpg" border="0" alt="VS2010" width="653" height="460" /></a> </strong></p>
<p><em>Visual Studio 2010 Express for Windows Phone</em></p>
<p><strong><a href="http://www.artificialignorance.net/blog/wp-content/uploads/images/391f5e09dbed_5346/WP7Emulator.jpg"><img style="display: inline; border-width: 0px;" title="WP7Emulator" src="http://www.artificialignorance.net/blog/wp-content/uploads/images/391f5e09dbed_5346/WP7Emulator_thumb.jpg" border="0" alt="WP7Emulator" width="328" height="575" /></a> </strong></p>
<p><em>Windows Phone 7 Emulator</em></p>
<h3>Distribute and Monetize</h3>
<p>Once you’re done designing, developing and testing, you want to be able to distribute your application and possibly monetize. There are two components to this piece, one is <strong>the developer portal </strong>where you can submit your applications, the other the <strong>Windows Phone Marketplace client</strong> that will help you acquire applications from your device and/or your computer. The Windows Phone Marketplace will be the exclusive way to download apps to your Windows Phone 7 Series device (we will provide avenues for developers to ‘unlock’ their phones for testing purposes). We will furnish information on submitting applications to the Marketplace at a later time.</p>
<p>On the device, the Windows Phone Marketplace is it’s own hub. The layout is beautiful, and it will help consumers discover apps and games easily. There are also hooks to <strong>discover</strong> relevant applications through other hubs, like being able to find a music application from the Music and Videos hub, for example.</p>
<p>One of the key features that have been added to this implementation has been the ability for developers to programmatically support a trial mode within their application. This way consumers have the option of <strong>trying before they buy </strong>an app. Developers will also be able to ‘<strong>deep link</strong>’ to the applications they have developed and furnished on the Marketplace from their own website, thereby making it easier for consumers to download apps.</p>
<p>And, <strong>students </strong>who are registered for <a href="http://dreamspark.com"><strong>Dreamspark</strong></a> can register on the <a href="http://developer.windowsphone.com/Marketplace.aspx">Windows Phone Marketplace</a> and submit up to two applications for <strong>free</strong>.</p>
<h3>Ideate, Design + Develop + Test <strong>Today</strong></h3>
<ul>
<li>We have a bunch of resources going live to help you get going. <strong>Your one stop shop to get all the required content is <a href="http://developer.windowsphone.com">http://developer.windowsphone.com</a></strong></li>
<li>Charlie Kindel&#8217;s post: <a href="http://windowsteamblog.com/blogs/wpdev/archive/2010/03/15/the-right-mix.aspx">The Right MIX</a></li>
<li><a href="http://charlespetzold.com/">Charles Petzold</a> is working on the first ever Windows Phone 7 Series development book, titled “<strong>Programming Windows Phone 7 Series</strong>”. An e-book will be made available shortly – stay tuned.</li>
<li>I want to constantly highlight applications that you are developing for Windows Phone 7 Series both on my blog as well as the <a href="http://windowsteamblog.com/blogs/wpdev/default.aspx">Windows Team Developer Blog</a>. So, let me know once you have an app cookin’.</li>
<li>Tim Heuer&#8217;s post: <a href="http://timheuer.com/blog/archive/2010/03/15/get-started-with-silverlight-for-windows-phone.aspx">Getting Started with Silverlight and Windows Phone 7 development</a></li>
<li>Michael Klucher&#8217;s post: <a href="http://klucher.com/blog/windows-phone-developer-tools-xna-game-studio-4-0-available-now/">Windows Phone Developer Tools + XNA Game Studio 4.0 Available Now!</a></li>
<li>Christian Schormann&#8217;s post: <a title="Introducing Blend 4 – For Silverlight, WPF and Windows Phone" rel="bookmark" href="http://electricbeach.org/?p=438">Introducing Blend 4 – For Silverlight, WPF and Windows Phone</a></li>
<li>Be sure to follow our developer team <a href="http://twitter.com/wp7dev">@wp7dev</a>, or individually, <a href="http://blogs.msdn.com/ckindel">Charlie Kindel</a> (@<a href="http://twitter.com/ckindel">ckindel</a>), <a href="http://blogs.msdn.com/shawnhar/">Shawn Hargreaves</a> (@<a href="http://twitter.com/shawnhargreaves">shawnhargreaves</a>) , <a href="http://klucher.com/">Michael Klucher</a> (@<a href="http://twitter.com/kluch">kluch</a>), <a href="http://www.ozymandias.com/">Andre Vrignaud</a> (@<a href="http://twitter.com/ozymandias">ozymandias</a>), <a href="http://blogs.msdn.com/lokeuei">Loke Uei Tan</a> (@<a href="http://twitter.com/lokeuei">lokeuei</a>) and <a href="http://electricbeach.org/">Christian Schormann</a> (@<a href="http://twitter.com/cschormann">cschormann</a>).</li>
</ul>
<p><a href="mailto:“@ai"><strong>@ai</strong></a></p>
<p><em>now playing in my head: Steve Ballmer screaming &#8220;Phone Developers&#8221; (a la the Marionette Windows Phone 7 Series app)</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.Artificialignorance.net/blog/windows-phone-7/developing-for-windows-phone-7-series/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

