<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" version="2.0">
  <channel>
    <title>DotNetDoc - Windows Phone</title>
    <link>http://www.dotnetdoc.com/</link>
    <description>My Ramblings on .Net and other stuff</description>
    <language>en-us</language>
    <copyright>Daniel Egan</copyright>
    <lastBuildDate>Fri, 16 Mar 2012 18:05:35 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 1.9.6264.0</generator>
    <managingEditor>degan@ocgpros.com</managingEditor>
    <webMaster>degan@ocgpros.com</webMaster>
    <item>
      <trackback:ping>http://www.dotnetdoc.com/Trackback.aspx?guid=1bd8ff89-ea84-4596-9b80-64f7797132c4</trackback:ping>
      <pingback:server>http://www.dotnetdoc.com/pingback.aspx</pingback:server>
      <pingback:target>http://www.dotnetdoc.com/PermaLink,guid,1bd8ff89-ea84-4596-9b80-64f7797132c4.aspx</pingback:target>
      <dc:creator>Daniel Egan</dc:creator>
      <wfw:comment>http://www.dotnetdoc.com/CommentView,guid,1bd8ff89-ea84-4596-9b80-64f7797132c4.aspx</wfw:comment>
      <wfw:commentRss>http://www.dotnetdoc.com/SyndicationService.asmx/GetEntryCommentsRss?guid=1bd8ff89-ea84-4596-9b80-64f7797132c4</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
 
</p>
        <p>
          <a href="http://www.windowsphone.com/en-US/apps/9ed0ff92-3896-4a2e-bb7f-064a58c0df9b">
            <img title="image" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; float: left; padding-top: 0px; padding-left: 0px; margin: 0px 20px 20px 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="image" align="left" src="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/ebfd1718c325_A2F5/image_3.png" width="186" height="244" />
          </a>Want
to <strong>learn how to build a windows phone application</strong> (Become a WP7Dev). 
Then join us for the <a href="http://www.winphoneunleashed.com/" target="_blank">Windows
Phone Unleashed Series</a>.  The content was created by Daniel Egan (me) and <a href="http://www.BretStatehame.com" target="_blank">Bret
Stateham</a>. 
</p>
        <p>
          <a href="http://www.winphoneunleashed.com/" target="_blank">
            <font size="5">Register</font>
          </a>
          <font size="5"> for
an Event Near You.</font>
        </p>
        <p>
Windows Phone Unleashed is put on by the community.  It is an all day event with
3 instructor led sessions paired with Hands On Labs that when you are finished complete
the <a href="http://windowsphone.com/s?appid=9ed0ff92-3896-4a2e-bb7f-064a58c0df9b" target="_blank">Coffee
Findr application</a>. At the end of the day there is a app contest with Prizes. 
<br /></p>
        <p>
          <strong>You can download the finished app from </strong>
          <a href="http://windowsphone.com/s?appid=9ed0ff92-3896-4a2e-bb7f-064a58c0df9b" target="_blank">
            <strong>the
Marketplace</strong>
          </a>
          <strong> .  From this application you will learn the
following skills.</strong>  <a href="http://windowsphone.com/s?appid=9ed0ff92-3896-4a2e-bb7f-064a58c0df9b" target="_blank">Check
it out now</a>.
</p>
        <ul>
          <li>
Working with Live Tiles 
</li>
          <li>
Periodic Execution 
</li>
          <li>
Pulling Data from Rest Services 
</li>
          <li>
Deserializing Json 
</li>
          <li>
Binding data to your UI 
</li>
          <li>
Using Bing for Maps and Directions 
</li>
          <li>
Using Isolated Storage and  SQL CE on the Phone 
</li>
          <li>
Navigation 
</li>
          <li>
And much much more 
</li>
        </ul>
        <p>
We also have TWO different events this time…. We have also added a Games Development
Unleashed Event.  So look for an event near you.  <strong><a href="http://www.winphoneunleashed.com/" target="_blank">But
register quickly</a></strong>… seats go fast for this <strong>FREE</strong> event. 
</p>
        <p>
          <a href="http://www.winphoneunleashed.com/" target="_blank">
            <font size="5">Register</font>
          </a>
          <font size="5"> for
an Event Near You.</font>
        </p>
        <p>
          <font size="5">
          </font>
        </p>
        <p>
(If you have been to an Unleashed Event before. This is <strong>NEW</strong> content)
</p>
        <div id="schedule-items" class="grid_20 prefix_2 suffix_2 centered" style="margin: 30px 0px">
          <h1> 
</h1>
          <h1>Agenda for both types of events
</h1>
          <h1> 
</h1>
          <table cellspacing="0" cellpadding="2" width="600" border="0">
            <tbody>
              <tr>
                <td valign="top" width="200">
                  <div class="grid_8 prefix_2 suffix_2 alpha">
                    <h2>Line of Business Apps
</h2>
                    <h4>Introduction to Windows Phone 7 Programming
</h4>
                    <p>
In this session, we start with a discussion of windows phone, the architecture changes
made from 6.5 to 7.0, the hardware specifications and then move into the beginnings
of building a WP7 application including...
</p>
                    <ol>
                      <li>
Application life cycle 
</li>
                      <li>
Hardware Foundation 
</li>
                      <li>
Files associated with project template 
</li>
                      <li>
Splash screen and the importance of 1 second / 19 second loading 
</li>
                      <li>
Application Bar 
</li>
                      <li>
Panorama and Pivot controls 
</li>
                      <li>
MVVM 
</li>
                      <li>
Marketplace 
</li>
                    </ol>
                    <h4>Connecting to Services
</h4>
                    <p>
In this session, we will discuss how Cloud Services help to bring power to the phone.
We will be binding to a rest based services and show how to search and display the
information received. In this session we will also talk about Navigation, passing
information between screens, while working with List and detail information.
</p>
                    <ol>
                      <li>
Navigation 
</li>
                      <li>
Location 
</li>
                      <li>
JSON Deserialization 
</li>
                      <li>
Bing Maps 
</li>
                      <li>
Isolated Storage 
</li>
                      <li>
Binding Sample Data 
</li>
                      <li>
Navigation 
</li>
                    </ol>
                    <h4>Recording Data
</h4>
                    <p>
In this session we will be adding to our knowledge and learn the importance of live
tiles. We will show you how to set up a periodic agent and how to set up and read
and write to a SQL Database on Windows Phone.
</p>
                    <ol>
                      <li>
Live Tiles 
</li>
                      <li>
SQL CE 
</li>
                      <li>
Background Processes and Periodic Agents 
</li>
                      <li>
Launchers and Choosers 
</li>
                    </ol>
                  </div>
                </td>
                <td valign="top" width="200">
                  <div class="grid_8 prefix_2 suffix_2 alpha">
                    <h2>Games Development
</h2>
                  </div>
                  <div class="grid_8 prefix_2 suffix_2" style="border-left: #ccc 1px solid">
                    <h4>Introduction to XNA
</h4>
                    <p>
XNA Game Basics
</p>
                    <ol>
                      <li>
What is XNA 
</li>
                      <li>
Game Development Tools 
</li>
                      <li>
XNA Game Projects 
</li>
                      <li>
XNA Game Loop 
</li>
                      <li>
Debugging Games 
</li>
                    </ol>
                    <p>
Working with Images, Sounds and Text
</p>
                    <ol>
                      <li>
Working with Textures 
</li>
                      <li>
Playing Songs and Sound Effects 
</li>
                      <li>
Drawing text with SpriteFonts 
</li>
                    </ol>
                    <p>
Getting User Input
</p>
                    <ol>
                      <li>
Getting input on the phone 
</li>
                      <li>
Using the Accelerometer 
</li>
                      <li>
Using Touch 
</li>
                    </ol>
                    <h4>Game State Management
</h4>
                    <p>
Managing Game Play
</p>
                    <ol>
                      <li>
Keeping Score 
</li>
                      <li>
Tracking Health and Lives 
</li>
                      <li>
Adding Levels 
</li>
                    </ol>
                    <p>
Managing Screens
</p>
                    <ol>
                      <li>
Creating Multi-Screen games 
</li>
                      <li>
Loading content in the background 
</li>
                      <li>
How to pause the game 
</li>
                    </ol>
                    <p>
Managing State
</p>
                    <ol>
                      <li>
Phone Application Lifecycle 
</li>
                      <li>
Supporting Fast Application Switching 
</li>
                      <li>
Persisting and Restoring State 
</li>
                    </ol>
                    <p>
Silverlight and XNA Integration
</p>
                    <ol>
                      <li>
Introduction to Silverlight 
</li>
                      <li>
Silverlight and XNA Integration 
</li>
                      <li>
Creating a Silverlignt and XNA Game 
</li>
                    </ol>
                    <h4>Advanced XNA Games
</h4>
                    <p>
Marketplace and Advertisements
</p>
                    <ol>
                      <li>
Understanding the Windows Phone Marketplace 
</li>
                      <li>
Submitting your Game to the Marketplace 
</li>
                      <li>
Adding Advertisements to your game 
</li>
                    </ol>
                    <p>
3D Games
</p>
                    <ol>
                      <li>
3D Support in XNA 
</li>
                      <li>
Creating a simple 3D Game 
</li>
                    </ol>
                    <p>
Multi-Platform Games
</p>
                    <ol>
                      <li>
Building Games for Phone, PC and XBOX 
</li>
                      <li>
Other Multi-Platform options 
</li>
                    </ol>
                    <p>
Cloud Integration
</p>
                    <ol>
                      <li>
Using Windows Azure 
</li>
                      <li>
Social Gaming Toolkit 
</li>
                    </ol>
                  </div>
                </td>
              </tr>
            </tbody>
          </table>
          <h1> 
</h1>
          <h1>
            <font size="3">Remember… Daniel Egan knows Windows Phone</font>
            <img class="wlEmoticon wlEmoticon-smile" style="border-top-style: none; border-bottom-style: none; border-right-style: none; border-left-style: none" alt="Smile" src="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/ebfd1718c325_A2F5/wlEmoticon-smile_2.png" />
          </h1>
        </div>
        <div class="grid_8 prefix_2 suffix_2 alpha">
          <h2>
            <div class="grid_8 prefix_2 suffix_2" style="border-left: #ccc 1px solid">
            </div>
          </h2>
        </div>
        <img width="0" height="0" src="http://www.dotnetdoc.com/aggbug.ashx?id=1bd8ff89-ea84-4596-9b80-64f7797132c4" />
      </body>
      <title>Free Windows Phone Events</title>
      <guid isPermaLink="false">http://www.dotnetdoc.com/PermaLink,guid,1bd8ff89-ea84-4596-9b80-64f7797132c4.aspx</guid>
      <link>http://www.dotnetdoc.com/PermaLink,guid,1bd8ff89-ea84-4596-9b80-64f7797132c4.aspx</link>
      <pubDate>Fri, 16 Mar 2012 18:05:35 GMT</pubDate>
      <description>&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.windowsphone.com/en-US/apps/9ed0ff92-3896-4a2e-bb7f-064a58c0df9b"&gt;&lt;img title="image" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; float: left; padding-top: 0px; padding-left: 0px; margin: 0px 20px 20px 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="image" align="left" src="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/ebfd1718c325_A2F5/image_3.png" width="186" height="244" /&gt;&lt;/a&gt;Want
