Using Geolocation and Geofencing in Windows Store Apps

Sign in to queue

Description

Windows 8.1 enables you to add new location aware scenarios to your Windows Store Apps. Here you will find information and a walkthrough of the Windows Geolocation API additions, the Geofencing APIs, and the new location background task type. Come see these demonstrated using an example app - location based reminders.

For more information, check out these courses on Microsoft Virtual Academy:

Day:

0

Level:

300

Session Type:

Pre-Recorded

Code:

3-9034

Embed

Download

Download this episode

For more information, check out these courses on Microsoft Virtual Academy:

The Discussion

  • User profile image
    CheahEngSoon

    Where can I get the Source Code Demo? Thanks You.

     

  • User profile image
    donavonwest

    Cool

  • User profile image
    donavon

    +1 Where is the source for the sample app shown in the video?

  • User profile image
    JonkMSFT

    The source code for the demo app is not available at this time. The recommended method to learn more about Geolocation and Geofencing is with the Samples/Documentation:

    Thanks for watching!

    -jon

  • User profile image
    Dan L

    Nice presentation Jon. Can the Geo fences be set up and stored in the Cloud and maintained from "Central App" that the consumers only see and are notified of the fences if warranted? Kind of like a service dispatch scenario?

    Thanks - Dan

  • User profile image
    mukesh

    Is there any app available in stores which uses geofences ?

  • User profile image
    JonkMSFT

    @JonkMSFT:

    Dan L - Geofences are easy to create and you can also query for the list of fences in the GeofenceMonitor for your app.  Using this information, you can store it accordingly (Cloud in your example) and even use it to re-create fences elsewhere. 

    Note that while Windows will notify your app when a Geofence is triggered, it is up to your app at that point to take necessary action.  That could be popping UI, making a web request, or in your example relaying the information to the Cloud service.

    Thanks!

    -jon

  • User profile image
    JonkMSFT

    @mukesh: As of July 1st, 2013, no.  However, please review the sample apps for example usage -

    Samples for C#, C++, JS

    Thanks,

    -jon

  • User profile image
    elad

    Can you explain the difference between "Altitude from surface" and "Altitude from terrain"? The explanation in MSDN is difficult to understand.

    "The altitude reference system is based on the distance above surface structures such as buildings, trees, roads, etc."
    "The altitude reference system is based on the distance above surface structures such as buildings, trees, roads, etc."

    What does it mean altitude above trees?

    Thanks

  • User profile image
    JonkMSFT

    @elad:Great question:

    Altitude Reference Systems

    A clearer way to think about this is that Terrain is essentially the natural ground whereas Surface starts at the top of the tallest item on that piece of ground.  To use the tree example, imagine a very tall tree in the forest - Terrain begins at the base of the tree, Surface begins at the top of the tree.

    Thanks,

    -jon

Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you canĀ Contact Us.