Archives For wp7

Windows Phone 8 offers up some exciting new features and opportunities for developers. The customer base is getting larger with new form factors and low-memory devices. Is your app ready? Are you ready to add the new Windows Phone 8 features to your existing 7.x app? Do you understand the key scenarios to make your app shine on Windows Phone 8 and bring nothing but 5-star reviews? The Windows Phone Evangelism team at Microsoft is hosting a Windows Phone 7.x Upgrade Lab to help you make your app shine on Windows Phone 8.

What is a Windows Phone Upgrade Lab?

The Windows Phone Upgrade Lab is a free, fun, no-fluff workshop for Windows Phone Developers by Windows Phone Developers. Our Technical Evangelist team will introduce you to the new features in Windows Phone 8 and what you, as a Windows Phone Developer, need to do to take advantage as these features. We will also guide you along the path of making your app work great across the new form factors and low memory devices coming from the many Windows Phone manufactures. Below are the locations and dates of our upcoming labs:


Location Date
Houston, TX 4/11
Irving, TX 4/15
Southfield, MI 4/16
Columbus, OH 5/3
Chicago, IL 5/7
Edina, MN 5/7
Indianapolis, IN 5/9

What can I expect?

The Windows Phone Upgrade Lab is a working lab. This means, bring your development machine and your source code and be ready to submit your Windows Phone 8 updates by the end of the day. We will start off the day by discussing the new developer features of the Windows Phone 8 SDK. Following this, our technical experts will be on-hand to assist you in bringing some of these features to life in your app. We will help identify what features would be best utilized in your app, help you implement those features, and assist you in submitting your app into the store by days end. We will cap off the day by introducing you to strategies for bringing your app to Windows 8 and opening up your app to a whole new world of new customers!

Some of the features we’ll be discussing, include…

  • New Windows Phone 8 Features
  • What is the Windows Phone Runtime?
  • What’s new in Tiles and Notifications
  • Handling Multiple Resolutions
  • Understanding the required artwork
  • New Proximity Scenarios with Bluetooth and NFC
  • New Mapping technology from Nokia
  • Lock Screen integration
  • How to start thinking of bringing your app to Windows

Notes:
1. Download and Install the Windows Phone 8 SDK at http://aka.ms/Phone8Tools

2. The Windows Phone 8 SDK Emulator requires your machine to support SLAT (Second Level Address Translation). You can verify if your machine supports SLAT by running the CoreInfo tool. More information can be found at http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj863509(v=vs.105).aspx.

If your machine does not support SLAT, you can still use the SDK and test against a physical Windows Phone Device. If you don’t have a Windows Phone 8 device, we will have some on hand during the workshop to test with.

3. You can get a jump start on the workshop by working through the tutorials in the Windows Phone 8 Training Kit or playing around with the many Windows Phone Code Samples.

In addition to registering for this Workshop, be sure to take advantage of great resources such as access to free expert guidance, app and game frameworks, as well as free storage and tools with Generation App! Sign up at http://aka.ms/AppFor8.

{News and Analysis}

Google

Microsoft

 

For those in the US, have a great holiday weekend!

ag

Apple

Cross Platform

Google

Microsoft

ag

PDC10 Recap

November 5, 2010

On Thursday, November 4, 2010 Brent Stineman and I recapped PDC10 with an open discussion at the Twin Cities .NET User Group. The discussion had two main areas of focus, one being, what I’m calling, “The HTML5 Incident” and the other being announcements regarding Windows Azure. Below are links to resources from each focus area.

“The HTML5 Incident”

Windows Azure Announcements

Additional Resources

(On a side note, I had originally planned on giving a presentation on the Managed Extensibility Framework. I’ll work with the organizers of the Twin Cities .NET User Group to get that session back on the schedule some time 2011. Between now and then I will be posting a multi-part series on MEF, so stay tuned!)

On Saturday, October 9, 2010 I presented at Twin Cities Code Camp on Multi-Targeting WPF, Silverlight, and Windows Phone 7. Here’s a brief overview of the session:

