Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Windows Phone 7.5: Building Location-aware Applications
Windows Phone 7.5: Building Location-aware Applications

Windows Phone 7.5: Building Location-aware Applications: Build your first Windows Phone application with Location and Maps with this book and ebook.

eBook
Mex$179.99 Mex$360.99
Paperback
Mex$451.99
Subscription
Free Trial

What do you get with Print?

Product feature icon Instant access to your digital eBook copy whilst your Print order is Shipped
Product feature icon Paperback book shipped to your preferred address
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Shipping Address

Billing Address

Shipping Methods
Table of content icon View table of contents Preview book icon Preview Book

Windows Phone 7.5: Building Location-aware Applications

Chapter 1. The Location-based World

Location-based services (LBS) are pioneering and revolutionary services that have taken the Internet world by storm. The exponential growth of smartphones has led to increased demands for location-aware apps. The popular technology news blog Gigaom.com predicts that by the year 2016, LBS will be worth $10 billion. You can read the full report at:

http://gigaom.com/2011/06/09/location-based-services-worth-10b-by-2016/

Location-based services are a revolutionary, yet still fresh-from-the-oven, breed of services that have grown tremendously to carve themselves a new industry in just a few years. LBS is the next stage of evolution for search, on the Web and mobile, adding the location context (where am I or things around me?) to search. To quote from Wikipedia on the definition of LBS:

"A location-based service (LBS) is an information and entertainment service, accessible with mobile devices through the mobile network and utilizing the ability to make use of the geographical position (read Geocodes or Latitude / Longitude) of the mobile device."

You may have already used LBS when you use Twitter, Facebook, or when you visit hyperlocal web pages such as CitySeekr.com, Yelp.com, Qype.co.uk, and Eventful.com to find the top venues in the city or events happening in your city. Want to know how location is determined? Continue reading the chapter to understand the different methods of location detection, and which one is the right choice for you.

In this chapter we shall understand:

  • Location-based services

  • Buzzwords in the LBS industry

  • Applications of LBS and common use cases

  • How Microsoft uses LBS in Windows Phone 7.5 devices

  • Global Positioning System (GPS)

  • Indoor and outdoor navigation with GPS

Understanding location-based services

The concept of location-based services refers to services that integrate a mobile device's location with other topical information, to provide additional value to users. Consider a weather app that shows weather information for all of the United States of America cities. For a user living in San Francisco, this behemoth of information is not very helpful unless he can see the exact weather information for his city. This is achieved by mashing up the weather information with the user's location (generally obtained using a GPS system).

Another example of LBS is local search websites such as CitySeekr.com that presents a user with hyperlocal (read local, nearby, or neighborhood-centered) information about hotels, restaurants, shopping and entertainment venues that makes the user feel connected with the type of information shown to him/her. Still another example is the integrated Bing search in your Windows Phone 7.5 based phone (Nokia Lumia 800 in our case), which fetches the search request for hotels in san francisco with the location angle as well as regular web and image search, as shown in the following screenshot:

The core requirement for LBS is GPS (this will be covered in more detail shortly), a space-based satellite navigation system developed and maintained by the United States of America. Other countries also have similar systems; Russia has the Russian Global Navigation Satellite System (GLONASS) and Europe has the Galileo positioning system. India and China are working on their own positioning system as well, but GPS remains the most popular and preferred choice for device makers and application developers worldwide.

Anyone can use GPS freely by using either a Personal Navigation Device (Garmin, TomTom), an in-car navigation system (Ford SYNC), or using a smartphone.

On the mobile front, LBS also uses Bing, Google Maps, and other cartographic API services extensively (even in cases where the device does not support GPS). This is done using rich map data and geocoding services. Using geocoding and smart algorithms, a user's position can be guessed or approximated. Mobile operating systems such as Windows Phone 7.5 further the cause of LBS by integrating location into the core OS, where the location can be fetched, used, and updated by all applications.

Microsoft Windows Phone 7.5 (code name Mango) supports a Location Service Architecture that can obtain location data from the cellular network, Assisted GPS (A-GPS) that uses the network's data connection in case of weak GPS signals, as well as Microsoft's own Wi-Fi location database providing developers with a plethora of location tools and APIs to work with.

