none
Best Bing MAPS Usage for this scenario RRS feed

  • Question

  • Hello all.  I'm developing a simple mobile app in windows mobile 6.5.3 for our mobile sales force which consists of a few people that go out and service customer's at their locations.  They travel a long way each week and having the ability to map customer's locations and even create routes based on the customers available is a must for them.  Right now they do it either manually using bing maps or like web site.  I would like to make this available as part of their mobile app to where they can do these tasks with ease.  In other words select a customer in the app and get directions from current location to said customer or select a few customers in the app and then have the best route calculated for those selected locations.  I've done some reading on Bing Maps soap services and I think it would fit the bill.  I've created a basic key already, but kind of unsure where to head at this point.  Can someone please point me in the right direction on how to go about this in the best manner?  Thanks for any and all help.


    CEDeveloper

    Wednesday, July 3, 2013 3:59 PM

Answers

All replies

  • Use the Bing Maps REST services. These are significantly better than the SOAP services both in terms of available functionality and performance. The data is also significantly smaller which is ideal for mobile applications. You can find more information about this service here: http://msdn.microsoft.com/en-us/library/ff701713.aspx You can also find information on how to use this service in .NET here: http://msdn.microsoft.com/en-us/library/jj819168.aspx

    We do have an article on creating a mapping application for Windows Mobile but I wrote it a long time ago before the REST services were around. You can find the article here: http://msdn.microsoft.com/en-us/library/dd483215.aspx Simply remove and replace the SOAP services with the REST services.


    http://rbrundritt.wordpress.com

    Thursday, July 4, 2013 11:24 AM
  • Thanks.  I think that will work.  Is there there something that outlines how to access the REST services directly from the mobile device.  I tried copying the data contracts into my mobile app, but it's not recognizing the datacontract attribute.  I guess that's not supported in the compact framework.  How do I go about that doing this in the compact framework?  Thanks for your help.


    CEDeveloper

    Thursday, July 4, 2013 5:29 PM
  • Ahh... that makes things a bit more difficult. Try using this JSON Serializer: http://jsoncf.codeplex.com/

    http://rbrundritt.wordpress.com

    Friday, July 5, 2013 11:53 AM