to &lt;strong&gt;learn how to build a windows phone application&lt;/strong&gt; (Become a WP7Dev).&amp;#160;
Then join us for the &lt;a href="http://www.winphoneunleashed.com/" target="_blank"&gt;Windows
Phone Unleashed Series&lt;/a&gt;.&amp;#160; The content was created by Daniel Egan (me) and &lt;a href="http://www.BretStatehame.com" target="_blank"&gt;Bret
Stateham&lt;/a&gt;. 
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.winphoneunleashed.com/" target="_blank"&gt;&lt;font size="5"&gt;Register&lt;/font&gt;&lt;/a&gt;&lt;font size="5"&gt; for
an Event Near You.&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
Windows Phone Unleashed is put on by the community.&amp;#160; It is an all day event with
3 instructor led sessions paired with Hands On Labs that when you are finished complete
the &lt;a href="http://windowsphone.com/s?appid=9ed0ff92-3896-4a2e-bb7f-064a58c0df9b" target="_blank"&gt;Coffee
Findr application&lt;/a&gt;. At the end of the day there is a app contest with Prizes. 
&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;You can download the finished app from &lt;/strong&gt;&lt;a href="http://windowsphone.com/s?appid=9ed0ff92-3896-4a2e-bb7f-064a58c0df9b" target="_blank"&gt;&lt;strong&gt;the
Marketplace&lt;/strong&gt;&lt;/a&gt;&lt;strong&gt; .&amp;#160; From this application you will learn the
following skills.&lt;/strong&gt;&amp;#160; &lt;a href="http://windowsphone.com/s?appid=9ed0ff92-3896-4a2e-bb7f-064a58c0df9b" target="_blank"&gt;Check
it out now&lt;/a&gt;.
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
Working with Live Tiles 
&lt;/li&gt;
&lt;li&gt;
Periodic Execution 
&lt;/li&gt;
&lt;li&gt;
Pulling Data from Rest Services 
&lt;/li&gt;
&lt;li&gt;
Deserializing Json 
&lt;/li&gt;
&lt;li&gt;
Binding data to your UI 
&lt;/li&gt;
&lt;li&gt;
Using Bing for Maps and Directions 
&lt;/li&gt;
&lt;li&gt;
Using Isolated Storage and&amp;#160; SQL CE on the Phone 
&lt;/li&gt;
&lt;li&gt;
Navigation 
&lt;/li&gt;
&lt;li&gt;
And much much more 
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
We also have TWO different events this time…. We have also added a Games Development
Unleashed Event.&amp;#160; So look for an event near you.&amp;#160; &lt;strong&gt;&lt;a href="http://www.winphoneunleashed.com/" target="_blank"&gt;But
register quickly&lt;/a&gt;&lt;/strong&gt;… seats go fast for this &lt;strong&gt;FREE&lt;/strong&gt; event. 
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.winphoneunleashed.com/" target="_blank"&gt;&lt;font size="5"&gt;Register&lt;/font&gt;&lt;/a&gt;&lt;font size="5"&gt; for
an Event Near You.&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;font size="5"&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
(If you have been to an Unleashed Event before. This is &lt;strong&gt;NEW&lt;/strong&gt; content)
&lt;/p&gt;
&lt;div id="schedule-items" class="grid_20 prefix_2 suffix_2 centered" style="margin: 30px 0px"&gt;
&lt;h1&gt;&amp;#160;
&lt;/h1&gt;
&lt;h1&gt;Agenda for both types of events
&lt;/h1&gt;
&lt;h1&gt;&amp;#160;
&lt;/h1&gt;
&lt;table cellspacing="0" cellpadding="2" width="600" border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td valign="top" width="200"&gt;
&lt;div class="grid_8 prefix_2 suffix_2 alpha"&gt;
&lt;h2&gt;Line of Business Apps
&lt;/h2&gt;
&lt;h4&gt;Introduction to Windows Phone 7 Programming
&lt;/h4&gt;
&lt;p&gt;
In this session, we start with a discussion of windows phone, the architecture changes
made from 6.5 to 7.0, the hardware specifications and then move into the beginnings
of building a WP7 application including...
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
Application life cycle 
&lt;/li&gt;
&lt;li&gt;
Hardware Foundation 
&lt;/li&gt;
&lt;li&gt;
Files associated with project template 
&lt;/li&gt;
&lt;li&gt;
Splash screen and the importance of 1 second / 19 second loading 
&lt;/li&gt;
&lt;li&gt;
Application Bar 
&lt;/li&gt;
&lt;li&gt;
Panorama and Pivot controls 
&lt;/li&gt;
&lt;li&gt;
MVVM 
&lt;/li&gt;
&lt;li&gt;
Marketplace 
&lt;/li&gt;
&lt;/ol&gt;
&lt;h4&gt;Connecting to Services
&lt;/h4&gt;
&lt;p&gt;
In this session, we will discuss how Cloud Services help to bring power to the phone.
We will be binding to a rest based services and show how to search and display the
information received. In this session we will also talk about Navigation, passing
information between screens, while working with List and detail information.
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
Navigation 
&lt;/li&gt;
&lt;li&gt;
Location 
&lt;/li&gt;
&lt;li&gt;
JSON Deserialization 
&lt;/li&gt;
&lt;li&gt;
Bing Maps 
&lt;/li&gt;
&lt;li&gt;
Isolated Storage 
&lt;/li&gt;
&lt;li&gt;
Binding Sample Data 
&lt;/li&gt;
&lt;li&gt;
Navigation 
&lt;/li&gt;
&lt;/ol&gt;
&lt;h4&gt;Recording Data
&lt;/h4&gt;
&lt;p&gt;
In this session we will be adding to our knowledge and learn the importance of live
tiles. We will show you how to set up a periodic agent and how to set up and read
and write to a SQL Database on Windows Phone.
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
Live Tiles 
&lt;/li&gt;
&lt;li&gt;
SQL CE 
&lt;/li&gt;
&lt;li&gt;
Background Processes and Periodic Agents 
&lt;/li&gt;
&lt;li&gt;
Launchers and Choosers 
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;/td&gt;
&lt;td valign="top" width="200"&gt;
&lt;div class="grid_8 prefix_2 suffix_2 alpha"&gt;
&lt;h2&gt;Games Development
&lt;/h2&gt;
&lt;/div&gt;
&lt;div class="grid_8 prefix_2 suffix_2" style="border-left: #ccc 1px solid"&gt;
&lt;h4&gt;Introduction to XNA
&lt;/h4&gt;
&lt;p&gt;
XNA Game Basics
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
What is XNA 
&lt;/li&gt;
&lt;li&gt;
Game Development Tools 
&lt;/li&gt;
&lt;li&gt;
XNA Game Projects 
&lt;/li&gt;
&lt;li&gt;
XNA Game Loop 
&lt;/li&gt;
&lt;li&gt;
Debugging Games 
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
Working with Images, Sounds and Text
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
Working with Textures 
&lt;/li&gt;
&lt;li&gt;
Playing Songs and Sound Effects 
&lt;/li&gt;
&lt;li&gt;
Drawing text with SpriteFonts 
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
Getting User Input
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
Getting input on the phone 
&lt;/li&gt;
&lt;li&gt;
Using the Accelerometer 
&lt;/li&gt;
&lt;li&gt;
Using Touch 
&lt;/li&gt;
&lt;/ol&gt;
&lt;h4&gt;Game State Management
&lt;/h4&gt;
&lt;p&gt;
Managing Game Play
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
Keeping Score 
&lt;/li&gt;
&lt;li&gt;
Tracking Health and Lives 
&lt;/li&gt;
&lt;li&gt;
Adding Levels 
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
Managing Screens
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
Creating Multi-Screen games 
&lt;/li&gt;
&lt;li&gt;
Loading content in the background 
&lt;/li&gt;
&lt;li&gt;
How to pause the game 
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
Managing State
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
Phone Application Lifecycle 
&lt;/li&gt;
&lt;li&gt;
Supporting Fast Application Switching 
&lt;/li&gt;
&lt;li&gt;
Persisting and Restoring State 
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
Silverlight and XNA Integration
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
Introduction to Silverlight 
&lt;/li&gt;
&lt;li&gt;
Silverlight and XNA Integration 
&lt;/li&gt;
&lt;li&gt;
Creating a Silverlignt and XNA Game 
&lt;/li&gt;
&lt;/ol&gt;
&lt;h4&gt;Advanced XNA Games
&lt;/h4&gt;
&lt;p&gt;
Marketplace and Advertisements
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
Understanding the Windows Phone Marketplace 
&lt;/li&gt;
&lt;li&gt;
Submitting your Game to the Marketplace 
&lt;/li&gt;
&lt;li&gt;
Adding Advertisements to your game 
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
3D Games
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
3D Support in XNA 
&lt;/li&gt;
&lt;li&gt;
Creating a simple 3D Game 
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
Multi-Platform Games
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
Building Games for Phone, PC and XBOX 
&lt;/li&gt;
&lt;li&gt;
Other Multi-Platform options 
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
Cloud Integration
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
Using Windows Azure 
&lt;/li&gt;
&lt;li&gt;
Social Gaming Toolkit 
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h1&gt;&amp;#160;
&lt;/h1&gt;
&lt;h1&gt;&lt;font size="3"&gt;Remember… Daniel Egan knows Windows Phone&lt;/font&gt; &lt;img class="wlEmoticon wlEmoticon-smile" style="border-top-style: none; border-bottom-style: none; border-right-style: none; border-left-style: none" alt="Smile" src="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/ebfd1718c325_A2F5/wlEmoticon-smile_2.png" /&gt;
&lt;/h1&gt;
&lt;/div&gt;
&lt;div class="grid_8 prefix_2 suffix_2 alpha"&gt;
&lt;h2&gt;
&lt;div class="grid_8 prefix_2 suffix_2" style="border-left: #ccc 1px solid"&gt;
&lt;/div&gt;
&lt;/h2&gt;
&lt;/div&gt;
&lt;img width="0" height="0" src="http://www.dotnetdoc.com/aggbug.ashx?id=1bd8ff89-ea84-4596-9b80-64f7797132c4" /&gt;</description>
      <comments>http://www.dotnetdoc.com/CommentView,guid,1bd8ff89-ea84-4596-9b80-64f7797132c4.aspx</comments>
      <category>Events;Windows Phone;WP7</category>
    </item>
    <item>
      <trackback:ping>http://www.dotnetdoc.com/Trackback.aspx?guid=ea616d36-af3d-43e9-ae91-e2fadc53a86c</trackback:ping>
      <pingback:server>http://www.dotnetdoc.com/pingback.aspx</pingback:server>
      <pingback:target>http://www.dotnetdoc.com/PermaLink,guid,ea616d36-af3d-43e9-ae91-e2fadc53a86c.aspx</pingback:target>
      <dc:creator>Daniel Egan</dc:creator>
      <wfw:comment>http://www.dotnetdoc.com/CommentView,guid,ea616d36-af3d-43e9-ae91-e2fadc53a86c.aspx</wfw:comment>
      <wfw:commentRss>http://www.dotnetdoc.com/SyndicationService.asmx/GetEntryCommentsRss?guid=ea616d36-af3d-43e9-ae91-e2fadc53a86c</wfw:commentRss>
      <slash:comments>4</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
