Andreas Hammar

Windows 8 app development lessons learned – slides

Yesterday we hosted some guests in a double session event regarding lessons learned developing Windows Store apps. First of all, thank you to all visitors! Secondly, thank you to Peter Bryntesson from Microsoft Sweden for a really good session. We, the XAML team at Jayway .NET, held on session on a bunch of topics – and we here present you with the slides. Enjoy! Robert Hedgate preaching about snapped vs full vs filled view. Peter Bryntesson on Javascript, PCL and…

Changing TFS credentials in Visual Studio 2012

MSDN study links for Exam 70-485: Advanced Metro style App Development using C#

Changing the name of a Windows 8 Store app

Windows Phone 8 Dev.KickStart presentations–slides and code

Last week I had the honor of doing two sessions on the new Windows Phone 8 platform. The format was interesting, Microsoft Sweden had created this as an invite-only event and focused on the recording of the sessions – but with a small audience. The other speakers were Tech Evangelists from Microsoft; Tess Ferrandez, Anders Thun and Peter Bryntesson, and last but not least Johan Lindfors from Coderox. The session videos will be released online soon. Slides are on slideshare,…

Highlights of the Windows Phone 8 SDK release notes

It’s a great week – the BUILD conference has started and the Windows Phone 8 SDK has been released! Reading through the release notes I found a few points worth highlighting. The emulator has problems with H.264 video Not totally unexpected but good to know, e.g.: Your app may crash during recording if H.264 video-capture APIs (Windows.Phone.Media.Capture.KnownCameraAudioVideoProperties.H264*) are called before recording begins. Workaround: Debug using a Windows Phone 8 device. The emulator may capture images rotated Emulator camera may save…

MSDN study links for exam 70-484: Essentials of Developing Windows Metro style Apps using C#

‘git add –p’ is awesome

Enforcing square proportions in XAML

MSDN study links for exam 70-483: Programming in C#

Using dependency properties to create reusable Windows 8 app components

This article will show you how we turned our progress spinner, that we use on all pages in the Reseguiden Sista-minuten app, into an even nicer reusable component than what it was before. The spinner looks like this: We have it on every page of the application, and the backing properties controlling the behaviour are in our BaseVM, the superclass for all view models. The properties are IsBusy and ProgressVisibility. The text comes from a resource, LoadingPage_LoadingData.Text, and the Windows…

Resolution scaling of Windows 8 Metro apps

Clearing the page cache in Windows 8 Metro apps

Converting to Windows 8 from Windows Phone | Looking back–what would we do differently (12 of 12)

Converting to Windows 8 from Windows Phone | Background agents (11 of 12)

The Mango (7.1) update for Windows Phone brought us a lot of goodies including the Scheduled Task Agent. It allowed us to create a feeling of push notifications without actually doing any server push implementation. In the Reseguiden app we use the background agents to do new searches for trips and displaying the top result in the app tile. Sort of a budget-push. So, the question is, does the same functionality exist in Windows 8? The answer is yes; same…

Converting to Windows 8 from Windows Phone | Live tiles (10 of 12)

Converting to Windows 8 from Windows Phone | Localization of your application (9 of 12)

Beginning Windows Phone development–slides and code from TechDays Sweden 2012

Today I’ve had the honor and privilege to present at TechDays Sweden and at TechDays@campus, Örebro University. The topic was Beginning Windows Phone development and at both venues I had a big crowd with interested developers – couldn’t be better! I here bring you the code samples and slides – thank you for coming! Code download code Slides Techdays 2012 – Beginning Windows Phone development – Andreas Hammar View more presentations from Andreas Hammar.

Converting to Windows 8 from Windows Phone | Navigation (8 of 12)

Navigation in Windows Phone has a clear legacy from Silverlight, you get around using Uris and query strings. What might have been the best solution for the web is clumsy and cumbersome in a native environment. This has often led to custom wrappers around the navigation APIs. All this has changed in Window 8, navigation feels more modern and easy to use. In this article we’ll take a closer look at the old and new way of navigating. This post…

Converting to Windows 8 from Windows Phone | Cache and working with storage (7 of 12)

Just as with most Windows Phone applications, you typically add value to a Windows 8 application when caching data. You gain some offline ability as well as a quick and snappy application that doesn’t need to go online and download data all the time. In Reseguiden’s application we are not actually saving any data in our cache. This is because all data really need to be fresh so we really can’t cache it any longer than the application runs. But…

Converting to Windows 8 from Windows Phone | Working with third party libraries and JSON (6 of 12)

Right now, one of the big differences between Windows Phone and Windows 8 is what third party components you can use. For Windows Phone you have a huge selection of components that you can choose from to get help with anything from MVVM to animations. We used several when implementing Reseguidens sista-minuten application. One we used quite extensively throughout the application is ServiceStack.Text to parse JSON. If we had been lucky we would have been able to re use the…

Converting to Windows 8 from Windows Phone | HttpClient vs. HttpWebRequest (5 of 12)