Windows Phone 7 Development

Facebook Twitter

Jabby - XMPP client for Windows Phone 7. Why can't I change the Background of my Button on a Click event? - Peter Torr's Blog. I've been meaning to post this for a while, since the question comes up from time to time (internally and externally) The typical problem is that you have some XAML like this: and some code-behind like this: private void ClickMe_Click(object sender, RoutedEventArgs e) { (sender as Button).Background = new SolidColorBrush(Colors.Green); } But when you click the button, it briefly turns White and then goes back to Red... what happened to the Green value?

Why can't I change the Background of my Button on a Click event? - Peter Torr's Blog

You might even try to set it to Green at some other point in time - say on the Click of another button - and it works great. So what happens is that your button is Red, and when you press it the VSM kicks in and generates some animations. On the phone, we have very simple templates that both match the Windows Phone look-and-feel and are more efficient. Here's an example of a button with a template that gives the desired result; the new or modified bits are highlighted:

Download details: Windows Phone Developer Tools January 2011 Update. January 2011 Update to the Windows Phone Developer Tools providing bug fixes, a new emulator, and utilities.

Download details: Windows Phone Developer Tools January 2011 Update

This update is composed of two installation files and includes the contents of the deprecated October 2010 Update. Note: There are multiple files available for this download. Once you click on the “Download” button, you will be prompted to select the files you need. Important Installation Instructions There are TWO separate installations for the Windows Phone Developer Tools January 2011 Update. DotNetOpenAuth - OpenID, OAuth, and InfoCard for .NET. Monetize your Windows Phone 7 Apps. Connect with consumers on a personal level, with ads that reflect their on-the-go need states and moments of decision.

Monetize your Windows Phone 7 Apps

Consumers are attached to their mobile devices – it’s how they communicate with family, friends, and colleagues, and stay current with the news they care about. Mobile advertising provides a unique opportunity to connect with consumers on a personal level, with ads that reflect their on-the-go need states and moments of decision. Through Microsoft, mobile advertising is precise and powerful, with the ability to target by demographics, location, device, and behavior. And, in addition to the wide range of opportunities for rich media and video, post-click solutions such as click-to-text, click-to-call, data capture, and store locators make the most of the interactivity and action-oriented nature of mobile phones. We connect you with consumers through leading Microsoft brands such as Skype, Fox Sports, and Bing, with engaging apps and mobile web environments. Code Samples for Windows Phone. Calling JavaScript Functions in Windows Phone 7 - Mike Ormond's Blog.

Today we’re hosting one of our Windows Phone 7 deployment labs and I’ve been spending some time with a partner trying to determine if they’ll be able to do what they need to do on a Windows Phone 7 device.

Calling JavaScript Functions in Windows Phone 7 - Mike Ormond's Blog

They have a rich media app which needs to be able to modify the HTML DOM based on certain events. We needed to explore whether we could grab some info from one web page and use it to modify another page. We didn’t get off to the greatest of starts. Using the WebBrowser control and InvokeScript() we continually encountered an 80020006 error. We tried everything to get to the bottom of it. So, I’m happy to confirm all works as expected and happy to provide the warning *watch out for caching of WebBrowser on the emulator*. Here’s some code to illustrate what we wanted to do. <html><head><script> function hello() { return 'hello'; } function sayHello(sayWhat) { return sayWhat; } </script></head><body> Hello </body></html> There are actually two identical pages (ie with the same source).

Consuming WCF 4.0 REST Service in Windows Phone 7. Windows Phone 7 (WP7) is the upcoming next generation Mobile Operating System by Microsoft.

Consuming WCF 4.0 REST Service in Windows Phone 7

My regular readers may have gauged that I am very passionate about WCF and so I have decided to write an article that shows how to consume WCF REST service in Windows phone application. In this application, I have created a WCF 4.0 REST service. For demonstration, this service is published on an IIS web server on Windows Server 2008 R2. This article assumes that you are aware of creating WCF REST service. If that’s not the case, you can read my article Windows Communication Foundation 4.0 - New REST Features to get started with creating a WCF 4.0 Rest Service. Step 1: Open VS2010 and create a new Windows Phone application as below: Note 1: When you installed VS2010 Express for Windows Phone (Developer Tools), and if VS2010 RC is already installed, then in the installed template list, ‘Silverlight for Windows Phone’, template will be displayed. · System.Core. · System.Xml. · System.Xml.Linq. F# Windows Phone 7 (Silverlight) Templates Now On Visual Studio Gallery.

Over the last few days, I've been working to put together a few Visual Studio 2010 Online Templates to help kick start development of Windows Phone 7 (WP7) applications in F#.

F# Windows Phone 7 (Silverlight) Templates Now On Visual Studio Gallery

These templates are now available on Visual Studio Gallery. Follow these steps to get started: (Note: Visual Studio 2010 Professional (or above) is required to use these templates.) 1. Download and install the Windows Phone Developer Tools. 2. 3. As always, I'd love to hear your feedback on these templates as well as ideas for others that you would like to see. Download details: Visual Basic for Windows Phone Developer Tools - RTW.

United Nations News for Windows Phone 7.