Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Getting going with GART, the Geo AR Toolkit, on Windows Phone 8

In today's Mobile Monday post we are going to highlight an article by Igor Ralic where he walks us through using GART on Windows Phone 8.

What is GART?

GART was created to help people quickly and easily build Augmented Reality applications for Windows Phone and Windows 8.

This kit is different from other AR kits in that it enables what we call “Geo AR”. Where other toolkits place virtual things on top of specially printed tags, this toolkit places information on top of real places in the world around you. It does this by tracking where you are and the direction you’re facing.

Geo AR apps are easy to write because all you need to provide is a collection of objects that have Latitudes and Longitudes. These can come from anywhere, for example a Bing restaurant search, a Flickr photo search or a Wikipedia article search. The framework then takes care of managing sensors and tracking where the user is in relation to the reference points. It can show where the points are in relation to user from a top-down perspective (on a map) or it can show where the points are as a virtual lens into the real world.

Some of our past GART coverage:

Augmented reality with GART – what’s changed on Windows Phone 8

I wrote an article a year and a half ago about using GART with Windows Phone to create augmented reality scenarios in really easy steps. It’s linked in the GART project documentation and it gets a lot of attention and even questions from people working on Windows Phone 8 apps. The article was written with Windows Phone 7 in mind, but conidering it’s still being used as reference getting started implementation, I decided to write about what has changed.

The old article is here: http://igrali.com/2012/05/24/implementing-augmented-reality-using-gart/

The 6 easy implementation steps I mention are:

  • Add an ARDisplay control to your Windows Phone page
  • Add the views you want as children of the ARDisplay control
  • Start and stop services when navigating to and from the page
  • Create a collection of ARItem objects (or your own custom type that inherits from ARItem) and include real geolocation
  • Set ARDisplay.Items equal to your new collection
  • Optionally, style the elements

Before getting started, you need to add the necessary references to your project. Nothing’s changed much regarding that, just go to

http://gart.codeplex.com/releases/view/108573

get the latest release and add it to your project reference.

Adding ARDisplay control

...

[Read More and see the code]

Now get going and get GART'ing!

Tags:

Follow the Discussion

  • Hi.

    I have a Problem running the sample Project from the codeplex site.

    Every time I start the application I get the following error

    System.Windows.Markup.XamlParseException: The type 'Pushpin' was not found. [Line: 45 Position: 163]
       at MS.Internal.XcpImports.CreateFromXaml(UnmanagedMemoryStream stream, String sourceAssemblyName, Boolean createNamescope, Boolean requireDefaultNamespace, Boolean allowEventHandlers, String xamlResourceUriString)

    This happens with both sample Projects.

    I downloaded the sources from the link mentioned above.

    Looks like something is missing.

    Any help would be nice.

     

    Greetings,

    Ralf

     

     

  • Greg Duncangduncan411 It's amazing what a professional photographer can do...

    @Oerni: Best way to make sure the authors see this and to get help on it would probably be to post this on the Codeplex project itself, in the discussions, https://gart.codeplex.com/discussions, or issues area, https://gart.codeplex.com/workitem/list/basic

  • @gduncan411:Sorry. Didn't recognize the Forum on the Codeplex Site.

    Meanwhile I found a solution. Removing an readding the References solved the Problem.

    But thanks for your help. 

  • Greg Duncangduncan411 It's amazing what a professional photographer can do...

    @Oerni: No sweat at all... More importantly, thank you for taking the time to post how you fixed it... Smiley

Remove this comment

Remove this thread

close

Comments Closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.