In short, LBS can be described as a combination of two services: location providers and location consumers, with GPS, A-GPS, and Windows Phone 7.5 Location API as the location providers, and GPS receivers, Windows Phone 7.5 devices, and websites as the consumers of location data.

Understanding location-based services


The concept of location-based services refers to services that integrate a mobile device's location with other topical information, to provide additional value to users. Consider a weather app that shows weather information for all of the United States of America cities. For a user living in San Francisco, this behemoth of information is not very helpful unless he can see the exact weather information for his city. This is achieved by mashing up the weather information with the user's location (generally obtained using a GPS system).

Another example of LBS is local search websites such as CitySeekr.com that presents a user with hyperlocal (read local, nearby, or neighborhood-centered) information about hotels, restaurants, shopping and entertainment venues that makes the user feel connected with the type of information shown to him/her. Still another example is the integrated Bing search in your Windows Phone 7.5 based phone (Nokia Lumia 800 in our case), which fetches the search request for hotels in san francisco with the location angle as well as regular web and image search, as shown in the following screenshot:

The core requirement for LBS is GPS (this will be covered in more detail shortly), a space-based satellite navigation system developed and maintained by the United States of America. Other countries also have similar systems; Russia has the Russian Global Navigation Satellite System (GLONASS) and Europe has the Galileo positioning system. India and China are working on their own positioning system as well, but GPS remains the most popular and preferred choice for device makers and application developers worldwide.

Anyone can use GPS freely by using either a Personal Navigation Device (Garmin, TomTom), an in-car navigation system (Ford SYNC), or using a smartphone.

On the mobile front, LBS also uses Bing, Google Maps, and other cartographic API services extensively (even in cases where the device does not support GPS). This is done using rich map data and geocoding services. Using geocoding and smart algorithms, a user's position can be guessed or approximated. Mobile operating systems such as Windows Phone 7.5 further the cause of LBS by integrating location into the core OS, where the location can be fetched, used, and updated by all applications.

Microsoft Windows Phone 7.5 (code name Mango) supports a Location Service Architecture that can obtain location data from the cellular network, Assisted GPS (A-GPS) that uses the network's data connection in case of weak GPS signals, as well as Microsoft's own Wi-Fi location database providing developers with a plethora of location tools and APIs to work with.

In short, LBS can be described as a combination of two services: location providers and location consumers, with GPS, A-GPS, and Windows Phone 7.5 Location API as the location providers, and GPS receivers, Windows Phone 7.5 devices, and websites as the consumers of location data.

Buzzwords in the location-based industry


As the book deals with Windows Phone location-aware apps, it is a good time to understand the following buzzwords and key terms used in the location-based industry:

  • Global Positioning System (GPS): A satellite system that provides global navigation data including location and time.

  • Global Navigation Satellite System (GLONASS): Russian navigation system.

  • Assisted GPS (A-GPS): A mobile network assisted GPS system that uses the mobile network as a fall-back in areas of poor GPS coverage.

  • Geographic Information System (GIS): A system for storing, processing, and retrieving geographically-aware data, in addition to using user interface (usually raster map images) for easier management. A GIS typically involves both hardware and software.

  • Spatial database: A database management system that is used for storing, querying, and fetching geotagged data, used in conjunction with GIS for data management.

  • Geocodes: The latitude and longitude pair used to refer to a point on the earth's surface.

  • Geocoding: The process of converting text addresses to geocodes using geocoding services such as GeoNames or Bing Maps API.

  • Reverse geocoding: The process of converting geocodes to text addresses.

  • Geofencing: The process of device-based alerts or notifications when entering a virtual geographical area. This geographic area can be a block, a lane, a neighborhood, a city, and so on, based on the application logic.

  • Check-ins: These have been made popular by startup companies such as Foursquare and Footfeed. Checking-in refers to the process of confirming that you actually entered/checked-in to a place via a mobile phone app.

  • Geotagging: The process of assigning geocodes (latitude-longitude pair values) to any news article, blog post, twitter tweet, or any other web action so that the location-based searches can be performed on them.

  • Location-based advertising (LBA): A new paradigm in web and mobile ads that are triggered by the location of the mobile device. Location-specific adverts for deals, events, movies, shopping, and restaurants offers are all possible with LBA.

  • Augmented reality (AR): AR is an exciting visual manipulation (augmentation) of the real-world environment (usually captured via mobile phone camera), combined with computer-generated (location-based) multimedia elements (pictures, audio, videos, 3D animation) usually in real time, giving users the perception of superimposition of computer-generated elements onto the real world.

  • HTML5: The new version of the HyperText Markup Language that is under heavy development at W3C, and at browser companies such as Mozilla, Apple, Google, and Microsoft. HTML5 is poised to bring in a new and better way of writing HTML pages using standardized tags, which not only helps the web developers maintain code reusability but also makes it easy for search engines to semantically extract information from such HTML5 websites.

