Get Prototyping

[UPDATE]

This offer ends midnight, Sunday, October 20th, 2013. If you have been stalling, now is the time to get it finished up.

Here’s my current offer for all you devs who are sitting on the fence about creating a Windows Phone app:

I will give you a Nokia Premium Developer Program token ($1500 value) if you email me your working prototype for Windows Phone.

I’ll then help you finish the app by providing guidance, resources or whatever you need to get it ready for the store. You can use any number of resources to build this prototype:

There hasn’t been a better time to get started and become a bona fide Windows Phone developer. When you’re ready, send me an email with the info below and attach the prototype. I’ll reply and bring you on board.

  • Name (first/last)
  • Location (city/state)
  • DevCenter publisher name and GUID (if you have one)
  • Dvlup.com username (if you don’t have one, go to http://Dvlup.com and sign up. its free and take 30 seconds)

Happy coding!

NOTE: This is only available for developers living in the US or Canada. If you don’t live in MA, NH, VT, CT, RI, ME, IL, MI, IN or VA, don’t worry! I will forward your email to your local Ambassador, who will honor the same deal. Now get those fingers whirring away at the keys of wpdev awesomeness 🙂

Updated: If you are located in Europe, go check out Domagoj’s blog post to receive the same offer http://domagoj.eu/european-devs-publish-your-windows-phone-app-for-free/

Update 2: If you live in South Africa, I was able to help get Matt Cavanaugh (Nokia Champion) some tokens to give you this same offer. Go here to see his offer http://blog.roguecode.co.za/publish-your-windows-phone-app-free-and-R15000-worth-of-goodies/

Giveaway Time!

[UPDATE] Winners announced!

Congratulations to the following developers:

  • Jerrell Blankenship: JBL Powerup
  • Marcus Vaal: Wenger Computer Backpack
  • Anthony Russell: Wenger Computer Backpack
  • Gary Ritter Jr.: Nokia Wireless Charging Plate
  • Austin Andrews: Nokia Purity In-Ear Headphones

I will reach out via email to get your shipping info and color preference (if applicable).

Giveaway Details

Yep, it’s time again and it’s a good one! The picture shows what I am giving away on July 31st, 2013, here is the exact list:

JBL Giveaway

Here are the conditions. If you meet them, keep calm and continue on

  • You MUST be an existing Windows Phone Developer WITH at least one published app currently in the marketplace.
  • You MUST live in Ohio, Ilinios, Virginia, Indiana or any one of the New England states (MA, VT, NH, RI, CT). If you don’t, send me an email with your location and I’ll introduce you to your Nokia Ambassador to enter thier giveaway.

Note: If you already entered in a giveaway I offered privately to my devs, I have automatically added you to this one. (Still on the fence? I do private giveaways with my devs all the time. Phones, gear and more)

Send me an email with the following information by July 31st

Make sure you put “Giveaway Time” as you subject line. That will guarantee I’ll get your email, I expect a lot of email traffic from this giveaway. I don’t want to miss anyone, so I’ve created an inbound email rule to put your entry in it’s own folder. The deadline for this contest is July 31st at 11:59 PM

  1. First and Last Name
  2. Your location (City, State)
  3. Your email address (this is the one I can reach you at, one you actually check daily)
  4. A URL to one of your apps in the Windows Phone Store (here is an example of one of mine )
  5. Your DVLUP.com username (If you haven’t registered yet, do it now. its free and really quick)

Thats it. Send me an email with that info, I’ll reply to let you know you’re entered. Good Luck!

Lance

Nokia Developer Ambassador

Boston

As with all my contests, giveaways and awards. You agree to these terms once you enter into the giveaway.

Make an Awesome Video for Your App

Nokia has gone to great lengths to make it easy for developers to create promotional materials for their Windows Phone apps. This quick video shows you how to do it.

[youtube=http://www.youtube.com/watch?v=caCZ1w9ZUak?rel=0]

Steps to make your own

  1. Got to the Marketing Toolkit main page (you’ll need to be signed in)
  2. Select the checkbox under “Promotional Video”
  3. Paste in the Store URL to your app
  4. Select the platform of your choice (I chose Lumia 920)
  5. Select a language
  6. Click “Continue”

On the next page:

  1. Select a category
  2. Make sure the app name is correct
  3. Click “Continue”

On the next page, you can choose the words that get displayed during the video, choose the adjectives that best describe your app’s user experience.

  1. Select all three words for your app
  2. Select the screenshot you want to be in the video
  3. Choose the music you want in the video
  4. Click “Preview Video”

You’ll be brought to the preview page. If you want to change something, you can go back and alter your choices.

  1. If you like the video, click “Continue”
  2. Click “Create Video”

You’re almost done, the next steps take involve signing into your youtube account and the video’s full rendering.

Congratulations, you now have a great looking video to promote your app.

Nokia Lumia 822 and Lumia 800 giveaway [winner!]

[UPDATE] We have a winner!

Thank you to everyone who worked so hard to get their first app in the Windows Phone Store! Keep it up, as I have many more contests coming up. Update your app entry with a new feature, or optimize it’s layout, to get the app ready for my next contest 😉

Now, without further ado, the winner of the June giveaway… drum roll… Richard Huang of Boston, MA. Here is a link to his Windows Phone app entry for the drawing. To everyone else who didn’t enter, if you’re a developer who fits the qualifications below, email me to get a head start on my next giveaway.

Original post

I am giving away a Lumia 822 to a lucky Windows Phone Developer and a Lumia 800 to every developer where their entry is a first app.

The rules are simple:

  • You have published a new Windows Phone app (since January 1st 2013), quality requirements apply*
  • You have not won a Windows Phone 8 device from me yet
  • You’re a member of Nokia’s http://Dvlup.com (Go to http://Dvlup.com and register if you don’t have one yet)
  • You live in Massachusetts, Virginia, Illinois, Ohio, Rhode Island, Connecticut, New Hampshire, Vermont, Maine and Indiana
  • To qualify for the Lumia 800, it has to be your first published app in the past 12 months.

If you meet these conditions, send the following information to ext-lance.mccarthy (at) Nokia.com:

  • The URL to your app and the date it was published
  • Your Windows Phone publisher name
  • Your DVLUP username
  • Your location (City, State)

Once I verify your info, I will add you to the list and randomly draw a winner on Sunday, June 23rd.

If you do not have a DevCenter account, send me the finished app and I will give you a DevCenter account.

Ready, Set, CODE!

Lance

Fine Print: This contest is held by me and I reserve the right to change the rules if it is found to be unfair. Decision is final unless the winner explicitly passes on the prize or is found to be ineligible.

*Quality requirement: The app cannot be a flashlight app or a one page RSS reader (unless it implements a special feature like speech) and must follow the Windows Phone UI design. You need to also leverage the three different live tile sizes.

Rewarding Quality

Offer ends Feb 11th, 2013 5:00 PM PST

So you’ve published an app and you’ve worked hard to keep its rating at 4+ stars. You’ve had at least 50 ratings, proving that it’s not a fluke. Now what? Let me bring you into the fold of the elite.

You and your app will get:

  • Windows Phone Store Placement
  • App Highlights Placement (Nokia’s app that is preinstalled on all new Nokia Lumias)
  • NAX Credits for you to advertise your app in other apps

So if you meet the conditions (has minimum 50 ratings, is currently 4 stars or higher, and you’re DVLUP member or eligible to be) send me an email ext-lance.mccarthy@nokia.com

Registering Extensions

With the entrance of Visual Studio 2012 we saw a new interface to edit your WMAppManifest file. This is a great tool to help you properly setup your app’s meta data. There is one limitation you should be aware of… there is no support for extensions. What are extensions? They are the added functionality that lets you tie your app into other parts of the OS and user experience. This blog post will cover the extensions for photos, but the process is the same for other extensions.

Here is a list of the photo related extensions:

Extension point Extension name URI keywords Learn more…
Photos Hub Photos_Extra_Hub 7.1, 8.0 Extending the Photos Hub for Windows Phone
Share picker Photos_Extra_Share ShareContent, FileId 7.1, 8.0 Extending the share picker for Windows Phone
Rich media app Photos_Rich_Media_Edit RichMediaEdit, token 8.0 Rich media extensibility for Windows Phone 8
Photo edit picker Photos_Extra_Image_Editor EditPhotoContent, FileId 8.0 Extending the photo edit picker for Windows Phone 8
Photo apps picker Photos_Extra_Viewer token 7.1 Extending the photo apps picker for Windows Phone 7

Each extension has it’s own target, make sure you are using the right one for your app. In my case, I am targeting Windows Phone 8 only. So I’ll be using all of the above except for the “Photos_Extra_Viewer” extension (it only targets WP7).

Now comes the confusing part. when you open your WMAppManifest file in Visual Studio 2012, you’ll be greeted with the new editor (image below, click for full size).

editor1new

If you were to look for a way to give your app extensibility, you won’t find any options in the new editor to do that. So what do you do? Edit the XML manually.

Here’s how:

  1. Go to your Solution Explorer
  2. Expand the “Properties” folder
  3. Right click on WMAppManifest.xml file
  4. Select XML (Text) editor

editor2

Visual Studio will open the file in the text editor and you will be able to make direct changes to your file. You’ll even have IntelliSense support to help guide you. With the file open, create a new Extensions parent ( like this: <Extensions></Extensions> ) inside the <App></App> parent and add the extensions you want your app to use.

Here are mine (click image for full size):

editor3

That’s it! Your app will now register the extensions with the OS. I recommend reading this section of the documentation on Photo Extensibility for Windows Phone. It will give you a better understanding of how this works, pitfalls to avoid and possible incompatibilities.  Armed with this information, you will be well on your way to providing the user with a more integrated experience.

Good luck and Happy Coding!

From The Ground Up

This post is to get you started on Windows Phone Development “from the ground up” and is targeted towards people who have no prior experience with the Windows Phone SDK.  At any time you can refer to my resources page for additional links to WPDev assets, tutorials and example code.

Ok, let’s begin.

The first thing you should know is that is does not cost a penny to develop for Windows Phone! The SDK and the tools are free. The only time you will need to pay is when you sign up for your Microsoft DevCenter account. The DevCenter is your portal to the Windows Phone Store. It is where you will submit, update and track your apps. I can help mitigate those costs for you. If you are an Android or iOS Developer and are porting an app, or a true “from the ground up” developer,  I will pay for your first year’s DevCenter fee. Contact me for details.

Now, we need to go over some minimum requirements that you’ll need to meet in order to use the different versions of the SDK.

Step 1: Minimum Environment Requirements

Windows Phone 8 SDK: If you are looking to write Windows Phone 8 (WP8) apps, here are the minimum requirements. If you do not have access to a Windows 8 (Win8) machine or cannot upgrade your machine to Win8, you can install and run Win8 in a VM. If you install the WP8 SDK, you also can develop for Windows Phone 7.x (WP7).

Supported operating systems: Windows 8, Windows 8 Pro

Operating system type:

  • Windows 8 64-bit (x64) client versions

Hardware:

  • 6.5 GB of free hard disk space
  • 4 GB RAM
  • 64-bit (x64) CPU

Windows Phone 8 Emulator:

  • Windows 8 Pro edition or greater
  • Requires a processor that supports Second Level Address Translation (SLAT)

If your computer meets the hardware and operating system requirements, but does not meet the requirements for the Windows Phone 8 Emulator, the Windows Phone SDK 8.0 will install and run. However, the Windows Phone 8 Emulator will not function but you can still deploy to a physical phone!

Windows Phone 7 SDK: Whenever I reference Windows Phone 7 in my posts, I am speaking about Windows Phone 7.1 (AKA Mango/Tango).

Supported operating systems: Windows 7, Windows Vista

  • Windows® Vista® (x86 and x64) with Service Pack 2 – all editions except Starter Edition
  • Windows 7 (x86 and x64) – all editions except Starter Edition
  • Installation requires 4 GB of free disk space on the system drive.
  • 3 GB RAM
  • Windows Phone Emulator requires a DirectX 10 or above capable graphics card with a WDDM 1.1 driver

The Windows Phone SDK 7.1 is compatible with the final version of Visual Studio 2010 SP1.

Step 2: Download and install the SDK

In the links below it is very important to read the “Overview” section before installing the SDKs. There are nuances that may apply to you and are good to know in general. The download you’ll get is a small file that when run will start the installation. You will need a data connection to install, however if you don’t have a connection, you can alternatively download an ISO version.

Windows Phone 8 SDK (download it from here):

  • Choose the language version you want to install and click the Download button for the WPexpress_full.exe file. Follow the instructions to install the SDK. Note that each localized version of Windows Phone SDK 8.0 is designed to function with the corresponding localized operating system and localized version of Visual Studio 2012.  Note – Windows Phone SDK 8.0 installs side-by-side with previous versions of the Windows Phone SDK. You don’t need to uninstall previous versions before beginning this installation.
  • Download the release notes which are in a separate file. For Windows Phone SDK 8.0 documentation and samples, see theWindows Phone Dev Center.
  • To start VS Express for Windows Phone, click the application in the Apps list. If you have Visual Studio Professional, Premium or Ultimate installed on the computer, the VS Express for Windows Phone shortcut won’t appear. Instead, start your Visual Studio instance as usual and then create Windows Phone SDK 8.0 projects using the installed Windows Phone templates.
  • If you try to run a project in Windows Phone Emulator and Hyper-V is not enabled, you will be prompted to turn on Hyper-V. Turning on Hyper-V requires you to restart your computer.

Note: this release is also available in .iso format. Choose one of the following options for handling downloaded ISO images:

  • (Recommended) Write the image file to a blank DVD.
  • (Alternative) Mount the image file virtually as DVD devices.

For more information about these options, see “What are ISO image files and how do I use them?” on the FAQ page.

Windows Phone 7 SDK (Get the 7.1 SDK here and the 7.1.1 SDK here)

There are two SDKs for WP7 development, the first one (7.1) is the full SDK and the second (7.1.1) is an update that adds support to develop for low memory devices. Install 7.1 first, then download and install 7.1.1 immediately afterwards. The 7.1.1 update adds an additional emulator with a lower memory cap (256MB). Windows Phone has low end devices in a lot of “emerging markets”. This is a huge opportunity for you to reach millions of devices.

Instructions for the 7.1 SDK (Do this one first):

If a pre-release version of the Windows Phone SDK 7.1 (Beta or RC) is installed on the machine, please uninstall it before installing this product. 
Click on the vm_web2.exe file in the download section above. This will start the installation of Windows Phone SDK 7.1 and install necessary components on your computer.
Please refer to the Release Notes in the download section above for additional details before running setup.
Note: this release is also available in .iso format.
Choose one of the following options for handling downloaded ISO images:

  • (Recommended) Write the image file to a blank DVD.
  • (Alternative) Mount the image file virtually as DVD devices.

For more information about these options, see “What are ISO image files and how do I use them?” on the FAQ page.

Instructions for the 7.1.1 SDK update (Do this one second):

Windows Phone SDK 7.1 must be installed on your computer before you can install Windows Phone SDK 7.1.1. For more information, see Installing Windows Phone SDK.
To install Windows Phone SDK 7.1.1 Update, click the Download button for WPSDK-7.1.1-KB2669191-x86.exe file, and then follow the instructions to install the SDK.

Note: This update configures a 256-MB emulator and a 512-MB emulator as part of the installation, and so might take longer to install than a typical SDK.

Step 3: Fire it up!

Congratulations! Now that you have the environment and tools installed, you are ready to roll. You may be asking yourself, “What do I do now?”. That’s a good question. To answer it, I will have you  write your very first Windows Phone app. My instructions from now on will be using the Windows Phone 8 SDK, most of the steps are the same. If you are using the WP7 SDK and something doesn’t make sense to you, contact me and I’ll give you a custom lesson.

  • Open Visual Studio Express (If you already have Visual Studio installed on your machine, use it instead of the Express version)
  • Go to File > New > Project
  • In the window that just opened select the following

StepsForNewPanoApp

  1. Make sure you have Windows Phone selected
  2. Select Windows Phone Panorama App
  3. Name your project
  4. Click OK.

Visual Studio will now ask you to choose a Windows Phone version. There is one thing you should know at this point. If you build an app as a WP7 app, it will work on WP7 and WP8 devices. If you build a WP8 app, it will only work on WP8 devices. In most basic scenarios, you should choose WP7 (7.1) and then update your app to WP8 afterwards. You will only be able to target WP8 if you need a feature that only WP8 offers (ex. NFC, Bluetooth, etc).

TargetVersionSS

Once you click OK, Visual Studio will automatically generate all the files you need to run and deploy the app. In fact, this app you just created is ready to build and deploy. Complete with example data and ViewModel!

Step 4: Build and Deploy

Now that you’ve got a project open in Visual Studio and it is ready to be deployed to an emulator or device (you can debug/deploy to a developer unlocked device via USB cable), it’s time to build and debug. Familiarize yourself with the image below (full size image):

VS2012ui

I always say the best lesson is the one you did hands-on, so go ahead and click the little green debug arrow to debug your project. If the emulator isn’t already open, Visual Studio will fire it up for you. If this is your first time running the emulator, Windows 8 will ask for Hyper-V permission, this only happens once. Once that’s done, your app will launch inside the emulator.

It will take some time to become more familiar with the process involved and learn more about the infrastructure of a Windows Phone app, but you are on your way. Congrats, you are now officially a Windows Phone developer.

Denied?

So, you got an email from DVLUP stating that your challenge submission was denied.  Why were you denied? What did you miss?  I wanted to write this post to share the top reasons for denial and how to fix it… 90% of these are due to the fact you didn’t edit your WMAppManifest file.

Here are the top offenders:

  • Not all Live Tiles Sizes
  • No animated Tiles
  • Not all WP8 resolutions

#1- You need to have all three tile sizes enabled for your app. Here is a list of the tile sizes from the MSDN Documentation. To rectify this problem, simply toggle the “Support for large Tiles” property in your WMAppManifest file. See the image in answer #2 for more details.

Tile Sizes

#2- Your app failed because the tiles were static. You need to bring your pinned tiles to life with one of the tile templates. Below is an example, find more here in the MSDN Documentation:

Cyclic Template– This template rotates between 1 to 9 images for your pinned tile. To meet the challenge’s requirement you need to have at least 2 images. Here is a quick and easy way to setup a tile from an event handler:


CycleTileData cycleTile = new CycleTileData()
{
Title = &quot;DVLUP Rules&quot;;
Count = 2;
SmallBackgroundImage = new Uri(&quot;/Images/smallBackgroundImage.jpg&quot;, UriKind.Relative);

// An array of URIs will do the trick
CycleImages = new Uri[]
{ // You can have up to 9 images
new Uri(&quot;/Images/cycleImage1.jpg&quot;, UriKind.Relative),
new Uri(&quot;/Images/cycleImage2.jpg&quot;, UriKind.Relative),
new Uri(&quot;/Images/cycleImage3.jpg&quot;, UriKind.Relative),
new Uri(&quot;/Images/cycleImage4.jpg&quot;, UriKind.Relative),
new Uri(&quot;/Images/cycleImage5.jpg&quot;, UriKind.Relative),
new Uri(&quot;/Images/cycleImage6.jpg&quot;, UriKind.Relative),
new Uri(&quot;/Images/cycleImage7.jpg&quot;, UriKind.Relative),
new Uri(&quot;/Images/cycleImage8.jpg&quot;, UriKind.Relative),
new Uri(&quot;/Images/cycleImage9.jpg&quot;, UriKind.Relative),
}
};

Another way to setup the Cyclic Template is directly in your WMAppManifest file by assigning an image directly like this:

2012-12-13_1150

#3- Your app needs to support all three Windows Phone resolutions. This link will take you to the MSDN documentation on how to target different resolutions. Here is a screenshot of the new resolutions for Windows Phone from the docs and also my WMAppManifest file.

2012-12-13_1143

2012-12-13_0927

Great, now you’re armed with the information you need to resubmit your application. Update your app through DevCenter, once it’s live in the Store go back into DVLUP and resubmit the app to the challenge. If you have any questions, send me an email to ext-lance.mccarthy(at)nokia(dot)com.

How Rad is your app?

I have another giveaway and challenge for my developers today. In addition to being a Nokia Developer Ambassador, I work full time as a XAML Support Specialist at Telerik, yep the awesome RadControls people. So, I’d like to ask you, “How Rad is your app?”

I don’t want this post to sound like an ad, but rather a testimonial. That’s why I make it a point to say that I used the RadControls long before I became an employee, their components are a powerful, indispensable part of my development toolbox. The RadControls make your app look like you had a whole team of designers.  I just released an app powered by the RadControls, “Conferenced In”.  Get it here so you can follow along with this post as I make a simple comparison.

In the app I use the DataBoundListBox instead of the default listbox, this easy change dramatically increased the polish and functionality of my app. With features like “PullToRefresh” and built-in animations, I got a great UX with minimal effort. Another great feature of the DataBoundListBox is the “OnDemand” feature. You have the ability to fetch new list items when the user gets to the bottom of the contents via an Automatic or Manual OnDemand method built into the control. To see this in action:

  1. Open Conferenced In and sign in to Twitter (if you don’t have a Twitter account, the app has a guest mode)
  2. Choose an upcoming conference (this combo box and popup display is the RadListPicker)
  3. Select “Load Speakers”. Notice how the speakers fill the viewport? Awesome sauce, right! That’s the RadDataBoundListBox built-in animation with a little customization.
  4. If you signed into twitter, slide over to your timeline or mentions and scroll all the way to the bottom. You’ll see a button to load older tweets, that is the OnDemandManual mode.
  5. Now go back to the speakers list and select a speaker, this will bring you to their profile page.
  6. With the speaker’s tweets in front of you, pull the tweets down. You’ll see the PullToRefresh icon and animation do it’s magic.  This is a built-in property that you only need to toggle and populate the event handler. Easy button.
  7. Now scroll to the bottom of the speaker’s tweets as fast as possible, when you reach the end of the list notice the “loading” busy indicator. This is the control in OnDemandAutomatic mode! You will see the older tweets animate in from the right.

Now imagine if I used a default listbox? How much coolness would I lose? Exactly…

So, I’ve added a new feature to this blog. If you look over to the right sidebar, you’ll now see a new widget titled, “Examples”. This is a live Box.net widget where I have placed example applications that you can download right now. Go ahead and get the Telerik Examples compressed folder from the widget. Inside there you will find the source code of several applications (in parenthesis is the link to the example if it is the Marketplace):

  1. Telerik Examples (live link only: You get this as part of your trial download. Find it at C:Program Files (x86)TelerikRadControls for Windows Phone 7 Q3 2012Demos)
  2. Picture Gallery (live link)
  3. Telerik Design Templates (live link)
  4. Telerik ToDo
  5. Telerik Exchange Client
  6. Telerik Agenda Viewer

The next step is go get yourself a trial of the RadControls for Windows Phone, go to this link and click the “Download Trial” button. Install the RadControls and then go explore the source code of the example apps. Take a look at how flexible and powerful they really are. I only gave you one small case, imagine what this can do for your apps! See how the Telerik Windows team leverages the different features in these examples. You can fully develop your app and also get unlimited support ticket during your trial!

Get free license to the RadControls for Windows Phone I will award one license to the first developer who sends me their app that uses at least 3 RadControls in their app and tells me how the RadControls made their app better. Apps published before Nov 7th are not eligible for this challenge, but if you are updating an existing app with the RadControls that was first published after Nov 7th, it is eligible. Contact me at Nokia-Dev(at)outlook(dot)com for more rules and details.

We’re back at the original question, “How Rad is your app?”

P.I. API

I did some investigating on the best APIs to help give you app ideas or to use for beefing up  an existing app.  Here is a list of some of the best ones out there. I’ve added these to the resources section of the site.

Have fun brainstorming!