preload
Nov 23

It is now soon 6 months since I started in a new job as CTO at mBricks and in this post I will explain what we do at mBricks.

Even if I just started in this job for 6 months ago I have a long history with mBricks. I started in mBricks back in 2005 (fresh out of school) and was a part of the core team writing the very first code lines that today is a part of what we call mBricks SDK. I worked there til 2009 and then I decided to widen my horizons and try something else for a while. I am now very pleased to be back in mBricks. The circle is closed :)

mBricks facilities located at Lysaker, Norway in our mother company Teleplans' building

What is mBricks?

mBricks is a software company focusing on mobile applications. We do all kind of consulting within the mobile application area but what we are most proud about is our cross platform solution for developing/building mobile applications. This is what really makes mBricks stand out in the crowd.

Continue reading »

Tagged with:
Apr 01

When I develop Windows Phone 7 apps I use a lot of online and offline resources to learn best practices, tips and tricks from other developers. Why use a lot of time figuring out how to do things that already have been done. This post is a collection of all my favorite Windows Phone 7 development resources. The post will be updated as I continuously find new good resources.

Articles

All about WP7 Isolated Storage

Making a Voice Recorder on Windows Phone

Continue reading »

Tagged with:
Mar 31

I am very fond of using patterns when developing and I have seen the importance of patterns in several projects. When it comes to Windows Phone 7 development I guess the most popular pattern to use is the Model-View-ViewModel (MVVM) pattern. I have successfully used a different (but still quite similar) pattern for several mobile app projects. In this post I will show you how to use the Model-View-Presenter (MVP) pattern when developing Windows Phone 7 applications.

I will not go into details describing the MVP-pattern since I covered that pretty well in another post I wrote a while back: Using Model-View-Presenter (MVP) pattern in Compact Framework. What I will do is to show an example on how you can design your Windows Phone 7 app architecture to use MVP-pattern. I will use the same login example as I used in the Compact Framework post. You can see that the biggest difference between how you do this for CF and WP7 is the data binding capability in WP7.

Before we go to the code a short summary on the essence of the MVP-pattern: The View is only responsible for displaying output to the user and receiving input from the user. The View will always ask the Presenter what to do with the data and the Presenter will pass the data on to the View. The Model consists of business objects and can be used both by the Presenter and the View. The figure below explains the MVP-pattern.

Now it’s time to have a look at the code. For this example I have created a solution called MvpDemo. To this solution I have added two projects. One Silverlight for Windows Phone – Windows Phone Application project called MvpDemo and one Silverlight for Windows Phone – Windows Phone Class Library called MvpDemo.MVP.

Continue reading »

Tagged with:
Feb 13

This is the last part in a series of four and will step by step explain how to use WCF services to access SQL Azure Database from Windows Phone 7 app. As an example I will develop a Windows Phone app where the user can create an account and later on log in to the account by user name and password. The accounts are saved in SQL Azure and I am using WCF for communication between the WP7 app and SQL Azure Database.

The book Beginning Windows Phone 7 Development has a very detailed chapter about using SQL Azure Database.

Part 1: Signing up to Windows Azure and create your SQL Azure Database

Part 2: Creating a cloud service (WCF service) to connect to the SQL Azure Database

Continue reading »

Tagged with:
Feb 13

This is part three in a series of four and will step by step explain how to use WCF services to access SQL Azure Database from Windows Phone 7 app. As an example I will develop a Windows Phone app where the user can create an account and later on log in to the account by user name and password. The accounts are saved in SQL Azure and I am using WCF for communication between the WP7 app and SQL Azure Database.

The book Beginning Windows Phone 7 Development has a very detailed chapter about using SQL Azure Database.

Part 1: Signing up to Windows Azure and create your SQL Azure Database

Part 2: Creating a cloud service (WCF service) to connect to the SQL Azure Database

Continue reading »

Tagged with:
Feb 13

This is part two in a series of four and will step by step explain how to use WCF services to access SQL Azure Database from Windows Phone 7 app. As an example I will develop a Windows Phone app where the user can create an account and later on log in to the account by user name and password. The accounts are saved in SQL Azure and I am using WCF for communication between the WP7 app and SQL Azure Database.

The book Beginning Windows Phone 7 Development has a very detailed chapter about using SQL Azure Database.

Part 1: Signing up to Windows Azure and create your SQL Azure Database

Part 2: Creating a cloud service (WCF service) to connect to the SQL Azure Database

Continue reading »

Tagged with:
Feb 13

This is part one in a series of four and will step by step explain how to use WCF services to access SQL Azure Database from Windows Phone 7 app. As an example I will develop a Windows Phone app where the user can create an account and later on log in to the account by user name and password. The accounts are saved in SQL Azure and I am using WCF for communication between the WP7 app and SQL Azure Database.

The book Beginning Windows Phone 7 Development has a very detailed chapter about using SQL Azure Database.

Part 1: Signing up to Windows Azure and create your SQL Azure Database

Continue reading »

Tagged with:
Aug 06

One of my main area of interest is mobility and I read a lot of blogs and news sites to keep my self up to date. In this post I will share some of my favorite blogs and sites about mobility with you. The last 1 1/2 year I have mainly been working with Microsoft technology when it comes to mobility and therefore you will see a majority of Windows Phone and Windows Mobile blogs in this list.

The Windows Team Blog is a good place to start if you want to be updated on what the Windows teams are up to. There are three blogs I often read on this site:

Windows Mobile 6 Developer Blog, Windows Phone Developer Blog and Windows Phone Blog

Continue reading »

Tagged with:
May 02

The MSDN & TechNet Live tour 2010 in Norway visited Oslo as the final destination 26th April. Microsoft invited me to join them on this tour and to be on their Windows Phone stand, off-course I accepted this invitation.

I was not able to be in all of the four cities this tour visited, but I got to be in Stavanger and Oslo. The period this tour lasted was the same period that Norway and the rest of Europe had to shut down the air traffic because of the ash cloud from the volcano eruption on Iceland. This caused some difficulties for the crew, speakers and partners to get to the different cities. Despite the difficulties the tour was completed successfully.

Facts from my car computer: Oslo - Stavanger - Oslo

I needed to travel by car from Oslo to Stavanger and this is normally an 8 hours drive each way. We thought that it would be exciting to drive from Oslo to Stavanger via a route we had never driven before and ended up on a spectacular and very long drive. During the drive we had all the 4 seasons with sunny weather in Oslo, snow storm at a mountain passage (1060 meter above the sea level) and rainy weather in the long valleys. Easy to say we took the safe 8 hours drive route back home to Oslo :)

Continue reading »

Tagged with:
Apr 01

It is quite easy to get started developing applications on the Windows Phone 7 Series platform.

Before you start you need to download and install the Windows Phone Developer Tools which includes:

  • Visual Studio 2010 Express for Windows Phone
  • Windows Phone Emulator

Continue reading »

Tagged with:
Subscribe to my feeds Follow me on Twitter
DZone MVB