Windows Phone 7.5: Building Location Aware Applications
()
About this ebook
Related to Windows Phone 7.5
Related ebooks
Instant PhoneGap Social App Development Rating: 0 out of 5 stars0 ratingsWindows Phone 7.5 Application Development with F# Rating: 0 out of 5 stars0 ratingsPhoneGap and AngularJS for Cross-platform Development Rating: 0 out of 5 stars0 ratingsWordPress Mobile Applications with PhoneGap Rating: 0 out of 5 stars0 ratingsPhoneGap for Enterprise Rating: 0 out of 5 stars0 ratingsPhoneGap Essentials Rating: 0 out of 5 stars0 ratingsKnockoutJS Blueprints Rating: 0 out of 5 stars0 ratingsNode.js High Performance Rating: 0 out of 5 stars0 ratingsSignalR – Real-time Application Development - Second Edition Rating: 0 out of 5 stars0 ratingsAsynchronous Android Rating: 4 out of 5 stars4/5Raspberry Pi Android Projects Rating: 0 out of 5 stars0 ratingsResponsive Design High Performance Rating: 0 out of 5 stars0 ratingsAndroid System Programming Rating: 5 out of 5 stars5/5Building UIs with Wijmo Rating: 0 out of 5 stars0 ratingsGetting Started with Python and Raspberry Pi Rating: 3 out of 5 stars3/5Xamarin 4 By Example Rating: 0 out of 5 stars0 ratingsD Web Development Rating: 0 out of 5 stars0 ratingsiOS 5 Essentials Rating: 0 out of 5 stars0 ratingsApplication Development in iOS 7 Rating: 0 out of 5 stars0 ratingsLearning Node.js for Mobile Application Development Rating: 0 out of 5 stars0 ratingsGradle for Android Rating: 0 out of 5 stars0 ratingsMastering AndEngine Game Development Rating: 0 out of 5 stars0 ratingsMastering Microsoft Forefront UAG 2010 Customization Rating: 5 out of 5 stars5/5Cocos2D Game Development Essentials Rating: 0 out of 5 stars0 ratingsAdobe Edge Quickstart Guide Rating: 0 out of 5 stars0 ratingsInstant Android Fragmentation Management How-to Rating: 0 out of 5 stars0 ratingsMastering Android Wear Application Development Rating: 0 out of 5 stars0 ratingsWindows Phone 7.5 Data Cookbook Rating: 0 out of 5 stars0 ratingsGetting Started with Microsoft Lync Server 2013 Rating: 4 out of 5 stars4/5Building Scalable Apps with Redis and Node.js Rating: 0 out of 5 stars0 ratings
Information Technology For You
How To Use Chatgpt: Using Chatgpt To Make Money Online Has Never Been This Simple Rating: 0 out of 5 stars0 ratingsHow to Write Effective Emails at Work Rating: 4 out of 5 stars4/5An Ultimate Guide to Kali Linux for Beginners Rating: 3 out of 5 stars3/5Summary of Super-Intelligence From Nick Bostrom Rating: 5 out of 5 stars5/5Panda3d 1.7 Game Developer's Cookbook Rating: 0 out of 5 stars0 ratingsSupercommunicator: Explaining the Complicated So Anyone Can Understand Rating: 3 out of 5 stars3/5Computer Science: A Concise Introduction Rating: 4 out of 5 stars4/5Windows Registry Forensics: Advanced Digital Forensic Analysis of the Windows Registry Rating: 4 out of 5 stars4/5Data Analytics for Beginners: Introduction to Data Analytics Rating: 4 out of 5 stars4/5Creating Online Courses with ChatGPT | A Step-by-Step Guide with Prompt Templates Rating: 4 out of 5 stars4/5Eleventh Hour Linux+: Exam XK0-003 Study Guide Rating: 4 out of 5 stars4/5Handbook of Digital Forensics and Investigation Rating: 4 out of 5 stars4/5Inkscape Beginner’s Guide Rating: 5 out of 5 stars5/5Computer Organization and Design: The Hardware / Software Interface Rating: 4 out of 5 stars4/5CompTIA A+ CertMike: Prepare. Practice. Pass the Test! Get Certified!: Core 1 Exam 220-1101 Rating: 0 out of 5 stars0 ratingsCybersecurity for Beginners : Learn the Fundamentals of Cybersecurity in an Easy, Step-by-Step Guide: 1 Rating: 0 out of 5 stars0 ratingsPractical Ethical Hacking from Scratch Rating: 5 out of 5 stars5/5CompTIA Network+ CertMike: Prepare. Practice. Pass the Test! Get Certified!: Exam N10-008 Rating: 0 out of 5 stars0 ratingsChatGPT: The Future of Intelligent Conversation Rating: 4 out of 5 stars4/5The Power of Pull (Review and Analysis of Hagel, Brown and Davison's Book) Rating: 5 out of 5 stars5/5Investigating Child Exploitation and Pornography: The Internet, Law and Forensic Science Rating: 5 out of 5 stars5/5Health Informatics: Practical Guide Rating: 0 out of 5 stars0 ratingsLinux Command Line and Shell Scripting Bible Rating: 3 out of 5 stars3/5SharePoint Designer Tutorial: Working with SharePoint Websites Rating: 1 out of 5 stars1/5Codeless Data Structures and Algorithms: Learn DSA Without Writing a Single Line of Code Rating: 0 out of 5 stars0 ratingsCompTIA Security +: Malware and Malware Infections Rating: 0 out of 5 stars0 ratingsThe Basics of Hacking and Penetration Testing: Ethical Hacking and Penetration Testing Made Easy Rating: 4 out of 5 stars4/5
Reviews for Windows Phone 7.5
0 ratings0 reviews
Book preview
Windows Phone 7.5 - Zeeshan Chawdhary
Table of Contents
Windows Phone 7.5: Building Location-aware Applications
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers and more
Why Subscribe?
Free Access for Packt account holders
Instant Updates on New Packt Books
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. The Location-based World
Understanding location-based services
Buzzwords in the location-based industry
Applications of LBS and common use cases
How Microsoft uses LBS in Windows Phone 7.5
Microsoft Location Service
Behind location-based services — GPS
User segment
Space segment
Control segment
Push and pull methods of location services
Push service
Pull service
Life without GPS: Wi-Fi based location detection
Life without GPS: Cell-ID positioning and cell tower triangulation
Life without GPS: Bing Maps API
Understanding indoor and outdoor navigation
Summary
2. Using Location in Windows Phone 7.5
Introduction to Windows Phone 7.5
Live Tiles
Panorama control
Pivot control
App Connect
Tools for Windows Phone 7.5 developers
Visual Studio 2010 Express for Windows Phone
Microsoft Expression Blend 4 for Windows Phone
XAML
Windows Phone Location Service
Starting and using the Location Service
Continuous monitoring of the Location Service
Working with the Windows Phone location simulator
Summary
3. Using Maps in your Windows Phone App
Understanding map geometry
Overview of the Windows Phone Bing Maps Silverlight Control
Using maps in your Windows Phone 7.5 app — Hello Maps
Using pushpins with maps
Custom map pushpins
Using an image as the pushpin
Using your own pushpin style
Handling pushpin events
Working with Bing Maps geocoding and reverse geocoding services
Launchers and Choosers — An Overview
Using directions with Bing Maps directions task
Performing local searches with BingMapsTask
Summary
4. Events App - PacktEvents
Exploring the Eventful.com API
Extending the Hello Location example for showing nearby events
Filtering events by categories
Plotting events on Bing Maps
Building the PacktEvents app using Panorama control
Summary
5. Location-aware News App — PacktNews
Understanding the Patch News API
Authentication
Taxonomy
Finding stories by location
Finding locations by name
Consuming the Patch News API — HelloNews
Building the PacktNews app using the Silverlight for Windows Phone 7.5 Pivot control
Summary
Index
Windows Phone 7.5: Building Location-aware Applications
Windows Phone 7.5: Building Location-aware Applications
Copyright © 2012 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: July 2012
Production Reference: 1120712
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street Birmingham B3 2PB, UK.
ISBN 978-1-84968-724-9
www.packtpub.com
Cover Image by Mark Holland ( <m.j.g.holland@bham.ac.uk> )
Credits
Author
Zeeshan Chawdhary
Reviewers
John Baird
Feyaerts David
I.T. Lackey
Acquisition Editor
Dilip Venkatesh
Lead Technical Editor
Arun Nadar
Technical Editor
Manmeet Singh Vasir
Copy Editor
Alfida Paiva
Project Coordinators
Kushal Bhardwaj
Michelle Quadros
Proofreaders
Chris Brown
Christopher Smith
Indexer
Rekha Nair
Production Coordinator
Aparna Bhagat
Cover Work
Aparna Bhagat
About the Author
Zeeshan Chawdhary has over six years of experience in the Web and Mobile space. With a career spanning from developing 3D mobile games at Indiagames Ltd to leading the location-based space at Wcities, Inc. as the Chief Technology Officer, Zeeshan has been able to learn quite a lot in the Mobile and Web domain and in a short space of time.
Among his key achievements is the pioneering use of the right mix of open source and proprietary software to create a technology stack based on clients' needs. He has developed location-based solutions for Nokia (with 5 million hits per year!) on a scalable cloud platform using Rackspace Cloud. He enjoys working with PHP, PostGIS, and PhoneGap. He has immense experience in making startups use location data effectively for their growth, from startups such as Foursquare to hotel industry bigwigs such as Marriott, from mobile giant Nokia to airline king American Airlines; he has worked with them all.
Zeeshan Chawdhary currently serves as the CTO of Wcities, Inc. where he is working on connected-car technologies. He can be reached at <imzeeshanc@gmail.com>.
Firstly, I am grateful to God, for he made me what I am. Coming to Earth, I would like to thank my parents, who have always been supportive of my love of books and computers. I would also like to thank my wife Sundus, who has been a great support while I wrote this book in the wee hours. I would also like to thank my brother and sister, for enduring me all these years.
About the Reviewers
John Baird is the founder of Xamlware, a professional consulting firm specializing in Silverlight and Windows Phone 7 development. John has 30 years of experience in designing, coding, and implementing software solutions.
John co-founded the Northern Delaware .Net Users Group, is heavily involved in the local .NET communities, and travels extensively, presenting to user groups, code camps, and special interest groups. John is also a four-time recipient of Microsoft's MVP award for Windows Phone 7.
Feyaerts David has worked on .NET technologies for more than three years. After completing a Bachelor's degree in Informatique and System, he worked as a Software Engineer at BizzDev (Belgium).
David works predominantly on C# and .NET, and was quickly promoted to a project leader. He works on multiple projects such as desktop applications (ERP), mobile applications (Windows Mobile and Windows Phone), ASP.NET websites, and so on.
To validate his expertise on .NET technologies, David is both a Microsoft Certified Professional Developer (MCPD) and Microsoft Certified Technology Specialist (MCTS) on Silverlight 4.
As a mobile developer for his employer he participates in development of an e-Health application for