They have been talking about it for a while and it has finally hit the <a href="http://www.windowsphone.com/en-US/apps/fe30c379-d111-427d-894f-dc3bfa0ec371" target="_blank">market
place</a>.  Tango, the Video Chat application for WP7.  It will obviously
work better with the new phones with front facing cameras… but it also works on my
Samsung Focus… Check out the video below. 
</p>
        <p>
 
</p>
        <p>
 <iframe height="315" src="http://www.youtube.com/embed/AW0dnZ00onE?rel=0" frameborder="0" width="560" allowfullscreen="allowfullscreen"></iframe></p>
        <p>
 
</p>
        <p>
 
</p>
        <p>
 
</p>
        <p>
It of course works best over wifi, but will also work over 4G and 3G
</p>
        <p>
 
</p>
        <p>
          <a href="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/Video-Chat-for-WP7_8052/image_2.png">
            <img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/Video-Chat-for-WP7_8052/image_thumb.png" width="606" height="177" />
          </a>
        </p>
        <p>
 
</p>
        <p>
Learn more at http://www.tango.me/ Like us on Facebook at http://www.facebook.com/TangoMe
Follow us on Twitter at http://www.twitter.com/tangome Watch us on YouTube at http://www.youtube.com/TangoMe
Need Help? Visit http://support.tango.me 
</p>
        <img width="0" height="0" src="http://www.dotnetdoc.com/aggbug.ashx?id=ea616d36-af3d-43e9-ae91-e2fadc53a86c" />
      </body>
      <title>Video Chat for WP7&amp;ndash;TANGO</title>
      <guid isPermaLink="false">http://www.dotnetdoc.com/PermaLink,guid,ea616d36-af3d-43e9-ae91-e2fadc53a86c.aspx</guid>
      <link>http://www.dotnetdoc.com/PermaLink,guid,ea616d36-af3d-43e9-ae91-e2fadc53a86c.aspx</link>
      <pubDate>Wed, 09 Nov 2011 22:37:04 GMT</pubDate>
      <description>&lt;p&gt;
They have been talking about it for a while and it has finally hit the &lt;a href="http://www.windowsphone.com/en-US/apps/fe30c379-d111-427d-894f-dc3bfa0ec371" target="_blank"&gt;market
place&lt;/a&gt;.&amp;#160; Tango, the Video Chat application for WP7.&amp;#160; It will obviously
work better with the new phones with front facing cameras… but it also works on my
Samsung Focus… Check out the video below. 
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
&amp;#160;&lt;iframe height="315" src="http://www.youtube.com/embed/AW0dnZ00onE?rel=0" frameborder="0" width="560" allowfullscreen="allowfullscreen"&gt;
&lt;/iframe&gt;
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
It of course works best over wifi, but will also work over 4G and 3G
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/Video-Chat-for-WP7_8052/image_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/Video-Chat-for-WP7_8052/image_thumb.png" width="606" height="177" /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
Learn more at http://www.tango.me/ Like us on Facebook at http://www.facebook.com/TangoMe
Follow us on Twitter at http://www.twitter.com/tangome Watch us on YouTube at http://www.youtube.com/TangoMe
Need Help? Visit http://support.tango.me 
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.dotnetdoc.com/aggbug.ashx?id=ea616d36-af3d-43e9-ae91-e2fadc53a86c" /&gt;</description>
      <comments>http://www.dotnetdoc.com/CommentView,guid,ea616d36-af3d-43e9-ae91-e2fadc53a86c.aspx</comments>
      <category>.Net;Windows Phone;WP7</category>
    </item>
    <item>
      <trackback:ping>http://www.dotnetdoc.com/Trackback.aspx?guid=4fed7ebc-3fb7-4ae6-9c92-5c20fd568628</trackback:ping>
      <pingback:server>http://www.dotnetdoc.com/pingback.aspx</pingback:server>
      <pingback:target>http://www.dotnetdoc.com/PermaLink,guid,4fed7ebc-3fb7-4ae6-9c92-5c20fd568628.aspx</pingback:target>
      <dc:creator>Daniel Egan</dc:creator>
      <wfw:comment>http://www.dotnetdoc.com/CommentView,guid,4fed7ebc-3fb7-4ae6-9c92-5c20fd568628.aspx</wfw:comment>
      <wfw:commentRss>http://www.dotnetdoc.com/SyndicationService.asmx/GetEntryCommentsRss?guid=4fed7ebc-3fb7-4ae6-9c92-5c20fd568628</wfw:commentRss>
      <slash:comments>4</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <img style="margin: 0px 10px 3px 0px; display: inline; float: left" align="left" src="http://farm1.static.flickr.com/113/271764161_12d29fac68_m.jpg" />
        </p>
        <p>
 
</p>
        <p>
When working with Isolated Storage on the phone you sometimes have difficulty “seeing”
what is located in the IsoStore for your application.  Luckily we have a tool
that will help you take snapshots of the Sandboxed Isolated Storage for your application. 
It is a command line tool called ISETool.exe and it is located in:
</p>
        <p>
(for 32 bit os) <strong>c:\Program Files\Microsoft SDKs\Windows Phone\v7.1\Tools\IsolatedStorageExplorerTool</strong></p>
        <p>
(for 64 bit) <strong>c:\Program Files (x86)\Microsoft SDKs\Windows Phone\v7.1\Tools\IsolatedStorageExplorerTool</strong></p>
        <p>
          <strong>
          </strong>
        </p>
        <p>
To run the tool, bring up a command line and change the directory to the location
above.
</p>
        <p>
 
</p>
        <p>
          <a href="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/5f5c53198a44_B802/image_4.png">
            <img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/5f5c53198a44_B802/image_thumb_1.png" width="530" height="59" />
          </a>
        </p>
        <p>
Then run the ISTool.exe with the following parameters
</p>
        <p>
◦ts – take snapshot  (rs for restore) 
<br />
◦xd – emulator 
<br />
◦guid – product GUID from WPAppManifest.xml 
<br />
◦desktop dir – where to copy the isolated storage files
</p>
        <p>
          <a href="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/5f5c53198a44_B802/image_6.png">
            <img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/5f5c53198a44_B802/image_thumb_2.png" width="530" height="57" />
          </a>
        </p>
        <p>
 
</p>
        <p>
It will download the contents of your Isolated Storage for that application to the
folder you specified 
<br /></p>
        <p>
          <a href="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/5f5c53198a44_B802/image_8.png">
            <img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/5f5c53198a44_B802/image_thumb_3.png" width="244" height="91" />
          </a>
        </p>
        <p>
 
</p>
        <p>
You can also restore to the phone or emulator by doing the reverse.
</p>
        <p>
ISETool.exe rs xd 11111111-2222-3333-4444-555555555555 “C:\snapshots\IsolatedStore”
</p>
        <p>
 
</p>
        <p>
This can also be used for local databases as well as restoring your environment to
a specific state.  Let me know if you have any questions.
</p>
        <p>
 
</p>
        <p>
Camera Picture by <a href="http://www.flickr.com/photos/captkodak/271764161/sizes/s/in/photostream/" target="_blank">Capt
Kodak flickr</a> cc
</p>
        <img width="0" height="0" src="http://www.dotnetdoc.com/aggbug.ashx?id=4fed7ebc-3fb7-4ae6-9c92-5c20fd568628" />
      </body>
      <title>WP7 Isolated Storage Snapshots</title>
      <guid isPermaLink="false">http://www.dotnetdoc.com/PermaLink,guid,4fed7ebc-3fb7-4ae6-9c92-5c20fd568628.aspx</guid>
      <link>http://www.dotnetdoc.com/PermaLink,guid,4fed7ebc-3fb7-4ae6-9c92-5c20fd568628.aspx</link>
      <pubDate>Tue, 25 Oct 2011 19:05:00 GMT</pubDate>
      <description>&lt;p&gt;
&lt;img style="margin: 0px 10px 3px 0px; display: inline; float: left" align="left" src="http://farm1.static.flickr.com/113/271764161_12d29fac68_m.jpg" /&gt;
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
When working with Isolated Storage on the phone you sometimes have difficulty “seeing”
what is located in the IsoStore for your application.&amp;#160; Luckily we have a tool
that will help you take snapshots of the Sandboxed Isolated Storage for your application.&amp;#160;
It is a command line tool called ISETool.exe and it is located in:
&lt;/p&gt;
&lt;p&gt;
(for 32 bit os) &lt;strong&gt;c:\Program Files\Microsoft SDKs\Windows Phone\v7.1\Tools\IsolatedStorageExplorerTool&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
(for 64 bit) &lt;strong&gt;c:\Program Files (x86)\Microsoft SDKs\Windows Phone\v7.1\Tools\IsolatedStorageExplorerTool&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
To run the tool, bring up a command line and change the directory to the location
above.
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/5f5c53198a44_B802/image_4.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/5f5c53198a44_B802/image_thumb_1.png" width="530" height="59" /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
Then run the ISTool.exe with the following parameters
&lt;/p&gt;
&lt;p&gt;
◦ts – take snapshot&amp;#160; (rs for restore) 
&lt;br /&gt;
◦xd – emulator 
&lt;br /&gt;
◦guid – product GUID from WPAppManifest.xml 
&lt;br /&gt;
◦desktop dir – where to copy the isolated storage files
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/5f5c53198a44_B802/image_6.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/5f5c53198a44_B802/image_thumb_2.png" width="530" height="57" /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
It will download the contents of your Isolated Storage for that application to the
folder you specified 
&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/5f5c53198a44_B802/image_8.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/5f5c53198a44_B802/image_thumb_3.png" width="244" height="91" /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
You can also restore to the phone or emulator by doing the reverse.
&lt;/p&gt;
&lt;p&gt;
ISETool.exe rs xd 11111111-2222-3333-4444-555555555555 “C:\snapshots\IsolatedStore”
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
This can also be used for local databases as well as restoring your environment to
a specific state.&amp;#160; Let me know if you have any questions.
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
Camera Picture by &lt;a href="http://www.flickr.com/photos/captkodak/271764161/sizes/s/in/photostream/" target="_blank"&gt;Capt
Kodak flickr&lt;/a&gt; cc
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.dotnetdoc.com/aggbug.ashx?id=4fed7ebc-3fb7-4ae6-9c92-5c20fd568628" /&gt;</description>
      <comments>http://www.dotnetdoc.com/CommentView,guid,4fed7ebc-3fb7-4ae6-9c92-5c20fd568628.aspx</comments>
      <category>Windows Phone</category>
    </item>
    <item>
      <trackback:ping>http://www.dotnetdoc.com/Trackback.aspx?guid=25030560-bf18-4be1-93cd-df46efad0828</trackback:ping>
      <pingback:server>http://www.dotnetdoc.com/pingback.aspx</pingback:server>
      <pingback:target>http://www.dotnetdoc.com/PermaLink,guid,25030560-bf18-4be1-93cd-df46efad0828.aspx</pingback:target>
      <dc:creator>Daniel Egan</dc:creator>
      <wfw:comment>http://www.dotnetdoc.com/CommentView,guid,25030560-bf18-4be1-93cd-df46efad0828.aspx</wfw:comment>
      <wfw:commentRss>http://www.dotnetdoc.com/SyndicationService.asmx/GetEntryCommentsRss?guid=25030560-bf18-4be1-93cd-df46efad0828</wfw:commentRss>
      <slash:comments>5</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <img style="margin: 0px 9px 8px 0px; display: inline; float: left" align="left" src="http://farm3.static.flickr.com/2739/4156310480_c492c9d118_m.jpg" />
        </p>
        <p>
