views:

40

answers:

1

Here's my scenario: say a GPS device is in a car, how can I (e.g. a remote Silverlight client) communicate with that GPS device to track it via a map, e.g. Bing Maps? Is there a way for a GPS devices to 'push' messages to my Silverlight application or vice versa the GPS devices (maybe WP7 device) push notifications to the SL application?

Thank you for any and all device!

+1  A: 

Your application requires -

  1. Pushing location data to an online service (a WCF service, for example) while plotting the data on a Bing map in your Windows Phone 7 application

  2. You require your online service to push data to your Windows Phone 7 application.

For # 1, you can use Location services in your Windows Phone 7 application and use WebClient/HttpWebRequest to update an online WCF service. Note that you need to disable the lock screen (after asking permission from the user) while your application is running. For # 2, you can use Push Notifications in your application. When the application starts, you can setup push notifications (after asking permission for the user). While the application is running, toast notifications can be sent to the application. You may also setup your application to receive tile notifications when the application is not running.

If you are interested to find out more about Location Services, Bing Maps, Push Notifications and building WP7 applications, have a look at the list of resources I maintain here. I hope this will help you in building your application!

indyfromoz

indyfromoz
Wow, perfect! Thanks indyfromoz!