Search code examples
c#google-mapsbing-mapsuwpmicrosoft-band

Using MS Band to generate the path


:)

I'm currently working on my project using Microsoft Band 2 connected to UWP app, written in C#. In some portion of this project, the system show a path to follow from user's current point (who is wearing Microsoft Band) to the destination, at the floor plan scale (The system can tell you which floor you need to go).

Problems I'm facing are:

  1. How to get the current location from the Band? Or there's another possibility or channel to get this information from the Band such as MS Health?
  2. Since Google Maps provides floor plan and direction to go (route generator), in what way I can send the retrieved location and get the generated path back from my UWP app?
  3. Is the thing I tried to do in 2. can be implemented by using Bing Maps as my map provider?

Anyway, thank you for all suggestions here. :)


Solution

  • I actually built a prototype to navigation app for the original band. Here is what I found when I came across the same questions:

    1. The band doesn't expose it's location through an API. The GPS uses up a lot of battery power. Having a couple of apps using the GPS would drain your battery in a couple of hours which would create a bigger issue for the user. The way around this is to have a companion app that runs on the users mobile device and use it's GPS. This is what I did in my app and it worked well.
    2. Bing Maps actually has much more detailed floor plans than Google Maps, called venue maps. You might want to check them out. However I don't think they have been exposed through the UAP app yet.https://www.bingmapsportal.com/ISDK/AjaxV7#VenueMapsModule3 Google Maps is likely not an option as I don't believe they expose their floor plan data via a public service. Also, determining which floor the user is on will be very difficult. You can approximate, but you will run into errors here.
    3. Mixing Google and Bing map data is against the terms of use of both platforms.