Windows Phone 8 emulator wasn’t able to create the virtual machine

There I am, all happy and excited about the latest Windows Phone 8 SDK released today. And so I downloaded it (took quite long, I am probably not the only one in the world who wanted it immediately :)) and installed it. Opened Visual Studio 2012, created a new template project, tried to run it in emulator and… error occurred. What? Windows Phone 8 emulator wasn’t able to create the virtual machine. Here are some of the steps that helped people online and myself to get it fixed.

Continue reading

Augmented reality session presentation

imageAs I announced earlier, I had a session at KulenDayz conference about Windows Phone and augmented reality. You can hardly start talking about augmented reality before you cover some basic elements of it, which includes defining the augmented reality, classifying it, explaining sensors, camera, and all sorts of open source toolkits that make it simple to start creating augmented reality apps today. Find the presentation in this blog post

Continue reading

Windows Phone Augmented Reality session at KulenDayz

imageToday, the agenda for MS Community event in Croatia known as KulenDayz got refreshed, and my session got accepted and became a part of the ‘Windows Phone’ track! I am very excited about it because I explained earlier why KulenDayz is a special event to me. So, besides being a part of the organization team, I will get a chance to speak about a very exciting and challenging topic. Here’s what you can expect to hear if you are coming to KulenDayz!

Continue reading

Windows Phone location tool in emulator down? No problem!

To enable developers to test applications that somehow rely on location services without having an actual device, Microsoft added a location tool to the Windows Phone emulator back in Mango release. For some reason, the tool stopped working and the Bing map is not rendered if you try to use it today. Without a map, you can’t add pushpins to it which would simulate your device actually having latitude and longitude – location somewhere on Earth. Luckily, there’s a workaround!

Continue reading

Share photos on Twitter from Windows Phone app

One of the things you might need Twitter authentication in your app for is to be able to share photos. In my last article, I described the way to get the user authenticated (PIN based authentication), and this article will show one of the methods for sharing photos on Twitter from Windows Phone app. Note that there are of course other solutions, this is just my way of handling it in my apps.

Continue reading

Twitter authentication from Windows Phone app

Just like with Facebook, sharing statuses on Twitter from Windows Phone app can be simply accomplished using ShareStatusTask launcher. A more complicated scenario is when you want to share a photo on Twitter. In order to do that, you first need to authenticate the user from your app to allow your app to communicate with Twitter and then to upload photos. This article will show you how to do the authentication part.

Continue reading

Share photos on Facebook from Windows Phone app

Sharing photos on Facebook from your Windows Phone app is one of the scenarios for which you need Facebook inside your app. In my last article, I wrote about the first step of creating a Facebook enabled app, which is authentication. After the user is successfully authenticated, you can start doing things like sharing and uploading photos. This article will show you the simplest way to do it!

Continue reading

Facebook authentication from Windows Phone app

To share statuses on Facebook from your Windows Phone app, all you have to do is use a launcher called ShareStatusTask, and the system takes care of the rest (in case your phone is connected to social networks where you’d like to share). In cases other than simple statuses or links (for example, photos), you need to take care of connecting your app to Facebook yourself. This would be a tricky thing if you had to write all the code yourself, but luckily there’s a library called Facebook C# SDK that handles much of the trouble for you. Still, you need to write some code and authorize your app to access someone’s Facebook, and this article is all about that.

Continue reading

Implementing augmented reality using GART

This article will show the details of implementing augmented reality in Windows Phone using Geo Augmented Reality Toolkit (GART). GART enables you to create augmented reality experiences that depend on real geographical locations. It takes care of overlaying Bing maps, your heading, picture/frames from camera and virtual elements that display information about certain points of interest.

Continue reading

Rotate 3D model in XNA using Motion API

Motion API is a great way for you as a developer to get access to sensor data in more sophisticated and more useful way than just getting the raw data from each sensor. There’s a complex math in the background that combines the sensor data for you to get more usable data. This way, you can use Motion API to do interesting things such as rotate 3D objects in space using XNA Framework and Windows Phone. Continue reading