Posts

Showing posts from April, 2010

Windows Phone 7 CTP - Events when the phone is locked

If you've seen my initial blog post regarding the development of a Jogging application for Windows Phone 7 then you'll have seen that I raised a concern about developing the application further. Basically I was concerned that when the phone is locked, either manually or due to a lack of activity from the end user, that the application would go into a paused state thereby rendering this type of application useless. I asked this question to Peter Torr (Microsoft Program Manager), and unfortunately this is the current behavior. On a positive note he has stated that this area is still under investigation, so fingers crossed this may get resolved prior to launch. My gut feeling is that this would be addressed as lucrative Sat Nav applications would also be affected by the same problem, unless there's a way to code around this. The full response from Peter follows: "Hi Andy, The current builds pause the application when the phone locks (not that you can really lock the em

Windows Phone 7 - Jogging Application Part 2

Image
In an earlier blog , I produced a very basic application for Windows Phone 7 that allowed joggers to track their progress of a training session on a Bing Map. The application simply plotted a map polyline whenever there was a change in the device’s location, with the changes in the devices location being raised as events by the GeoCoordinateWatcher class, which is part of the Windows Phone 7 API. Now although the user’s training session was plotted on the map, with the start and end points being identified with pushpins on the map, the application didn’t indicate to the user the total distance travelled, so to obtain this I decided to use the Route Service, which is one of the Bing Maps Web Services. Route Service As the name suggests, the route service is an API used to calculate routes between designated start and end points. In order to use the Route service, a service reference to http://dev.virtualearth.net/webservices/v1/routeservice/routeservice.svc?wsdl needs to b

Windows Phone 7 With Location Services And Bing Maps

Image
Recently Microsoft released the CTP toolkit for Windows Phone 7, available here , and I decided to produce a small application which uses the location services functionality of the phone, as well as the Silverlight Bing Maps user control. The application is aimed at joggers/runners, and simply allows users to start and end a running session and view their progress on a map. At the end of their session, the relevant start and end points are displayed on the map as pins, and the total time of the workout session along with total distance travelled is also displayed. Location Services Location services within Windows Phone 7 provides a location based api, which allows consumers to track their current geocoordinates, as well as the status of their location based device. It is worth noting that location services is not just GPS tracking, as the service can also determine a devices location from wireless networks, assisted gps etc. One of the challenges of utilising Location S