Windows Phone 7 – My first app

As I unfortunately could not be at Mix 10 this year, I had to be content watching the Keynote from their live stream (which BTW worked flawlessly). Scott Guthrie as usual was outstanding and fun. And while showing off the new Windows Phone 7 developer tools went ahead and created a simple Twitter app on stage in about 5 minutes.

Well, I went ahead and downloaded the tools and installed them. Since I already had VS 2010 RC on my machine, it didn’t need to download the Express edition. It did install a bunch of other things and finally once done I went ahead and started it up.

So here’s how I beat ScottGu at his own game. I build a simple Twitter app for the Windows Phone 7 in even lesser time than him.

I created a Windows Phone application from the new project templates provided.WP7-01

Next, I changed some text around for the page and title. I also dropped in a TextBox, Button and a WebBrower control into the ContentGrid area on the phone.

WP7-02

WP7-03 I then simply added an event handler for the button’s click, like so:

webBrowser1.Navigate(new Uri("http://twitter.com/" + textBox1.Text));

That’s it. I then simply ran the application which started up the Windows Phone 7 emulator and deployed the application within it. Here’s what it looks like running.

The emulator doesn’t really have too many things in it other than Internet Explorer and some settings pages. You can of course go ahead and use the emulator to test out apps you create with Visual Studio 2010 or XNA Studio 4.0.

Here to creating great apps on Windows Phone 7. Have fun!


Tags: , ,
Categories: Development | Gadgets | Microsoft | Rave | SilverLight | Windows Phone

15 Comments
Actions: E-mail | Permalink | Comment RSSRSS comment feed

Comments

Nice Post Vinod. Now I cant stop developing my first app for WM7 Smile
Awesome stuff.

Cheers'
Vijay

March 16. 2010 15:18 | Vijay India |

very nice many thanks

March 16. 2010 23:50 | ashok hingorani India |

Social comments and analytics for this post

This post was mentioned on Twitter by vasudevg: RT @vinodunny Blog Post: My first #WP7 application: http://bit.ly/c0GoAI

March 19. 2010 14:48 | uberVU - social comments |

All Windows Phone 7 Series devices will feature five specific hardware buttons (Start, back, Bing search, camera, and power) and FM Radio capabilities. Other requirements include a capacitive, WVGA 800-by-480 4-point multitouch display, 1 GHz CPU, GPS chip, compass, and accelerometer.

March 23. 2010 22:53 | sample essay United States |

beating ScottGu isn't that easy. but i never knew developing win mo 7 app could be that easy. Thanks Vinod.

March 24. 2010 05:59 | Baker United States |

Hehe. I have super great respect for ScottGu. The line was meant as a joke.

But yeah, the development for WinPhone 7 is quite easy - of course more complex apps will require more investment in the design style as well.

March 24. 2010 08:13 | vinod India |

Awesome! Never thought developing Win Mobile apps to be easy. Will have a try

March 26. 2010 07:57 | Shasur India |

Thanks for sharing! I'll try and recreate it!

March 27. 2010 01:18 | ADT United States |

The emulator doesn’t really have too many things in it other than Internet Explorer and some settings pages.

March 29. 2010 10:23 | Online Universities United States |

It did install a bunch of other things and finally once done I went ahead and started it up.

March 29. 2010 10:24 | Online Universities United States |

I'm really amaze in our technology today. I never knew that this things are possible. Thanks for sharing.

April 5. 2010 10:13 | making international calls United States |

I like window phone 7 soooo much.  Its beautiful and powerful. And i think iphone will die soon.

April 7. 2010 08:06 | cartier jewellery United States |

Many thanks, Vinod
Very-very nice

April 7. 2010 15:56 | Report writing United States |

I’m impressed, you know what you’re talking about
www.undiscoveredequities.com/top_10_2010.html

April 8. 2010 12:45 | liquid natural gas United States |

Pingback from darkundereye.com

skin care tips

March 11. 2011 08:35 | darkundereye.com |

Comments are closed