1 CSCE 5013: Hot Topics in Mobile and Pervasive Computing Nilanjan Banerjee Hot Topic in Mobile and Pervasive Computing University of Arkansas Fayetteville, AR
2 Using the GPS device absolute location (lat, long) Your phone has a GPS receiver –Consumes high power ( mW) –With a large number of satellite fixes, accuracy can be less than 10 m –Since it is a receiver, need line of sight with the sky –Does not work indoors or in urban canyons (e.g, NYC)
3 What do you get from a GPS receiver In addition to latitude and longitude –Altitude –Vertical and horizontal accuracy –Speed –The concept used is called AGPS Augmented GPS GPS + cell tower localization Faster than GPS since it takes a long time for a GPS unit to get a fix from cold start
4 How does these technologies work (triangulation) a b c Satellite 1 Satellite 2Satellite 3 You accuracy proportional to the number of satellite fixed
API to GPS unit in WM7 phone System.Device.Location Class called GeoCoordinateWatcher Associated event: PositionChanged Function: start()
A more interesting application: Using Bing Maps and location Step 1: create a BingMap account ( Generate a key which will act as your credential Step 2: Install the Silverlight Bing Map Control SDK ID=beb29d27-6f0c-494f-b028-1e0e3187e830 To your project add a reference to Microsoft.Maps.MapControl Microsoft.Maps.MapControl.Common Add a using Microsoft.Phone.Controls.Maps Cool thing about Silverlight BingMap control is that Maps can be dragged and dropped on to the Visual Studio xaml file Lets write some code !!
7 Next class Reviews due for the following paper Talk about how to use the microphone unit Discuss LOC-1, LOC-2