Another great feature for Windows Phone Mango is the ability to set up reminders and
alerts in your application (While it is not running).  You would be surprised
how many applications want/need this. During our Windows Phone 7 Unleashed events
this was a recurring topic.  
</p>
        <p>
The great part is that it is really simple. 
</p>
        <p>
 
</p>
        <p>
 
</p>
        <p>
          <a href="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/6693eccf3b6c_CBAC/image_2.png">
            <img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: right; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" align="right" src="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/6693eccf3b6c_CBAC/image_thumb.png" width="133" height="244" />
          </a>For
this application, we are creating a very basic interface.  A text box for the
title, a text box for the reminder message and a button that says “remind me”. 
In addition, there is a label to hold the parameter that is sent back from the reminder. 
</p>
        <p>
The first thing you want to do once you build the UI is to click on the Remind Me
button to create the click event for the button and add the following code to the
event. 
</p>
        <pre class="csharpcode">
          <span class="kwrd">private</span>
          <span class="kwrd">void</span> OnRemindMeClick(<span class="kwrd">object</span> sender,
RoutedEventArgs e) { Reminder r = <span class="kwrd">new</span> Reminder(<span class="str">"reminder"</span>);
r.Title = txtTitle.Text; r.Content = txtContent.Text; r.BeginTime = DateTime.Now.AddSeconds(10);
r.NavigationUri = <span class="kwrd">new</span> Uri(<span class="str">"/MainPage.xaml?reminder="</span> + 
<br />
txtContent.Text ,UriKind.Relative); ScheduledActionService.Add(r); }</pre>
        <style type="text/css">


.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
        <p>
All we need to do is :
</p>
        <ul>
          <li>
create an instance of the reminder 
</li>
          <li>
Set the title and content to the text boxes text property 
</li>
          <li>
set the begin time (in this instance I am doing it in 10 seconds from now) 
</li>
          <li>
Set the NavigationUri (this is where you will return when a user clicks on a message) 
</li>
          <li>
Add the reminder to the ScheduledActionService 
</li>
        </ul>
        <p>
Notice that we are passing the txtContent.Text back to the program when the user replies. 
This can be userIDs, itemIDs, etc… .  Whatever makes sense for your program.
</p>
        <p>
To capture the returning data, add this to an onNavigatedTo override.
</p>
        <pre class="csharpcode">
          <span class="kwrd">protected</span>
          <span class="kwrd">override</span>
          <span class="kwrd">void</span> OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs
e) { <span class="kwrd">base</span>.OnNavigatedTo(e); <span class="kwrd">string</span> param
= <span class="kwrd">null</span>; <span class="kwrd">if</span> (NavigationContext.QueryString.TryGetValue(<span class="str">"reminder"</span>, <span class="kwrd">out</span> param))
Param.Text = param; <span class="kwrd">if</span> (ScheduledActionService.Find(<span class="str">"reminder"</span>)
!= <span class="kwrd">null</span>) ScheduledActionService.Remove(<span class="str">"reminder"</span>);
}</pre>
        <p>
          <style type="text/css">


.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
We collect the reminder parameter from the Querystring and set it equal to our Param.txt
. Notice that we are also removing the reminder from the service.  In the way
ours is constructed, if the user clicked on it a second time it would try to add “reminder”
a second time which is not allowed.
</p>
        <p>
There you go…. easy as pie <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/6693eccf3b6c_CBAC/wlEmoticon-smile_2.png" /></p>
        <p>
 
</p>
        <p>
(Clock picture from “<a href="http://www.flickr.com/photos/h_is_for_home/4156310480/sizes/s/in/photostream/" target="_blank">H
is for Home on Flickr</a>” Creative Commons) 
</p>
        <img width="0" height="0" src="http://www.dotnetdoc.com/aggbug.ashx?id=25030560-bf18-4be1-93cd-df46efad0828" />
      </body>
      <title>Windows Phone Alerts and Reminders</title>
      <guid isPermaLink="false">http://www.dotnetdoc.com/PermaLink,guid,25030560-bf18-4be1-93cd-df46efad0828.aspx</guid>
      <link>http://www.dotnetdoc.com/PermaLink,guid,25030560-bf18-4be1-93cd-df46efad0828.aspx</link>
      <pubDate>Thu, 20 Oct 2011 13:27:00 GMT</pubDate>
      <description>&lt;p&gt;
&lt;img style="margin: 0px 9px 8px 0px; display: inline; float: left" align="left" src="http://farm3.static.flickr.com/2739/4156310480_c492c9d118_m.jpg" /&gt;
&lt;/p&gt;
&lt;p&gt;
Another great feature for Windows Phone Mango is the ability to set up reminders and
alerts in your application (While it is not running).&amp;#160; You would be surprised
how many applications want/need this. During our Windows Phone 7 Unleashed events
this was a recurring topic.&amp;#160; 
&lt;/p&gt;
&lt;p&gt;
The great part is that it is really simple. 
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/6693eccf3b6c_CBAC/image_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: right; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" align="right" src="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/6693eccf3b6c_CBAC/image_thumb.png" width="133" height="244" /&gt;&lt;/a&gt;For
this application, we are creating a very basic interface.&amp;#160; A text box for the
title, a text box for the reminder message and a button that says “remind me”.&amp;#160;
In addition, there is a label to hold the parameter that is sent back from the reminder. 
&lt;/p&gt;
&lt;p&gt;
The first thing you want to do once you build the UI is to click on the Remind Me
button to create the click event for the button and add the following code to the
event. 
&lt;/p&gt;
&lt;pre class="csharpcode"&gt; &lt;span class="kwrd"&gt;private&lt;/span&gt; &lt;span class="kwrd"&gt;void&lt;/span&gt; OnRemindMeClick(&lt;span class="kwrd"&gt;object&lt;/span&gt; sender,
RoutedEventArgs e) { Reminder r = &lt;span class="kwrd"&gt;new&lt;/span&gt; Reminder(&lt;span class="str"&gt;&amp;quot;reminder&amp;quot;&lt;/span&gt;);
r.Title = txtTitle.Text; r.Content = txtContent.Text; r.BeginTime = DateTime.Now.AddSeconds(10);
r.NavigationUri = &lt;span class="kwrd"&gt;new&lt;/span&gt; Uri(&lt;span class="str"&gt;&amp;quot;/MainPage.xaml?reminder=&amp;quot;&lt;/span&gt; + 
&lt;br /&gt;
txtContent.Text ,UriKind.Relative); ScheduledActionService.Add(r); }&lt;/pre&gt;
&lt;style type="text/css"&gt;


.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }&lt;/style&gt;
&lt;p&gt;
All we need to do is :
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
create an instance of the reminder 
&lt;/li&gt;
&lt;li&gt;
Set the title and content to the text boxes text property 
&lt;/li&gt;
&lt;li&gt;
set the begin time (in this instance I am doing it in 10 seconds from now) 
&lt;/li&gt;
&lt;li&gt;
Set the NavigationUri (this is where you will return when a user clicks on a message) 
&lt;/li&gt;
&lt;li&gt;
Add the reminder to the ScheduledActionService 
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
Notice that we are passing the txtContent.Text back to the program when the user replies.&amp;#160;
This can be userIDs, itemIDs, etc… .&amp;#160; Whatever makes sense for your program.
&lt;/p&gt;
&lt;p&gt;
To capture the returning data, add this to an onNavigatedTo override.
&lt;/p&gt;
&lt;pre class="csharpcode"&gt;&lt;span class="kwrd"&gt;protected&lt;/span&gt; &lt;span class="kwrd"&gt;override&lt;/span&gt; &lt;span class="kwrd"&gt;void&lt;/span&gt; OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs
e) { &lt;span class="kwrd"&gt;base&lt;/span&gt;.OnNavigatedTo(e); &lt;span class="kwrd"&gt;string&lt;/span&gt; param
= &lt;span class="kwrd"&gt;null&lt;/span&gt;; &lt;span class="kwrd"&gt;if&lt;/span&gt; (NavigationContext.QueryString.TryGetValue(&lt;span class="str"&gt;&amp;quot;reminder&amp;quot;&lt;/span&gt;, &lt;span class="kwrd"&gt;out&lt;/span&gt; param))
Param.Text = param; &lt;span class="kwrd"&gt;if&lt;/span&gt; (ScheduledActionService.Find(&lt;span class="str"&gt;&amp;quot;reminder&amp;quot;&lt;/span&gt;)
!= &lt;span class="kwrd"&gt;null&lt;/span&gt;) ScheduledActionService.Remove(&lt;span class="str"&gt;&amp;quot;reminder&amp;quot;&lt;/span&gt;);
}&lt;/pre&gt;
&lt;p&gt;
&lt;style type="text/css"&gt;


.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }&lt;/style&gt;
We collect the reminder parameter from the Querystring and set it equal to our Param.txt
. Notice that we are also removing the reminder from the service.&amp;#160; In the way
ours is constructed, if the user clicked on it a second time it would try to add “reminder”
a second time which is not allowed.
&lt;/p&gt;
&lt;p&gt;
There you go…. easy as pie &lt;img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/6693eccf3b6c_CBAC/wlEmoticon-smile_2.png" /&gt;
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
(Clock picture from “&lt;a href="http://www.flickr.com/photos/h_is_for_home/4156310480/sizes/s/in/photostream/" target="_blank"&gt;H
is for Home on Flickr&lt;/a&gt;” Creative Commons) 
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.dotnetdoc.com/aggbug.ashx?id=25030560-bf18-4be1-93cd-df46efad0828" /&gt;</description>
      <comments>http://www.dotnetdoc.com/CommentView,guid,25030560-bf18-4be1-93cd-df46efad0828.aspx</comments>
      <category>Windows Phone</category>
    </item>
    <item>
      <trackback:ping>http://www.dotnetdoc.com/Trackback.aspx?guid=7dd39383-a985-4eb4-98ca-fd468e05a599</trackback:ping>
      <pingback:server>http://www.dotnetdoc.com/pingback.aspx</pingback:server>
      <pingback:target>http://www.dotnetdoc.com/PermaLink,guid,7dd39383-a985-4eb4-98ca-fd468e05a599.aspx</pingback:target>
      <dc:creator>Daniel Egan</dc:creator>
      <wfw:comment>http://www.dotnetdoc.com/CommentView,guid,7dd39383-a985-4eb4-98ca-fd468e05a599.aspx</wfw:comment>
      <wfw:commentRss>http://www.dotnetdoc.com/SyndicationService.asmx/GetEntryCommentsRss?guid=7dd39383-a985-4eb4-98ca-fd468e05a599</wfw:commentRss>
      <slash:comments>7</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