Applications of LBS and common use cases


The primary use of location-based services combined with GPS was and will remain the same: Navigation. There are new and exciting (and sometimes crazy!) ideas being implemented using LBS every other day. Research and Markets (http://www.researchandmarkets.com/) has predicted a market of US $10 billion for the LBS industry in 2015, from $2.8 billion in 2010. GigaOM (http://gigaom.com), a technology blog by Silicon Alley veteran Om Malik, has similar views on the LBS industry. Each year new location-based startup companies are being formed to bridge the gap between the vast information on the Internet and its availability for the local consumers/users.

Government and military, navigation, commercial industries such as advertising, social networks and web portals are the primary consumers of location-based services. GPS in fact was funded by the US Department of Defense (DOD) and still is maintained by DOD. It was initially designed for military use; in the late 1980s and early 1990s it was opened up for civilian use. Let us review the common use cases:

  • Military: The US military uses GPS for navigation purposes including troops' movement. Target-tracking weapons use GPS to track their targets. Military aircrafts and missiles use GPS in various forms.

  • Government: The government uses GPS for emergency services such as the US 9-1-1 service, which uses GPS to identify the caller's location quickly and provide emergency services on time.

  • Commercial: Navigational GPS units that provide car owners with directions to destinations are the biggest commercial users of GPS. Air traffic control, seaport control, freight management, car and transport tracking, and Yellow Pages data management (local search) are other commercial uses of GPS.

Note

GPS is also used for time synchronization. The precision provided by GPS improves the time data by 40 billionths of a second.

How Microsoft uses LBS in Windows Phone 7.5


Microsoft's Windows Phone 7.5 (Mango) is a fresh new approach to mobile operating systems and user interfaces. In fact Microsoft has got good reviews from every quarter of the mobile phone world. What's different with Windows Phone is the emphasis on an integrated user experience rather than apps. The Metro user interface is clean, engaging, exciting, and different. Keeping the interface relevant and inclusive for the users, Microsoft has kept location as a compulsory hardware requirement for all Windows Phone handset manufacturers. This also signifies the important role of location in current and future Windows Phones. See Hardware Specifications for Windows Phone at:

http://msdn.microsoft.com/en-us/library/ff637514(v=vs.92).aspx)

Let us now understand how Microsoft uses LBS in Windows Phone 7.5. As we learnt earlier, all WP7.5 phones have A-GPS and Wi-Fi capabilities built in the phone. This coupled with the Microsoft Location Service completes the location hardware and software required to build our location-aware apps!

Microsoft Location Service

In order to use the location APIs in your WP7.5 application, you need to include the System.Device.Location assembly in your application. Before you can use location in your app, make sure your device has location enabled; if not, you can enable it from the SETTINGS page on your WP7.5 Phone, as shown in the following screenshots from our Nokia Lumia 800:

The GeoCoordinateWatcher class is the class which exposes the Windows Phone Location Service. It contains methods for both:

  • Getting location information on demand

  • Sending location information on position change or status change

Lastly, as with all mobile phone platforms, Microsoft has bundled an excellent location sensor simulator with the Windows Phone 7.1 SDK, which can be used to simulate location via live real-time values as well as saved values as shown in the following screenshot:

Behind location-based services — GPS


Let's learn a bit more on GPS as it powers all the current LBS implementations. If you are building the next generation navigation software or your own mapping applications, it is the right time to know more about GPS and how it works, so that it helps you make key decisions for your application.

GPS has three major components as shown in the next diagram (diagram courtesy Jörg Roth: http://www.wireless-earth.de/jr_eng.html): user segment (GPS receivers, mobile phones, car navigation units), space segment (24 satellites in orbit), and the GPS control segment having a base on Earth with the Master Control Station (MCS) in Colorado Springs, Colorado (so now you know where to head to get a clear signal!)

User segment

The user segment comprises of the GPS receivers embedded in millions of pieces of military equipment, almost all cell phones these days, aircraft and car navigation systems.

Space segment

The space segment comprises of the satellites orbiting Earth. The 24 satellites move in six different orbits around Earth at a distance of 20,200 km.

The satellites move in a manner that at every point of the earth's surface at least five and at most eleven satellites are visible over the horizon, for maximum accuracy.

Control segment

The control segment is the base on earth that controls the functioning of the GPS satellites and passes on the administrative commands such as correcting the satellite orbit and internal data. Several monitoring stations receive the satellite signals based on their location; they are synced with atomic clocks to calculate the correction data. This corrected data is then sent to the Master Control Station.

Push and pull methods of location services


Location-based service implementations are either based on push services or pull services, depending on the way location information is retrieved.

Push service

Push services imply that the user receives location information without having to actively or continuously keep requesting it. However, the user's consent is acquired beforehand. For example, the navigation software in your car will require your consent to use your location information when you switch it on, however, as you drive your car around town, your new location will automatically be acquired via push services.

Some more examples of push services include the Emergency Alert System (in case of terror attacks) and location-based advertising apps on your phone that notify you with deals, messages, and alerts on entering a new city or town.

Pull service

Pull services work on the on demand principle; your apps would request location information from the network on demand. For example, if you use the Local Scout app (http://www.microsoft.com/windowsphone/en-us/howto/wp7/web/local-scout.aspx) on your Nokia Lumia 800, the Windows Phone 7.5 OS would request location information when it loads. Also you can change the location via the Settings page of the app. This way, the application pulls location information when it needs to, and not continuously.

In the forthcoming chapters, we will be building apps mostly using the pull services, including a local news app and an events app that will pull location information on demand, and mash it with information retrieved via web services.

Note

This type of location retrieval is also good for the battery power consumption of your phone, as GPS positioning involves a significant amount of battery power.

Life without GPS: Wi-Fi based location detection


There are alternate ways to detect location from mobile phone devices using their Wi-Fi MAC addresses (access points that connect to the internet) to determine/approximate the user's location.

Wi-Fi based positioning returns the approximate location, which may not be the exact latitude-longitude pair, but it does not provide a high level of precision.

Companies such as Skyhook Wireless and Google (with Google Latitude) were the first to provide this service. Microsoft launched a similar service under the "Managed Driving" name in July 2011, which uses cars driven around cities collecting Wi-Fi information broadcasted by public Wi-Fi access points. This coupled with location obtained from Windows mobile devices completes the data aggregation loop for Microsoft's own positioning database.

Skyhook Wireless location is pretty much public, with provisions for end users to add their location data to its database via a web interface, which is then available to all implementations of Skyhook wireless API users. Their database uses over 250 million Wi-Fi access points and cellular tower information for location analysis. Skyhook deploys data collection vehicles to conduct the access point survey, similarly to the Google Street View cars. The accuracy provided by Skyhook Wireless is 10 meters. To know more about Skyhook Wireless coverage go to:

http://www.skyhookwireless.com/howitworks/coverage.php

To get an idea on how Skyhook Wireless works:

  1. 1. Visit http://loki.com/findme.

  2. 2. Install the Java add-on it prompts.

  3. 3. Wait for a few seconds and you should see your location detected; if not you can submit your Wi-Fi Access Point to Skyhook Wireless at:

    http://www.skyhookwireless.com/howitworks/submit_ap.php

The following screenshot shows my location on loki.com:

Life without GPS: Cell-ID positioning and cell tower triangulation


Low-cost or price-sensitive mobile phones often come without GPS or Wi-Fi. These phones are meant to do what mobile phones are intended to be used for Talk. However, location of the user can still be detected on such phones using cellular towers. Cell-ID positioning and cell tower triangulation are two different ways to get location information from cell towers. Cell-ID result accuracy is only 200-1000 meters; hence it is used as the last option for most location-detection methodologies.

Cell-ID positioning uses your mobile network's cell tower to find your location. This involves the nearest tower to which your phone connects when you place calls. Cell tower triangulation on the other hand uses all the cellular towers around you to calculate your position, based on the signal strength your phone receives from each of the towers. Triangulation is more accurate, however it is a slower process.

Note

It is important to acknowledge privacy and security issues for end users while developing your applications and choosing the type of location-detection and storage. In July 2001, CNET discovered that Microsoft had collected the location data from millions of smartphones, laptops, and other Wi-Fi devices, which was easily accessible on the Web (http://news.cnet.com/8301-31921_3-20085028-281/microsofts-web-map-exposes-phone-pc-locations/). Microsoft rectified it in response to the CNET report (http://arstechnica.com/microsoft/news/2011/08/microsoft-locks-down-wi-fi-location-service-after-privacy-concerns.ars) but this has been an eye-opener for user privacy and security watchers.

Life without GPS: Bing Maps API


Bing Maps provides a REST API for creating a static map with pushpins, geocoding an address, and creating routes. There are a plethora of options available for Microsoft lovers (http://msdn.microsoft.com/en-us/library/dd877180.aspx) ranging from Ajax controls to iOS controls for using Bing Maps in your application. We will, however, use the REST API to determine the user's location (when Wi-Fi and cellular radio is not available to determine location).

Specifically we will use the Bing Maps API to convert a user address into location; this process is known as geocoding, as described earlier. Bing Maps uses these coordinates to plot the locations on a map. The Bing Maps API provides an option for both geocoding and reverse geocoding.

To illustrate a simple REST API call from the Bing Maps API that finds location by a given address, see http://msdn.microsoft.com/en-us/library/ff701715.aspx. The Geocoding API is consumed by the following API call:

http://dev.virtualearth.net/REST/v1/Locations/US/adminDistrict/postalCode/locality/addressLine?includeNeighborhood=includeNeighborhood&key=BingMapsKey, where the output can be either JSON or XML, and the parameters can be either of the following:

Parameters

Description

adminDistrict

Typically a US state.

postalCode

US zip code.

Locality

City name.

addressLine

Street address.

includeNeighborhood

For including neighborhood data in response. This value can be either 0 or 1.

BingMapsKey

Key obtained from https://www.bingmapsportal.com/.

An example geocoding request for Microsoft Corporation office at Mountain View, San Francisco, CA, USA is constructed as:

http://dev.virtualearth.net/REST/v1/Locations/US/CA/94043/San Francisco/1065 La Avenida St?o=xml&key=xxxxxxxxxxxxxxxx, where xxxxxxxxxxxxxxxx is the Bing Maps API key you obtained from https://www.bingmapsportal.com/. This API call returns the following results:

Our interest lies is in the<Latitude> and<Longitude> XML nodes, which hold the location value for the address we specified. If you do not have the exact address, you can use the Find a location by Query API call of the Bing Maps API, where the input can be any query string. Depending upon your app's targeted region, construct the right REST call. As they say, "Read the documentation carefully".

Understanding indoor and outdoor navigation


Navigation functionality in cars, airplanes, railways, and mobile phones is mostly optimized for on-the-move functionality. It assumes that the user of such services tends to exhibit movement from one place to another with time. This is classified as outdoor navigation, implying navigation done outside homes, offices, malls, and any place not confined to a building or large area.

This is where indoor navigation sets in. Although GPS and other positioning systems have high coverage and accuracy, they fail when you are indoors, in a mall, or a shopping complex; even airport lounges, stadiums, and office complexes because the radio signals from GPS transmitters cannot penetrate walls. Indoor navigation works in such places using techniques dissimilar to outdoor navigation; in short, there is no GPS for indoor navigation.

There are various implementations of indoor navigation, some using infrared techniques, some using radio signals (RFID), and another implementation using ultrasound. Companies like Visioglobe (http://visioglobe.com) offer an SDK for indoor navigational purposes. Another company WiFiSLAM—is building a Wi-Fi based solution. While the market for indoor navigation is quite big and the outlook for growth is very positive, the implementation and standardization is at a very nascent stage, partly due to the fact that a generic solution that fits all is not possible for indoor navigation. Also, interactive kiosks at malls, airports, and convention centers solve the problem of information management for visitors.

Summary


In this introductory chapter, we have identified how location-based services work, the buzzwords behind all things location and the importance of GPS.

Specifically, we discovered location-based services and their applications in the real world, how Microsoft uses location in its Windows Phone 7.5 devices, and GPS and non-GPS based solutions for location. We also discussed new potential in LBS markets, that of indoor navigation.

Now that we've got our feet grounded in location, we can move to the next chapter that covers Windows Phone 7.5 Location Services!

Left arrow icon Right arrow icon

Key benefits

  • Understand Location Based Services.
  • Work with Windows Phone Location Service.
  • Understand how Maps work.
  • Create a simple Map application and learn to use Geocoding, Pushpins.
  • Discover Directions with Bing Maps Directions.
  • Build two real-world windows phone applications ñ using Eventful.com and AOL Patch.com API

Description

Windows Phone 7.5 has met with some great initial reviews from all mobile critics. It is poised to be the '3rd' eco-system for mobile, joining Apple's iOS and Google's Android platform. With Microsoft and Nokia working on multiple devices based on Windows Phone, the platform is a no-brainer enterprise success. Microsoft Office, Email, Skype and a fresh new mobile operating system has been a great champion of a cause for both Microsoft and Nokia. "Windows Phone 7.5: Building Location-aware Applications" will teach you to divein to the new Windows Phone Experience. No more 600 page bibles - just the right mix of text and lots of code to get you started!"Windows Phone 7.5: Building Location-aware Applications" covers location based services and maps, and focuses on methods of location detection and maps. Powered with this information, two real-world applications are covered. In short, this is a concise book on building location aware apps for Windows Phone.

Who is this book for?

If you are a developer who wants to develop apps for the Windows Phone 7 platform, but do not know where to begin, then this book is for you. Developers working on the Android and iPhone platform wishing to port their apps on the Windows Phone ecosystem will also find this book useful. The bundled code and apps can also help a non-developer; a smart business or sales person to quickly analyze and build new applications.This book is also aimed at Managers and Architects in the News and Entertainment industry; since two giants of this industry (Eventful.com and Patch.com) are mentioned extensively within the book.

What you will learn

  • Understand all about Location Based Services and know how they are used in the Windows Phone ecosystem.
  • Work with Location Services and location simulation for Windows Phone.
  • Get to grips with Maps - Behind the scenes: How maps work.
  • Understand and work with Bing Maps and the Bing Maps Silverlight control.
  • Work with Launchers & Choosers for Windows Phone.
  • Explore BingMapsTask for Local Search and BingMapsDirections for Directions.
  • Understand Eventful.com API and build an Events App for Windows Phone.
  • Work with AOL Patch.com API and build an App using the same.
Estimated delivery fee Deliver to Mexico

Standard delivery 10 - 13 business days

Mex$149.95

Premium delivery 3 - 6 business days

Mex$299.95
(Includes tracking information)

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Jul 24, 2012
Length: 148 pages
Edition : 1st
Language : English
ISBN-13 : 9781849687249
Vendor :
Microsoft
Category :
Languages :

What do you get with Print?

Product feature icon Instant access to your digital eBook copy whilst your Print order is Shipped
Product feature icon Paperback book shipped to your preferred address
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Shipping Address

Billing Address

Shipping Methods
Estimated delivery fee Deliver to Mexico

Standard delivery 10 - 13 business days

Mex$149.95

Premium delivery 3 - 6 business days

Mex$299.95
(Includes tracking information)

Product Details

Publication date : Jul 24, 2012
Length: 148 pages
Edition : 1st
Language : English
ISBN-13 : 9781849687249
Vendor :
Microsoft
Category :
Languages :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just Mex$85 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just Mex$85 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total Mex$ 2,483.97
Windows Phone 7.5 Data Cookbook
Mex$902.99
Windows Phone 7 Silverlight Cookbook
Mex$1128.99
Windows Phone 7.5: Building Location-aware Applications
Mex$451.99
Total Mex$ 2,483.97 Stars icon
Banner background image

Table of Contents

5 Chapters
The Location-based World Chevron down icon Chevron up icon
Using Location in Windows Phone 7.5 Chevron down icon Chevron up icon
Using Maps in your Windows Phone App Chevron down icon Chevron up icon
Events App - PacktEvents Chevron down icon Chevron up icon
Location-aware News App — PacktNews Chevron down icon Chevron up icon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is the delivery time and cost of print book? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela
What is custom duty/charge? Chevron down icon Chevron up icon

Customs duty are charges levied on goods when they cross international borders. It is a tax that is imposed on imported goods. These duties are charged by special authorities and bodies created by local governments and are meant to protect local industries, economies, and businesses.

Do I have to pay customs charges for the print book order? Chevron down icon Chevron up icon

The orders shipped to the countries that are listed under EU27 will not bear custom charges. They are paid by Packt as part of the order.

List of EU27 countries: www.gov.uk/eu-eea:

A custom duty or localized taxes may be applicable on the shipment and would be charged by the recipient country outside of the EU27 which should be paid by the customer and these duties are not included in the shipping charges been charged on the order.

How do I know my custom duty charges? Chevron down icon Chevron up icon

The amount of duty payable varies greatly depending on the imported goods, the country of origin and several other factors like the total invoice amount or dimensions like weight, and other such criteria applicable in your country.

For example:

  • If you live in Mexico, and the declared value of your ordered items is over $ 50, for you to receive a package, you will have to pay additional import tax of 19% which will be $ 9.50 to the courier service.
  • Whereas if you live in Turkey, and the declared value of your ordered items is over € 22, for you to receive a package, you will have to pay additional import tax of 18% which will be € 3.96 to the courier service.
How can I cancel my order? Chevron down icon Chevron up icon

Cancellation Policy for Published Printed Books:

You can cancel any order within 1 hour of placing the order. Simply contact customercare@packt.com with your order details or payment transaction id. If your order has already started the shipment process, we will do our best to stop it. However, if it is already on the way to you then when you receive it, you can contact us at customercare@packt.com using the returns and refund process.

Please understand that Packt Publishing cannot provide refunds or cancel any order except for the cases described in our Return Policy (i.e. Packt Publishing agrees to replace your printed book because it arrives damaged or material defect in book), Packt Publishing will not accept returns.

What is your returns and refunds policy? Chevron down icon Chevron up icon

Return Policy:

We want you to be happy with your purchase from Packtpub.com. We will not hassle you with returning print books to us. If the print book you receive from us is incorrect, damaged, doesn't work or is unacceptably late, please contact Customer Relations Team on customercare@packt.com with the order number and issue details as explained below:

  1. If you ordered (eBook, Video or Print Book) incorrectly or accidentally, please contact Customer Relations Team on customercare@packt.com within one hour of placing the order and we will replace/refund you the item cost.
  2. Sadly, if your eBook or Video file is faulty or a fault occurs during the eBook or Video being made available to you, i.e. during download then you should contact Customer Relations Team within 14 days of purchase on customercare@packt.com who will be able to resolve this issue for you.
  3. You will have a choice of replacement or refund of the problem items.(damaged, defective or incorrect)
  4. Once Customer Care Team confirms that you will be refunded, you should receive the refund within 10 to 12 working days.
  5. If you are only requesting a refund of one book from a multiple order, then we will refund you the appropriate single item.
  6. Where the items were shipped under a free shipping offer, there will be no shipping costs to refund.

On the off chance your printed book arrives damaged, with book material defect, contact our Customer Relation Team on customercare@packt.com within 14 days of receipt of the book with appropriate evidence of damage and we will work with you to secure a replacement copy, if necessary. Please note that each printed book you order from us is individually made by Packt's professional book-printing partner which is on a print-on-demand basis.

What tax is charged? Chevron down icon Chevron up icon

Currently, no tax is charged on the purchase of any print book (subject to change based on the laws and regulations). A localized VAT fee is charged only to our European and UK customers on eBooks, Video and subscriptions that they buy. GST is charged to Indian customers for eBooks and video purchases.

What payment methods can I use? Chevron down icon Chevron up icon

You can pay with the following card types:

  1. Visa Debit
  2. Visa Credit
  3. MasterCard
  4. PayPal
What is the delivery time and cost of print books? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela