Browse by Tags

Tagged Content List
  • Blog Post: BUILD 2011 demos

    [Update 9/21] Just got back from //BUILD in Anaheim, and it was a great conference to be at. I presented "Multitasking in Windows Phone" for what seemed like the 100th time, and the slides + video are up on channel 9 but unfortunately the video did not record the slides / demos until about 25 minutes...
  • Blog Post: Background Agents - Part 3 of 3

    In Part 1 we looked at a simple app to get tweets from Twitter, and in Part 2 we looked at the AsyncWorkloadHelper library. In this final part, we'll look at a couple of the other helper libraries in the project that you might find useful. As before, the code can be found at the end of Part 1 . This...
  • Blog Post: Background Agents - Part 2 of 3

    In Part 1 we looked at a simple Windows Phone application that used a background agent to periodically show a toast and / or update a tile when a new tweet was found for a particular search term. The code we are discussing in this post can be found at the end of that post . Part of the contract of...
  • Blog Post: Background Agents - Part 1 of 3

    This post has (errr, "These posts have") been a long time coming. They are based off the Mix 11 and TechEd 2011 sessions I gave a loooooong time ago, but despite my best efforts I've not been able to post anything to my blog for some time. Partly it was due to a family vacation in Yellowstone National...
  • Blog Post: Alarms and Notifications in Mango

    Here's the first of several posts about the new multitasking features in Windows Phone Mango. Alarms and Notifications is a good place to start because it is the simplest of the new multitasking features (outside of Fast App Switching, but that's not really an API) and it doesn't require running code...
  • Blog Post: I was joking about the penny, but how about some tombstoning sample code?

    Thanks to everyone who posted on the previous post about tombstoning in Windows Phone 7. It was actually quite surprising to see the positive comments about tombstoning (both on the blog and privately through e-mail) where developers are saying they appreciate the feature or don't consider it a huge...
  • Blog Post: This is not the exit you are looking for

    [Update 12/31/2012: See also this post for a new Windows Phone 8 API to terminate apps] [Update 7/27: fixed a typo and made it a bit clearer; thanks Nicole! Also added a link to code with the new Mango APIs ] I have previously blogged about exiting a Windows Phone application but a further post...
  • Blog Post: That memory thing I promised you

    Today Jeff Wilcox , David Anson , and I did a Channel 9 live session with Dan Fernandez at the PDC on Microsoft campus. You can catch it almost exactly 55 minutes into the stream here (note to self: try to remember what team you work on - it's the Application Platform team, not the Application Development...
  • Blog Post: Procrastination FTW - LazyListBox Should Improve your Scrolling Performance and Responsiveness

    Introduction One of the things I've been working on for a while is a "smart" ListBox implementation that uses the new scrolling states and data virtualization features in Windows Phone 7 to help improve performance. Here's a relatively common pattern we see with developers who are new to Silverlight...
  • Blog Post: Sample code from TechEd New Zealand talks

    [Update September 9: Link to the recorded sessions] [Update September 2: Updated the ZIP file to comment-out dependency on not-yet-shipped Map control :-)] Attached to this post is a ZIP file with three projects in it: Part1Demo , which is the demo app for WPH304 (video should be available...
  • Blog Post: Redirecting an initial navigation

    One more post on the subject of keeping screens out of the backstack. A common scenario we see is a variation of the login screen scenario I mentioned the other week. In this case, the first page the user is supposed to see depends on some state saved in by the application (maybe a user preference for...
  • Blog Post: Introducing the concept of “Places”

    TechEd Australia is all wrapped up, and I wanted to let everyone else know about one of the new concepts we’re introducing around application structure. As we’ve previously discussed, Windows Phone 7 applications are composed of pages that exist on a back stack and can be accessed by the...
  • Blog Post: Crazy Coincidental Coding, Batman!

    My Silverlight cohort and all-round good guy Shawn Oster posted on exactly the same topic that I did at almost exactly the same time... and we didn't co-ordinate it at all! http://shawnoster.com/blog/post/Improving-ListBox-Performance-in-Silverlight-for-Windows-Phone-7-Data-Virtualization.aspx ...
  • Blog Post: Virtualizing Data in Windows Phone 7 Silverlight Applications

    One of the cool features of lists in Silverlight is that they can "virtualize" the UI objects needed to render the list, reducing the amount of memory and CPU necessary to load large lists. For example, if you bind a ListBox to 1,000 items in Silverlight, it will only create ListBoxItems for the first...
  • Blog Post: Updated Tilt Effect

    Jeff has posted a version of the Windows Phone 7 “tilt” effect that is packaged as a control, built by Luke. It’s only fair that I update my tilt code too – it uses the same attached property implementation as my previous tilt code , but the new updated tilt algorithm (direct...
  • Blog Post: Jeff’s improved ProgressBar template

    Another quick post... Jeff Wilcox has posted an improved template for the Indeterminate ProgressBar for Windows Phone. He goes into a little of the history behind this, too. I recommend you use his updated control if you are showing an indeterminate progress bar and seeing sluggish performance. http...
  • Blog Post: Why can't I change the Background of my Button on a Click event?

    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: < Button Content ="Click Me" x : Name ="ClickMe" Click ="ClickMe_Click" Background ="Red"/> and some code...
  • Blog Post: Why are the ApplicationBar objects not FrameworkElements?

    Also phrased as "Why can't I databind to the AppBar" or "Why are my named AppBar objects always null in the code-behind?" and so on. (This may also be incorrectly phrased as "Why isn't the AppBar a DependencyObject ?" but being a DependencyObject doesn't really buy you anything...
  • Blog Post: Heading to TechEd next week

    I'll be at TechEd next week (along with my cohort Shawn Oster and bunch of other Windows Phone folks) to give a new-and-improved version of my Mix talk. I'll be showing a few features you haven't seen yet, as well as providing some updated guidance on writing apps for the phone.
  • Blog Post: A couple of Manipulation tips

    One of the many cool features about Windows Phone 7 and Silverlight is the manipulation API , which provides super-easy access to manipulation information such as finger drags and other gestures. A basic intro post on manipulation can be found here . There are a couple of things that trip people up though...
  • Blog Post: Emulating HVGA screens with Mix CTP

    One of the (many) differences between Windows Phone 7 Series and the older Windows Mobile platform is that there is now a single hardware and software platform for developers to code against. Every device will have a fast CPU and GPU, GPS, 4-point multi-touch, and so on. The only attribute of the phone...
  • Blog Post: Strategies for dealing with Orientation Changes

    [Update March 29th to add info on SupportedOrientations] Several people have asked me what the best strategy is for dealing with portrait and landscape layouts in the same page, and really the answer depends on what kind of content you have, how you want it to behave when it’s laid out, etc. So today...
  • Blog Post: Engagdet's post on multi-tasking

    Yesterday Engadget had an opinion piece on mobile multitasking , once again borrowing my awesome slide on the topic from Mix (hey Michael, where's my royalty cheque? :-) ). A picture tells a thousand words, and I think this one actually does a pretty good job of explaining what happens on Windows Phone...
  • Blog Post: Mock Location APIs from my Mix10 Talk

    I posted the code from my Mix talk here , which includes the mock location code, but I never used the word "location" in that post so search engines don't find it. Location location location. We got that location! Got location? You know we do ! Note that this mock isn't complete – it...
  • Blog Post: Tilt effect for Windows Phone controls

    [UPDATE August 16, 2010: Please use the updated version of the tilt code at http://blogs.msdn.com/b/ptorr/archive/2010/08/11/updated-tilt-effect.aspx ] One of the effects that can be seen on the Windows Phone 7 Series videos is the "tilt" effect on buttons and other controls. This effect isn't built...
Page 1 of 2 (28 items) 12