With the release of Windows Phone 7 Mango, you now have the ability to multitask (scheduled
multitask) by using background agents.  Background agents allow you to do things
when your application is not running.  
</p>
        <p>
 
</p>
        <p>
It is important to understand that the OS is responsible for determining when your
background agent can run and is determined by a number of factors. It is also dependent
on the type of Background Agent you use. 
</p>
        <p>
 
</p>
        <p>
For both types of Agents you are constrained by the following :
</p>
        <ul>
          <li>
            <font face="Tahoma">Unsupported APIs (<a title="http://bit.ly/qJmwbM" href="http://bit.ly/qJmwbM">http://bit.ly/qJmwbM</a>)</font>
          </li>
          <li>
            <font face="Tahoma">Memory Cap Usage (<a title="http://bit.ly/pgo4WT" href="http://bit.ly/pgo4WT">http://bit.ly/pgo4WT</a>)</font>
          </li>
          <li>
            <font face="Tahoma">Agent Crashes (unscheduled Agents after two crashes)</font>
          </li>
          <li>
            <font face="Tahoma">Rescheduling ( You have to reschedule every two weeks)</font>
          </li>
        </ul>
        <p>
Periodic Agents (PeriodicTask) are used when you want a “semi” predictable action
to fire.  But they are constrained to the following. For example, you can use
Periodic Agents for collecting quick GPS coordinates or updating an RSS feed.
</p>
        <ul>
          <li>
            <font face="Tahoma">30 Minute Intervals (this time may drift)</font>
          </li>
          <li>
            <font face="Tahoma">Run for 25 seconds</font>
          </li>
          <li>
            <font face="Tahoma">Might not run on Battery Saver mode</font>
          </li>
          <li>
            <font face="Tahoma">Agents per device (The number of apps using agents) can be as
low as 6 on some devices</font>
          </li>
        </ul>
        <p>
Resource-intensive Agents (resourceIntensiveTask) can be used for more intensive items
like downloading larger files or coping database entries to a replication server.
But you must keep in mind that they have some specific constraints as well.
</p>
        <p>
 
</p>
        <ul>
          <li>
Duration 10 Minutes 
</li>
          <li>
External Power Required (You need to plug it in) 
</li>
          <li>
Connection through WiFi or PC 
</li>
          <li>
Battery 90% or better 
</li>
          <li>
Screen Lock on 
</li>
          <li>
No active phone call 
</li>
        </ul>
        <p>
          <font face="Georgia">What this means is that it MAY never run.  The best case
scenario is the user will have their phone connected to their WiFi when they plug
it in at night.</font>
        </p>
        <p>
          <font face="Georgia">
          </font>
        </p>
        <p>
          <font face="Georgia">But …. after all of that, it is pretty easy to use.  All
you need to do is </font>
        </p>
        <ul>
          <li>
            <font face="Georgia">Add a ScheduledAgentTasks project to your solution</font>
          </li>
          <li>
Add a reference to the agent project in your phone application project 
</li>
          <li>
Add your code to the Invoke Method in the ScheduledAgentTasks project as shown below 
</li>
        </ul>
        <p>
          <font face="Georgia">
          </font>
        </p>
        <pre class="csharpcode">
          <span class="kwrd">protected</span>
          <span class="kwrd">override</span>
          <span class="kwrd">void</span> OnInvoke(ScheduledTask
task) { <span class="rem">//TODO: Add code to perform your task in background</span><span class="kwrd">string</span> toastMessage
= <span class="str">""</span>; <span class="rem">// If your application
uses both PeriodicTask and ResourceIntensiveTask</span><span class="rem">// you can
branch your application code here. Otherwise, you don't need to.</span><span class="kwrd">if</span> (task <span class="kwrd">is</span> PeriodicTask)
{ <span class="rem">// Execute periodic task actions here.</span> toastMessage = <span class="str">"Periodic
task running."</span>; } <span class="kwrd">else</span> { <span class="rem">//
Execute resource-intensive task actions here.</span> toastMessage = <span class="str">"Resource-intensive
task running."</span>; } <span class="rem">// Launch a toast to show that the
agent is running.</span><span class="rem">// The toast will not be shown if the foreground
application is running.</span> ShellToast toast = <span class="kwrd">new</span> ShellToast();
toast.Title = <span class="str">"Background Agent Sample"</span>; toast.Content
= toastMessage; toast.Show(); <span class="rem">// If debugging is enabled, launch
the agent again in one minute.</span><span class="preproc">#if</span> DEBUG_AGENT
ScheduledActionService.LaunchForTest(task.Name, TimeSpan.FromSeconds(60)); <span class="preproc">#endif</span><span class="rem">//
Call NotifyComplete to let the system know the agent is done working.</span> NotifyComplete();
}</pre>
        <style type="text/css">


.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
        <p>
 
</p>
        <p>
The one caveat is that it can sometimes be difficult to debug in an emulator. 
If you have a developer phone you will have a much easier time debugging it on the
device.  If you have any questions, let me know.
</p>
        <img width="0" height="0" src="http://www.dotnetdoc.com/aggbug.ashx?id=7dd39383-a985-4eb4-98ca-fd468e05a599" />
      </body>
      <title>Background Agents in WP7</title>
      <guid isPermaLink="false">http://www.dotnetdoc.com/PermaLink,guid,7dd39383-a985-4eb4-98ca-fd468e05a599.aspx</guid>
      <link>http://www.dotnetdoc.com/PermaLink,guid,7dd39383-a985-4eb4-98ca-fd468e05a599.aspx</link>
      <pubDate>Wed, 19 Oct 2011 02:35:00 GMT</pubDate>
      <description>&lt;p&gt;
With the release of Windows Phone 7 Mango, you now have the ability to multitask (scheduled
multitask) by using background agents.&amp;#160; Background agents allow you to do things
when your application is not running.&amp;#160; 
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
It is important to understand that the OS is responsible for determining when your
background agent can run and is determined by a number of factors. It is also dependent
on the type of Background Agent you use. 
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
For both types of Agents you are constrained by the following :
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;font face="Tahoma"&gt;Unsupported APIs (&lt;a title="http://bit.ly/qJmwbM" href="http://bit.ly/qJmwbM"&gt;http://bit.ly/qJmwbM&lt;/a&gt;)&lt;/font&gt; 
&lt;/li&gt;
&lt;li&gt;
&lt;font face="Tahoma"&gt;Memory Cap Usage (&lt;a title="http://bit.ly/pgo4WT" href="http://bit.ly/pgo4WT"&gt;http://bit.ly/pgo4WT&lt;/a&gt;)&lt;/font&gt; 
&lt;/li&gt;
&lt;li&gt;
&lt;font face="Tahoma"&gt;Agent Crashes (unscheduled Agents after two crashes)&lt;/font&gt; 
&lt;/li&gt;
&lt;li&gt;
&lt;font face="Tahoma"&gt;Rescheduling ( You have to reschedule every two weeks)&lt;/font&gt; 
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
Periodic Agents (PeriodicTask) are used when you want a “semi” predictable action
to fire.&amp;#160; But they are constrained to the following. For example, you can use
Periodic Agents for collecting quick GPS coordinates or updating an RSS feed.
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;font face="Tahoma"&gt;30 Minute Intervals (this time may drift)&lt;/font&gt; 
&lt;/li&gt;
&lt;li&gt;
&lt;font face="Tahoma"&gt;Run for 25 seconds&lt;/font&gt; 
&lt;/li&gt;
&lt;li&gt;
&lt;font face="Tahoma"&gt;Might not run on Battery Saver mode&lt;/font&gt; 
&lt;/li&gt;
&lt;li&gt;
&lt;font face="Tahoma"&gt;Agents per device (The number of apps using agents) can be as
low as 6 on some devices&lt;/font&gt; 
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
Resource-intensive Agents (resourceIntensiveTask) can be used for more intensive items
like downloading larger files or coping database entries to a replication server.
But you must keep in mind that they have some specific constraints as well.
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
Duration 10 Minutes 
&lt;/li&gt;
&lt;li&gt;
External Power Required (You need to plug it in) 
&lt;/li&gt;
&lt;li&gt;
Connection through WiFi or PC 
&lt;/li&gt;
&lt;li&gt;
Battery 90% or better 
&lt;/li&gt;
&lt;li&gt;
Screen Lock on 
&lt;/li&gt;
&lt;li&gt;
No active phone call 
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
&lt;font face="Georgia"&gt;What this means is that it MAY never run.&amp;#160; The best case
scenario is the user will have their phone connected to their WiFi when they plug
it in at night.&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;font face="Georgia"&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;font face="Georgia"&gt;But …. after all of that, it is pretty easy to use.&amp;#160; All
you need to do is &lt;/font&gt;
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;font face="Georgia"&gt;Add a ScheduledAgentTasks project to your solution&lt;/font&gt; 
&lt;/li&gt;
&lt;li&gt;
Add a reference to the agent project in your phone application project 
&lt;/li&gt;
&lt;li&gt;
Add your code to the Invoke Method in the ScheduledAgentTasks project as shown below 
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
&lt;font face="Georgia"&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;pre class="csharpcode"&gt; &lt;span class="kwrd"&gt;protected&lt;/span&gt; &lt;span class="kwrd"&gt;override&lt;/span&gt; &lt;span class="kwrd"&gt;void&lt;/span&gt; OnInvoke(ScheduledTask
task) { &lt;span class="rem"&gt;//TODO: Add code to perform your task in background&lt;/span&gt; &lt;span class="kwrd"&gt;string&lt;/span&gt; toastMessage
= &lt;span class="str"&gt;&amp;quot;&amp;quot;&lt;/span&gt;; &lt;span class="rem"&gt;// If your application
uses both PeriodicTask and ResourceIntensiveTask&lt;/span&gt; &lt;span class="rem"&gt;// you can
branch your application code here. Otherwise, you don't need to.&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (task &lt;span class="kwrd"&gt;is&lt;/span&gt; PeriodicTask)
{ &lt;span class="rem"&gt;// Execute periodic task actions here.&lt;/span&gt; toastMessage = &lt;span class="str"&gt;&amp;quot;Periodic
task running.&amp;quot;&lt;/span&gt;; } &lt;span class="kwrd"&gt;else&lt;/span&gt; { &lt;span class="rem"&gt;//
Execute resource-intensive task actions here.&lt;/span&gt; toastMessage = &lt;span class="str"&gt;&amp;quot;Resource-intensive
task running.&amp;quot;&lt;/span&gt;; } &lt;span class="rem"&gt;// Launch a toast to show that the
agent is running.&lt;/span&gt; &lt;span class="rem"&gt;// The toast will not be shown if the foreground
application is running.&lt;/span&gt; ShellToast toast = &lt;span class="kwrd"&gt;new&lt;/span&gt; ShellToast();
toast.Title = &lt;span class="str"&gt;&amp;quot;Background Agent Sample&amp;quot;&lt;/span&gt;; toast.Content
= toastMessage; toast.Show(); &lt;span class="rem"&gt;// If debugging is enabled, launch
the agent again in one minute.&lt;/span&gt; &lt;span class="preproc"&gt;#if&lt;/span&gt; DEBUG_AGENT
ScheduledActionService.LaunchForTest(task.Name, TimeSpan.FromSeconds(60)); &lt;span class="preproc"&gt;#endif&lt;/span&gt; &lt;span class="rem"&gt;//
Call NotifyComplete to let the system know the agent is done working.&lt;/span&gt; NotifyComplete();
}&lt;/pre&gt;
&lt;style type="text/css"&gt;


.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }&lt;/style&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
The one caveat is that it can sometimes be difficult to debug in an emulator.&amp;#160;
If you have a developer phone you will have a much easier time debugging it on the
device.&amp;#160; If you have any questions, let me know.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.dotnetdoc.com/aggbug.ashx?id=7dd39383-a985-4eb4-98ca-fd468e05a599" /&gt;</description>
      <comments>http://www.dotnetdoc.com/CommentView,guid,7dd39383-a985-4eb4-98ca-fd468e05a599.aspx</comments>
      <category>Windows Phone</category>
    </item>
    <item>
      <trackback:ping>http://www.dotnetdoc.com/Trackback.aspx?guid=873ce456-fac0-4bee-8514-5134004052ef</trackback:ping>
      <pingback:server>http://www.dotnetdoc.com/pingback.aspx</pingback:server>
      <pingback:target>http://www.dotnetdoc.com/PermaLink,guid,873ce456-fac0-4bee-8514-5134004052ef.aspx</pingback:target>
      <dc:creator>Daniel Egan</dc:creator>
      <wfw:comment>http://www.dotnetdoc.com/CommentView,guid,873ce456-fac0-4bee-8514-5134004052ef.aspx</wfw:comment>
      <wfw:commentRss>http://www.dotnetdoc.com/SyndicationService.asmx/GetEntryCommentsRss?guid=873ce456-fac0-4bee-8514-5134004052ef</wfw:commentRss>
      <slash:comments>4</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
If you are planning on using the new sensors that are in the Windows Phone code named
Mango (Gyroscope, Compass, etc...), you need to add some code to your application
to test and see if they are available.  You can use the <strong>Microsoft.Devices.Sensors</strong> namespace
to find this out. 
</p>
        <p>
 
</p>
        <pre class="csharpcode">
          <span class="kwrd">bool</span> IsGyroSupported = Microsoft.Devices.Sensors.Gyroscope.IsSupported; <span class="kwrd">bool</span> IsAccelerometerSupported
= Microsoft.Devices.Sensors.Accelerometer.IsSupported; <span class="kwrd">bool</span> IsCompassSupported
= Microsoft.Devices.Sensors.Compass.IsSupported; <span class="kwrd">bool</span> IsMotionSupported
= Microsoft.Devices.Sensors.Motion.IsSupported;</pre>
        <pre class="csharpcode"> </pre>
        <pre class="csharpcode">The Motion Sensor is the API that combines all the other sensors and adds some math to<br />
make it easier to build your application using sensors.</pre>
        <style type="text/css">

.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
        <img width="0" height="0" src="http://www.dotnetdoc.com/aggbug.ashx?id=873ce456-fac0-4bee-8514-5134004052ef" />
      </body>
      <title>Windows Phone testing for sensors</title>
      <guid isPermaLink="false">http://www.dotnetdoc.com/PermaLink,guid,873ce456-fac0-4bee-8514-5134004052ef.aspx</guid>
      <link>http://www.dotnetdoc.com/PermaLink,guid,873ce456-fac0-4bee-8514-5134004052ef.aspx</link>
      <pubDate>Fri, 14 Oct 2011 02:50:00 GMT</pubDate>
      <description>&lt;p&gt;
If you are planning on using the new sensors that are in the Windows Phone code named
Mango (Gyroscope, Compass, etc...), you need to add some code to your application
to test and see if they are available.&amp;#160; You can use the &lt;strong&gt;Microsoft.Devices.Sensors&lt;/strong&gt; namespace
to find this out. 
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;pre class="csharpcode"&gt;&lt;span class="kwrd"&gt;bool&lt;/span&gt; IsGyroSupported = Microsoft.Devices.Sensors.Gyroscope.IsSupported; &lt;span class="kwrd"&gt;bool&lt;/span&gt; IsAccelerometerSupported
= Microsoft.Devices.Sensors.Accelerometer.IsSupported; &lt;span class="kwrd"&gt;bool&lt;/span&gt; IsCompassSupported
= Microsoft.Devices.Sensors.Compass.IsSupported; &lt;span class="kwrd"&gt;bool&lt;/span&gt; IsMotionSupported
= Microsoft.Devices.Sensors.Motion.IsSupported;&lt;/pre&gt;
&lt;pre class="csharpcode"&gt;&amp;#160;&lt;/pre&gt;
&lt;pre class="csharpcode"&gt;The Motion Sensor is the API that combines all the other sensors and adds some math to&lt;br /&gt;
make it easier to build your application using sensors.&lt;/pre&gt;
&lt;style type="text/css"&gt;

.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }&lt;/style&gt;
&lt;img width="0" height="0" src="http://www.dotnetdoc.com/aggbug.ashx?id=873ce456-fac0-4bee-8514-5134004052ef" /&gt;</description>
      <comments>http://www.dotnetdoc.com/CommentView,guid,873ce456-fac0-4bee-8514-5134004052ef.aspx</comments>
      <category>Windows Phone</category>
    </item>
    <item>
      <trackback:ping>http://www.dotnetdoc.com/Trackback.aspx?guid=d6dc4128-d818-4efa-9e28-f92172e60606</trackback:ping>
      <pingback:server>http://www.dotnetdoc.com/pingback.aspx</pingback:server>
      <pingback:target>http://www.dotnetdoc.com/PermaLink,guid,d6dc4128-d818-4efa-9e28-f92172e60606.aspx</pingback:target>
      <dc:creator>Daniel Egan</dc:creator>
      <wfw:comment>http://www.dotnetdoc.com/CommentView,guid,d6dc4128-d818-4efa-9e28-f92172e60606.aspx</wfw:comment>
      <wfw:commentRss>http://www.dotnetdoc.com/SyndicationService.asmx/GetEntryCommentsRss?guid=d6dc4128-d818-4efa-9e28-f92172e60606</wfw:commentRss>
      <slash:comments>5</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
When you are developing your application, you keep in mind that you may not always
have a network connection. You should prepare for this simi-connected environment. 
To do this, you should use the <strong>Microsoft.Phone.Net.NetworkingInformation</strong> namespace.
With this you can do things like, check to see if the network is available, determine
the type of network the phone is using (CDMA, GSM), or find the MO (Mobile Operator)
</p>
        <div class="csharpcode">
          <pre>
            <span class="kwrd">bool</span> IsConnected =</pre>
          <pre>Microsoft.Phone.Net.NetworkInformation.DeviceNetworkInformation.IsNetworkAvailable;</pre>
          <pre>
            <span class="lnum">
            </span> </pre>
          <pre>
            <span class="kwrd">string</span> MobileOperator = </pre>
          <pre>Microsoft.Phone.Net.NetworkInformation.DeviceNetworkInformation.CellularMobileOperator;</pre>
          <pre> </pre>
          <pre>
            <span class="kwrd">bool</span> IsCellularDataEnabled = </pre>
          <pre>Microsoft.Phone.Net.NetworkInformation. DeviceNetworkInformation.IsCellularDataEnabled;</pre>
          <pre>
          </pre>
          <pre>
            <span class="kwrd">bool</span> IsCellularDataRoamingEnabled = </pre>
          <pre>Microsoft.Phone.Net.NetworkInformation DeviceNetworkInformation.IsCellularDataRoamingEnabled;</pre>
          <pre> </pre>
          <pre>
            <span class="kwrd">bool</span> IsWifiEnabled =</pre>
          <pre>Microsoft.Phone.Net.NetworkInformation. DeviceNetworkInformation.IsWiFiEnabled;</pre>
        </div>
        <style type="text/css">


.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
        <p>
 
</p>
        <p>
The NetworkInterfaceType is another good one to put to determine what type of speeds
you are going to get.
</p>
        <img width="0" height="0" src="http://www.dotnetdoc.com/aggbug.ashx?id=d6dc4128-d818-4efa-9e28-f92172e60606" />
      </body>
      <title>Get Network Info on Windows Phone</title>
      <guid isPermaLink="false">http://www.dotnetdoc.com/PermaLink,guid,d6dc4128-d818-4efa-9e28-f92172e60606.aspx</guid>
      <link>http://www.dotnetdoc.com/PermaLink,guid,d6dc4128-d818-4efa-9e28-f92172e60606.aspx</link>
      <pubDate>Tue, 11 Oct 2011 02:51:00 GMT</pubDate>
      <description>&lt;p&gt;
When you are developing your application, you keep in mind that you may not always
have a network connection. You should prepare for this simi-connected environment.&amp;#160;
To do this, you should use the &lt;strong&gt;Microsoft.Phone.Net.NetworkingInformation&lt;/strong&gt; namespace.
With this you can do things like, check to see if the network is available, determine
the type of network the phone is using (CDMA, GSM), or find the MO (Mobile Operator)
&lt;/p&gt;
&lt;div class="csharpcode"&gt;
&lt;pre&gt;&lt;span class="kwrd"&gt;bool&lt;/span&gt; IsConnected =&lt;/pre&gt;
&lt;pre&gt;Microsoft.Phone.Net.NetworkInformation.DeviceNetworkInformation.IsNetworkAvailable;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt; &lt;/span&gt;&amp;#160;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="kwrd"&gt;string&lt;/span&gt; MobileOperator = &lt;/pre&gt;
&lt;pre&gt;Microsoft.Phone.Net.NetworkInformation.DeviceNetworkInformation.CellularMobileOperator;&lt;/pre&gt;
&lt;pre&gt;&amp;#160;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="kwrd"&gt;bool&lt;/span&gt; IsCellularDataEnabled = &lt;/pre&gt;
&lt;pre&gt;Microsoft.Phone.Net.NetworkInformation. DeviceNetworkInformation.IsCellularDataEnabled;&lt;/pre&gt;
&lt;pre&gt;          &lt;/pre&gt;
&lt;pre&gt;&lt;span class="kwrd"&gt;bool&lt;/span&gt; IsCellularDataRoamingEnabled = &lt;/pre&gt;
&lt;pre&gt;Microsoft.Phone.Net.NetworkInformation DeviceNetworkInformation.IsCellularDataRoamingEnabled;&lt;/pre&gt;
&lt;pre&gt;&amp;#160;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="kwrd"&gt;bool&lt;/span&gt; IsWifiEnabled =&lt;/pre&gt;
&lt;pre&gt;Microsoft.Phone.Net.NetworkInformation. DeviceNetworkInformation.IsWiFiEnabled;&lt;/pre&gt;
&lt;/div&gt;
&lt;style type="text/css"&gt;


.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }&lt;/style&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
The NetworkInterfaceType is another good one to put to determine what type of speeds
you are going to get.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.dotnetdoc.com/aggbug.ashx?id=d6dc4128-d818-4efa-9e28-f92172e60606" /&gt;</description>
      <comments>http://www.dotnetdoc.com/CommentView,guid,d6dc4128-d818-4efa-9e28-f92172e60606.aspx</comments>
      <category>Windows Phone</category>
    </item>
    <item>
      <trackback:ping>http://www.dotnetdoc.com/Trackback.aspx?guid=bb812645-16dd-43ab-94a5-483c490e516d</trackback:ping>
      <pingback:server>http://www.dotnetdoc.com/pingback.aspx</pingback:server>
      <pingback:target>http://www.dotnetdoc.com/PermaLink,guid,bb812645-16dd-43ab-94a5-483c490e516d.aspx</pingback:target>
      <dc:creator>Daniel Egan</dc:creator>
      <wfw:comment>http://www.dotnetdoc.com/CommentView,guid,bb812645-16dd-43ab-94a5-483c490e516d.aspx</wfw:comment>
      <wfw:commentRss>http://www.dotnetdoc.com/SyndicationService.asmx/GetEntryCommentsRss?guid=bb812645-16dd-43ab-94a5-483c490e516d</wfw:commentRss>
      <slash:comments>6</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <a href="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/Window-Phone-Web-Marketplace_ADCB/image_2.png">
            <img style="background-image: none; border-right-width: 0px; margin: 0px 11px 10px 0px; padding-left: 0px; padding-right: 0px; display: inline; float: left; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" align="left" src="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/Window-Phone-Web-Marketplace_ADCB/image_thumb.png" width="244" height="127" />
          </a>With
the release of Mango, Microsoft has also release a new Web (read online non zune)
version of the Marketplace.  This is a great place to discover all of the applications
that are available for your Windows Phone.
</p>
        <p>
In addition to allowing you to search for applications, it also lets you install the
applications OTA (Over the Air).  This makes it really easy to explore and download
applications.  Lets walk through the steps necessary to download apps from the
new Web Marketplace.
</p>
        <p>
 
</p>
        <ol>
          <li>
Navigate to <a href="http://www.windowsphone.com">http://www.windowsphone.com</a></li>
          <li>
Click on the MarketPlace tab. 
</li>
          <li>
Search for the application you would like to install. I am going to try 3D Paperball. 
You can check out the screenshots and information on the application(including reviews) 
<br /><br /><a href="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/Window-Phone-Web-Marketplace_ADCB/image_4.png"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/Window-Phone-Web-Marketplace_ADCB/image_thumb_1.png" width="140" height="244" /></a><a href="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/Window-Phone-Web-Marketplace_ADCB/image_14.png"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/Window-Phone-Web-Marketplace_ADCB/image_thumb_6.png" width="173" height="244" /></a><br /></li>
          <li>
Click on the “Get free app” button (if it is a paid/trial app, you will see a Buy
button) 
<br /><br /><a href="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/Window-Phone-Web-Marketplace_ADCB/image_6.png"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/Window-Phone-Web-Marketplace_ADCB/image_thumb_2.png" width="244" height="226" /></a><br /></li>
          <li>
Select the Phone you would like to send it to and hit Next 
</li>
          <li>
If this is the first time that you are using the Web Marketplace, it will ask you
to verify your phone number.  Do this and click next 
<br /><br /><br /><a href="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/Window-Phone-Web-Marketplace_ADCB/image_8.png"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/Window-Phone-Web-Marketplace_ADCB/image_thumb_3.png" width="244" height="132" /></a><a href="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/Window-Phone-Web-Marketplace_ADCB/image_16.png"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/Window-Phone-Web-Marketplace_ADCB/image_thumb_7.png" width="244" height="135" /></a><br /></li>
          <li>
Click on the Get App link (If it is a paid app… it will confirm billing) 
</li>
          <li>
Wait for it to be processed 
<br /><br /><a href="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/Window-Phone-Web-Marketplace_ADCB/image_10.png"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/Window-Phone-Web-Marketplace_ADCB/image_thumb_4.png" width="244" height="158" /></a><br /><br /></li>
          <li>
Your app will then begin installing on your phone 
<br /><br /><br /><a href="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/Window-Phone-Web-Marketplace_ADCB/image_12.png"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/Window-Phone-Web-Marketplace_ADCB/image_thumb_5.png" width="166" height="244" /></a><br /></li>
          <li>
That’s it….  Now go check out the marketplace. 
</li>
        </ol>
        <img width="0" height="0" src="http://www.dotnetdoc.com/aggbug.ashx?id=bb812645-16dd-43ab-94a5-483c490e516d" />
      </body>
      <title>Window Phone Web Marketplace</title>
      <guid isPermaLink="false">http://www.dotnetdoc.com/PermaLink,guid,bb812645-16dd-43ab-94a5-483c490e516d.aspx</guid>
      <link>http://www.dotnetdoc.com/PermaLink,guid,bb812645-16dd-43ab-94a5-483c490e516d.aspx</link>
      <pubDate>Thu, 06 Oct 2011 02:52:00 GMT</pubDate>
      <description>&lt;p&gt;
&lt;a href="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/Window-Phone-Web-Marketplace_ADCB/image_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px 11px 10px 0px; padding-left: 0px; padding-right: 0px; display: inline; float: left; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" align="left" src="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/Window-Phone-Web-Marketplace_ADCB/image_thumb.png" width="244" height="127" /&gt;&lt;/a&gt;With
the release of Mango, Microsoft has also release a new Web (read online non zune)
version of the Marketplace.&amp;#160; This is a great place to discover all of the applications
that are available for your Windows Phone.
&lt;/p&gt;
&lt;p&gt;
In addition to allowing you to search for applications, it also lets you install the
applications OTA (Over the Air).&amp;#160; This makes it really easy to explore and download
applications.&amp;#160; Lets walk through the steps necessary to download apps from the
new Web Marketplace.
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
Navigate to &lt;a href="http://www.windowsphone.com"&gt;http://www.windowsphone.com&lt;/a&gt; 
&lt;/li&gt;
&lt;li&gt;
Click on the MarketPlace tab. 
&lt;/li&gt;
&lt;li&gt;
Search for the application you would like to install. I am going to try 3D Paperball.&amp;#160;
You can check out the screenshots and information on the application(including reviews) 
&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/Window-Phone-Web-Marketplace_ADCB/image_4.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/Window-Phone-Web-Marketplace_ADCB/image_thumb_1.png" width="140" height="244" /&gt;&lt;/a&gt;&lt;a href="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/Window-Phone-Web-Marketplace_ADCB/image_14.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/Window-Phone-Web-Marketplace_ADCB/image_thumb_6.png" width="173" height="244" /&gt;&lt;/a&gt; 
&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;
Click on the “Get free app” button (if it is a paid/trial app, you will see a Buy
button) 
&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/Window-Phone-Web-Marketplace_ADCB/image_6.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/Window-Phone-Web-Marketplace_ADCB/image_thumb_2.png" width="244" height="226" /&gt;&lt;/a&gt; 
&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;
Select the Phone you would like to send it to and hit Next 
&lt;/li&gt;
&lt;li&gt;
If this is the first time that you are using the Web Marketplace, it will ask you
to verify your phone number.&amp;#160; Do this and click next 
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/Window-Phone-Web-Marketplace_ADCB/image_8.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/Window-Phone-Web-Marketplace_ADCB/image_thumb_3.png" width="244" height="132" /&gt;&lt;/a&gt;&lt;a href="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/Window-Phone-Web-Marketplace_ADCB/image_16.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/Window-Phone-Web-Marketplace_ADCB/image_thumb_7.png" width="244" height="135" /&gt;&lt;/a&gt; 
&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;
Click on the Get App link (If it is a paid app… it will confirm billing) 
&lt;/li&gt;
&lt;li&gt;
Wait for it to be processed 
&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/Window-Phone-Web-Marketplace_ADCB/image_10.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/Window-Phone-Web-Marketplace_ADCB/image_thumb_4.png" width="244" height="158" /&gt;&lt;/a&gt; 
&lt;br /&gt;
&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;
Your app will then begin installing on your phone 
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/Window-Phone-Web-Marketplace_ADCB/image_12.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/Window-Phone-Web-Marketplace_ADCB/image_thumb_5.png" width="166" height="244" /&gt;&lt;/a&gt; 
&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;
That’s it….&amp;#160; Now go check out the marketplace. 
&lt;/li&gt;
&lt;/ol&gt;
&lt;img width="0" height="0" src="http://www.dotnetdoc.com/aggbug.ashx?id=bb812645-16dd-43ab-94a5-483c490e516d" /&gt;</description>
      <comments>http://www.dotnetdoc.com/CommentView,guid,bb812645-16dd-43ab-94a5-483c490e516d.aspx</comments>
      <category>Windows Phone</category>
    </item>
    <item>
      <trackback:ping>http://www.dotnetdoc.com/Trackback.aspx?guid=63426910-a1ec-475f-a0e5-47899b40c34d</trackback:ping>
      <pingback:server>http://www.dotnetdoc.com/pingback.aspx</pingback:server>
      <pingback:target>http://www.dotnetdoc.com/PermaLink,guid,63426910-a1ec-475f-a0e5-47899b40c34d.aspx</pingback:target>
      <dc:creator>Daniel Egan</dc:creator>
      <wfw:comment>http://www.dotnetdoc.com/CommentView,guid,63426910-a1ec-475f-a0e5-47899b40c34d.aspx</wfw:comment>
      <wfw:commentRss>http://www.dotnetdoc.com/SyndicationService.asmx/GetEntryCommentsRss?guid=63426910-a1ec-475f-a0e5-47899b40c34d</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <div class="wlWriterHeaderFooter" style="float:right; margin:0px; padding:0px 0px 4px 8px;">
          <script type="text/javascript">digg_url = "http://www.dotnetdoc.com/PermaLink,guid,63426910-a1ec-475f-a0e5-47899b40c34d.aspx";digg_title = "WP7 Using WPConnect.exe to Debug your app";digg_bgcolor = "#FFFFFF";digg_skin = "normal";</script>
          <script src="http://digg.com/tools/diggthis.js" type="text/javascript">
          </script>
          <script type="text/javascript">digg_url = undefined;digg_title = undefined;digg_bgcolor = undefined;digg_skin = undefined;</script>
        </div>
        <p>
If you have ever tried to debug a windows phone application that uses the Media Library,
you have come across the following screen.
</p>
        <p>
 
</p>
        <p>
          <a href="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/WP7-Using_D6E3/image_4.png">
            <img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/WP7-Using_D6E3/image_thumb_1.png" width="268" height="256" />
          </a>
        </p>
        <p>
 
</p>
        <p>
This is because the phone will not let you browse to your Media Content while you
are connected to Zune……
</p>
        <p>
 
</p>
        <p>
On the other hand, Visual Studio will not let you debug if you are not connected to
Zune….
</p>
        <p>
 
</p>
        <p>
So what are you supposed to do???
</p>
        <p>
 
</p>
        <p>
WPConnect.exe will solve your problem.  It is a tool that you can download that
will allow you to debug while Zune is NOT running.
</p>
        <p>
 
</p>
        <p>
To get the tool, go to <a href="http://create.msdn.com">http://create.msdn.com</a> and
click on the Download The Tools link.
</p>
        <p>
 
</p>
        <p>
          <a href="http://create.msdn.com/en-us/home/getting_started" target="_blank">
            <img alt="Download the tools" src="http://create.msdn.com/assets/cms/images/homepage/publicHomeDownloadTools2.png" />
          </a>
        </p>
        <p>
 
</p>
        <p>
          <font style="background-color: #ffff00" color="#ff0000">
            <strong>IMPORTANT NOTE : 
This assumes you have already installed the Windows Phone Developer tools. If you
have not, download and install them first.</strong>
          </font>
        </p>
        <p>
          <font color="#ff0000">
          </font>
        </p>
        <p>
From here, you can download the <a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=49b9d0c5-6597-4313-912a-f0cca9c7d277">October
2010 update to the Windows Phone Developer Tools</a> 
</p>
        <p>
 
</p>
        <p>
This includes (among other things) the WPConnect tool.  Once this is installed,
open up a cmd prompt and navigate to 
</p>
        <p>
 
</p>
        <p>
%ProgramFiles%\Microsoft SDKs\Windows Phone\v7.0\Tools\WPConnect    
(for 32 bit os)
</p>
        <p>
 
</p>
        <p>
or
</p>
        <p>
 
</p>
        <p>
%ProgramFiles (x86)%\Microsoft SDKs\Windows Phone\v7.0\Tools\WPConnect (for 64 bit
os)
</p>
        <p>
 
</p>
        <p>
          <a href="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/WP7-Using_D6E3/image_6.png">
            <img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/WP7-Using_D6E3/image_thumb_2.png" width="244" height="133" />
          </a>
        </p>
        <p>
 
</p>
        <p>
Leave the window open, don’t run the WPConnect.exe yet.
</p>
        <p>
 
</p>
        <p>
Connect your phone to your computer and make sure that Zune launches and sees your
phone.
</p>
        <p>
 
</p>
        <p>
Once Zune is launched and connected,  CLOSE the Zune software
</p>
        <p>
 
</p>
        <p>
Go to the command prompt and type WPConnect.exe and hit enter
</p>
        <p>
 
</p>
        <p>
It will read:
</p>
        <p>
 
</p>
        <p>
       Connecting to Device ‘Your device name here’
</p>
        <p>
       Connection Established
</p>
        <p>
 
</p>
        <p>
 
</p>
        <p>
It will now allow you to navigate to your Media so that you can test applications
that work with the Media Library.
</p>
        <p>
 
</p>
        <p>
          <a href="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/WP7-Using_D6E3/image_8.png">
            <img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/WP7-Using_D6E3/image_thumb_3.png" width="244" height="183" />
          </a>
        </p>
        <p>
 
</p>
        <p>
I hope that helps.
</p>
        <p>
 
</p>
        <p>
Happy Coding – Daniel Egan – DotNetDoc
</p>
        <img width="0" height="0" src="http://www.dotnetdoc.com/aggbug.ashx?id=63426910-a1ec-475f-a0e5-47899b40c34d" />
      </body>
      <title>WP7 Using WPConnect.exe to Debug your app</title>
      <guid isPermaLink="false">http://www.dotnetdoc.com/PermaLink,guid,63426910-a1ec-475f-a0e5-47899b40c34d.aspx</guid>
      <link>http://www.dotnetdoc.com/PermaLink,guid,63426910-a1ec-475f-a0e5-47899b40c34d.aspx</link>
      <pubDate>Tue, 28 Dec 2010 01:14:34 GMT</pubDate>
      <description>&lt;div class="wlWriterHeaderFooter" style="float:right; margin:0px; padding:0px 0px 4px 8px;"&gt;&lt;script type="text/javascript"&gt;digg_url = "http://www.dotnetdoc.com/PermaLink,guid,63426910-a1ec-475f-a0e5-47899b40c34d.aspx";digg_title = "WP7 Using WPConnect.exe to Debug your app";digg_bgcolor = "#FFFFFF";digg_skin = "normal";&lt;/script&gt;&lt;script src="http://digg.com/tools/diggthis.js" type="text/javascript"&gt;&lt;/script&gt;&lt;script type="text/javascript"&gt;digg_url = undefined;digg_title = undefined;digg_bgcolor = undefined;digg_skin = undefined;&lt;/script&gt;
&lt;/div&gt;
&lt;p&gt;
If you have ever tried to debug a windows phone application that uses the Media Library,
you have come across the following screen.
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/WP7-Using_D6E3/image_4.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/WP7-Using_D6E3/image_thumb_1.png" width="268" height="256" /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
This is because the phone will not let you browse to your Media Content while you
are connected to Zune……
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
On the other hand, Visual Studio will not let you debug if you are not connected to
Zune….
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
So what are you supposed to do???
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
WPConnect.exe will solve your problem.&amp;#160; It is a tool that you can download that
will allow you to debug while Zune is NOT running.
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
To get the tool, go to &lt;a href="http://create.msdn.com"&gt;http://create.msdn.com&lt;/a&gt; and
click on the Download The Tools link.
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://create.msdn.com/en-us/home/getting_started" target="_blank"&gt;&lt;img alt="Download the tools" src="http://create.msdn.com/assets/cms/images/homepage/publicHomeDownloadTools2.png" /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
&lt;font style="background-color: #ffff00" color="#ff0000"&gt;&lt;strong&gt;IMPORTANT NOTE :&amp;#160;
This assumes you have already installed the Windows Phone Developer tools. If you
have not, download and install them first.&lt;/strong&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;font color="#ff0000"&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
From here, you can download the &lt;a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=49b9d0c5-6597-4313-912a-f0cca9c7d277"&gt;October
2010 update to the Windows Phone Developer Tools&lt;/a&gt;&amp;#160;
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
This includes (among other things) the WPConnect tool.&amp;#160; Once this is installed,
open up a cmd prompt and navigate to 
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
%ProgramFiles%\Microsoft SDKs\Windows Phone\v7.0\Tools\WPConnect&amp;#160;&amp;#160;&amp;#160;&amp;#160;
(for 32 bit os)
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
or
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
%ProgramFiles (x86)%\Microsoft SDKs\Windows Phone\v7.0\Tools\WPConnect (for 64 bit
os)
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/WP7-Using_D6E3/image_6.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/WP7-Using_D6E3/image_thumb_2.png" width="244" height="133" /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
Leave the window open, don’t run the WPConnect.exe yet.
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
Connect your phone to your computer and make sure that Zune launches and sees your
phone.
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
Once Zune is launched and connected,&amp;#160; CLOSE the Zune software
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
Go to the command prompt and type WPConnect.exe and hit enter
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
It will read:
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Connecting to Device ‘Your device name here’
&lt;/p&gt;
&lt;p&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Connection Established
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
It will now allow you to navigate to your Media so that you can test applications
that work with the Media Library.
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/WP7-Using_D6E3/image_8.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.dotnetdoc.com/content/binary/Windows-Live-Writer/WP7-Using_D6E3/image_thumb_3.png" width="244" height="183" /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
I hope that helps.
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
Happy Coding – Daniel Egan – DotNetDoc
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.dotnetdoc.com/aggbug.ashx?id=63426910-a1ec-475f-a0e5-47899b40c34d" /&gt;</description>
      <comments>http://www.dotnetdoc.com/CommentView,guid,63426910-a1ec-475f-a0e5-47899b40c34d.aspx</comments>
      <category>.Net;Cool Tools;Windows Phone</category>
    </item>
    <item>
      <trackback:ping>http://www.dotnetdoc.com/Trackback.aspx?guid=fda2dcb1-9328-4980-a218-96d27ce384dd</trackback:ping>
      <pingback:server>http://www.dotnetdoc.com/pingback.aspx</pingback:server>
      <pingback:target>http://www.dotnetdoc.com/PermaLink,guid,fda2dcb1-9328-4980-a218-96d27ce384dd.aspx</pingback:target>
      <dc:creator>Daniel Egan</dc:creator>
      <wfw:comment>http://www.dotnetdoc.com/CommentView,guid,fda2dcb1-9328-4980-a218-96d27ce384dd.aspx</wfw:comment>
      <wfw:commentRss>http://www.dotnetdoc.com/SyndicationService.asmx/GetEntryCommentsRss?guid=fda2dcb1-9328-4980-a218-96d27ce384dd</wfw:commentRss>
      <title>WP7 Minute Episode I : Hubs and Panorama</title>
      <guid isPermaLink="false">http://www.dotnetdoc.com/PermaLink,guid,fda2dcb1-9328-4980-a218-96d27ce384dd.aspx</guid>
      <link>http://www.dotnetdoc.com/PermaLink,guid,fda2dcb1-9328-4980-a218-96d27ce384dd.aspx</link>
      <pubDate>Fri, 10 Dec 2010 22:53:11 GMT</pubDate>
      <description>&lt;p&gt;
The Windows Phone 7 Minute is a show to discuss the features of the Windows Phone
7. In the show we will talk about things that are important to both Consumers and
Developers. From Live Tiles, to Push Notifications, to cut-and paste, we will talk
about the things that are important to you. If you want a particular subject covered,
please drop us a line.
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
Episode I : Hubs and Panoramas
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
In this episode, we discuss the difference between a hub and a panorama and what the
benefits are of each.
&lt;/p&gt;
&lt;p&gt;
Enjoy
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;object width="425" height="344"&gt;
&lt;param name="movie" value="http://www.youtube.com/v/9EpbdFCJDVo?hl=en&amp;fs=1"&gt;&gt;
&lt;param name="allowFullScreen" value="true"&gt;&gt;
&lt;param name="allowscriptaccess" value="always"&gt;&gt;&lt;embed src="http://www.youtube.com/v/9EpbdFCJDVo?hl=en&amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;
&lt;/object&gt;&lt;img width="0" height="0" src="http://www.dotnetdoc.com/aggbug.ashx?id=fda2dcb1-9328-4980-a218-96d27ce384dd" /&gt;</description>
      <comments>http://www.dotnetdoc.com/CommentView,guid,fda2dcb1-9328-4980-a218-96d27ce384dd.aspx</comments>
      <category>.Net;Cool Tools;Windows Phone</category>
    </item>
  </channel>
</rss>