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
Arrow up icon
GO TO TOP
Windows Phone 7.5: Building Location-aware Applications

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

Arrow left icon
Product type Paperback
Published in Jul 2012
Publisher Packt
ISBN-13 9781849687249
Length 148 pages
Edition 1st Edition
Languages
Arrow right icon
Toc

Table of Contents (11) Chapters Close

Windows Phone 7.5: Building Location-aware Applications
Credits
About the Author
About the Reviewers
1. www.PacktPub.com
2. Preface
1. The Location-based World FREE CHAPTER 2. Using Location in Windows Phone 7.5 3. Using Maps in your Windows Phone App 4. Events App - PacktEvents 5. Location-aware News App — PacktNews

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.

You have been reading a chapter from
Windows Phone 7.5: Building Location-aware Applications
Published in: Jul 2012
Publisher: Packt
ISBN-13: 9781849687249
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image