With WPF, Silverlight, and now Windows Phone 7, all using xaml, multi-targeting applications can be a reality. However, it’s not without its challenges. In this session I’ll talk about which things are easiest to share, and which are hardest. I’ll also show you some recommended approaches on how to structure your project, as well as a comparison of the different ways by which you can share code and xaml. I’ll cover topics such as assembly portability, code sharing using linked files, usercontrol encapsulation and abstraction, and even loading xaml at runtime after tinkering with the source via code.

You can download the source code for the session demos here.

728x90_Banner_WP7DevLaunch[1]

As you may have guessed, I’m a fan of Windows Phone 7. While I’ll undoubtedly be acquiring one device, I wouldn’t mind having another one. So I thought I’d enter a contest to do exactly that. Scott Hanselman worked with Microsoft to create a contest where two Windows Phone 7 devices are going to be given away.

Being a naturally competitive person, I’m inclined not to share the details of how to enter. However, I’ll suppress the urge for domination and let you know what you need to do to try and win. It takes four easy steps:

  1. Go get a Windows Phone 7 banner or badge here 
  2. Put it on your blog
  3. Link the image to http://www.msdnevents.com/wp7devlaunch/
  4. Lie in wait

Of course, if I were you, I’d enter as soon as possible since I’m sure I’ve already won one of the devices.

This past Wednesday I gave a talk at MDC10 on Windows Phone 7. It was an introductory talk and we covered a lot of different concepts.

You can download the source code from my demos here.

Below are a number links to help you to start digging deeper into the platform.

Part 1: User Experience

Part 2: Developer Experience

Part 3: $$$

Windows Phone 7 Developer Launch

On September 8, 2010 I led a Hands On Lab at HDC10 entitled Silverlight Bootcamp. The purpose of the hands on lab was to get attendees’ feet wet with Silverlight. The session was a sellout, and while we had some technical difficulties at the beginning (not everyone had the pre-reqs downloaded, SQL Azure connectivity issues, etc.) I think it went OK. Ideally we would have had a longer session, with appropriately configured machines for each attendee, but some times you just have to take what you’re given and make the best of it.

During the class we covered a number of topics from the Entity Framework to WCF RIA Services to MVVM to Unit Testing to OData to Windows Phone. I’ve decided to post the content from the class for you to take a look at.

To run all the labs you’ll need the following pre-requisities:

Microsoft Visual Studio 2010

Microsoft Silverlight 4 Tools for Visual Studio 2010

WCF RIA Serivces V1.0 for Silverlight 4 and Visual Studio 2010

Windows Phone Developer Tools Beta

OData Client Library for Windows Phone 7 Series CTP (yes, it does work with the beta tools)

Silverlight Media Framework

Applicaiton Bar Icons for Windows Phone 7 Series

I created a .zip file that contains all of the pre-reqs (with the exception of Visual Studio). You can grab that file here.

You can download the labs here. Each lesson within each lab contains begin and end code so you can see what we started with and where we ended up.

During the class we used a SQL Azure database. For hopefully obvious reasons, I’ve disabled the login we used during class. However I have uploaded the .mdf for you if wish to run the database locally. You can get the .mdf here.

Questions, issues, thoughts? You know where they go…

I’m Back!

September 7, 2010

After my last post I unplugged…completely unplugged…for three months! I did this for several reasons, but the main one was that I felt the noise to signal ratio I was getting from a number of inputs was way too high. I was overloaded with, what turned out to be, primarily meaningless, unactionable information. I’ve also been moving into a new role at my company, and the demands the role has placed on me requires me to be very efficient with my time. Spending my time sifting through information to separate the wheat from the chaff is a luxury I can no longer afford. To that end, I spent the past three months digesting J.D. Meier’s new book Getting Results the Agile Way and coming up with a strategy for making the best use of my time. There are several practices that I’ve come to rely heavily upon:

  1. Daily results The goal is to identify three, AND ONLY THREE, important outcomes that you want accomplish in a given day. Often times we try to accomplish more than we can in a given day, leaving us with a feeling of failure. The reality is that we’re simply failing to focus. By limiting our daily scope we can actually get more done.
  2. Brain dumps The goal is to factor your thinking from your chatter and reminders. At it’s essence, you simple take anything, and everything that is on your mind and write it down (either to physical or digital format – I prefer OneNote & Evernote). The result is that you relieve yourself of a certain psychic weight that enables you to focus on the important things.

I also hold a daily personal standup meeting. I know it sound a bit silly, but it helps me focus on my priorities for the day. Spending just 10-15 minutes to plan each day has helped me get a better handle on the day’s tasks.

During this three month period I also had the goal of getting a grip on my email. Like many of you I have a number of email accounts. Between my corporate, client, and personal email addresses, I have over 10 accounts to maintain. That can be a lot of information coming from a lot of different directions at the same time. Unfortunately, due to various, client firewall policies, consolidating these accounts into a unified inbox with something like Exchange Web Services {LINK} isn’t an option. I figured the best approach would be to process messages the same way for each account. I also set a standard of having zero emails in my inbox at the end of each day. To accomplish this, I once again turned to J.D. Meier. In case you don’t know who J.D. is, he is a legend within Microsoft for getting things done. The guy is a machine. He multi-tasks better than anyone I’ve seen. Several years ago J.D. wrote a blog entry on the Zen of a Zero Mail. I took his general approach, made some customizations based on personal work style, and applied to each my email accounts. I’m happy to say that as of today I’ve been experiencing the Zen of a Zero mail for a solid two months.

With all of that said, just because I’ve been silent here and other places, doesn’t mean I haven’t been busy. I’ve been spending a fair portion of my time getting immersed in Windows Phone 7 development. I have a couple apps that are near completion, and a couple of more that are in the early phases of development. I’ve also been working with J.D. Meier and the Patterns and Practices team at Microsoft on the following projects:

  1. Microsoft Developer Guidance Maps. The Microsoft Developer Guidance Maps Project is an effort to create a model and a map of resources for developer guidance. The goal is to simplify as well as better organize and share our catalog of developer guidance resources. We’re using this catalog as a way to model, prototype, and test ways to find, organize, and share developer guidance in a meaningful way. As part of the exercise we’ll be creating and sharing our maps of pointers to useful code samples, how to’s, videos, etc. for the Microsoft application platform.
  2. Windows Azure Security Notes. This is a collection of our notes and learnings from exploring the cloud security space and working through Windows Azure security scenarios.

There are also a couple of projects I can’t talk about just yet, but they bring together Microsoft’s cloud and mobile platforms in some very interesting ways. As these projects progress and clients are willing to share a bit more you’ll be the first to know.

I’ve also been busy prepping content for the following presentations I’ll be giving this fall/winter:

  1. Heartland Developers Conference
    • Silverlight Bootcamp
  2. Minnesota Developers Conference
    • Introduction to Windows Phone 7 Development
    • Tablets: The iPad and the Future of Mobile Computing
  3. Twin Cities Code Camp 9
    • Multi-targeting WPF, Silverlight, and Windows Phone 7
    • Getting Down with MEF – Silverlight Edition
  4. Twin Cities .NET Developer User Group
    • Getting Down with MEF
  5. Twin Cities Developers Guild
    • Getting Down with MEF – Silverlight Edition
  6. Twin Cities Cloud Computing User Group
    • Windows Azure Security Guidance

(I hope to see you at a least one of these great events).

I’m also working on a screencast series that I’m tentatively calling "Silverlight Sprints". It’s an adaption of my Silverlight Bootcamp class. The goals is to have a series of episodes (no longer than 10 minutes each) that will get you up an running with Silverlight development (both for the desktop and Windows Phone 7). The content and code for the series is complete I just need to sit down and record it.

Finally, I’ve also been asked to co-host this year’s season of the Spaghetti Code podcast with Jeff Brand. The format is going to be different than in seasons past. Each month we’re going to talk about what’s new in the Microsoft development space. Our first episode is up and you can listen to it here. Let me know what you think!

That’s it for now, but they’ll be a lot more coming soon. Stay tuned!

I’ve uploaded the code and slide deck from my presentation at the Twin Cities Silverlight User Group. You can download the content here.

A couple of quick notes:

  1. The code includes the source for the TekPub media player I demo’d during the presentation.
  2. To build and run the code you need the following installed on your machine:
    1. Microsoft Visual Studio 2010 RC
    2. Windows Phone Developers Tools CTP

Enjoy!