Windows Phone 7.5: Building Location-aware Applications - Zeeshan Chawdhary - E-Book

Windows Phone 7.5: Building Location-aware Applications E-Book

Zeeshan Chawdhary

0,0
16,79 €

-100%
Sammeln Sie Punkte in unserem Gutscheinprogramm und kaufen Sie E-Books und Hörbücher mit bis zu 100% Rabatt.

Mehr erfahren.
Beschreibung

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.

Das E-Book können Sie in Legimi-Apps oder einer beliebigen App lesen, die das folgende Format unterstützen:

EPUB
MOBI

Seitenzahl: 103

Veröffentlichungsjahr: 2012

Bewertungen
0,0
0
0
0
0
0
Mehr Informationen
Mehr Informationen
Legimi prüft nicht, ob Rezensionen von Nutzern stammen, die den betreffenden Titel tatsächlich gekauft oder gelesen/gehört haben. Wir entfernen aber gefälschte Rezensionen.



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 ( <[email protected]> )

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 <[email protected]>.

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 Windows Phone. He appreciates the Windows Phone platform as it is easy to use and provides new opportunities for design.

During this personal time, David also works independently as a developer for Windows Phone applications. At the time of writing, he was working on his ninth application.

Ian Lackey worked as a systems engineer for a St. Louis-based ISP from 1999 to 2002. At that time, he began developing web applications using ASP and migrated to ASP.NET shortly before the 2.0 release. Ian now works as a full-time developer for the Pediatrics department of Washington University's School of Medicine. He also runs a small business, DigitalSnap Inc. (http://www.digitalsnap.net), which primarily provides custom Silverlight software, LightSwitch applications, individual DotNetNuke modules (http://www.itlackey.net), as well as custom and commercial Windows Phone 7 applications.

Ian is currently involved in community-driven areas such as the OpenLight Group (http://www.openlightgroup.net), which manages open source projects including several DotNetNuke modules and many Silverlight-based applications. He has also co-authored a book with Michael Washington (Building Websites with DotNetNuke 5, Michael Washington and Ian Lackey, Packt Publishing), and was one of the reviewers for the book Windows Phone 7 Data Cookbook, Ramesh Thalli, Packt Publishing. Ian currently lives in a small town in Illinois, just east of St. Louis, with his wife Julie and two daughters, Britney and Brooklynn.

To my favorite ball player and my favorite dancer Keep doing what you love, loving what you do, and simply be your beautiful self!

www.PacktPub.com

Support files, eBooks, discount offers and more

You might want to visit www.PacktPub.com for support files and downloads related to your book.

Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at <[email protected]> for more details.

At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.

http://PacktLib.PacktPub.com

Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can access, read and search across Packt's entire library of books.

Why Subscribe?

Fully searchable across every book published by PacktCopy and paste, print and bookmark contentOn demand and accessible via web browser

Free Access for Packt account holders

If you have an account with Packt at www.PacktPub.com, you can use this to access PacktLib today and view nine entirely free books. Simply use your login credentials for immediate access.

Instant Updates on New Packt Books

Get notified! Find out when new books are published by following @PacktEnterprise on Twitter, or the Packt Enterprise Facebook page.

Preface

Windows Phone 7.5: Building Location-aware Applications, introduces you to the exciting new world of Windows Phone 7.5. This book focuses on location-based applications, by introducing the readers to location-based services and the background thereof, coupled with practical examples for the Windows Phone location services. Another important discussion in the location context is maps, which is covered in great detail, including concepts such as geocoding and map directions.

This book will quickly teach you how to build Windows Phone 7.5 applications by leveraging location, maps, and third-party APIs. Two real-world applications are covered in depth: one using the excellent Events API from Eventful.com, and the other application, which focusses on location-aware news content powered by AOL's Patch.com News API.

What this book covers

Chapter 1, The Location-based World, explains location-based services, how they work, the important role of GPS in location-based services, and how Microsoft uses them in Windows Phone.

Chapter 2, Using Location in Windows Phone 7.5, starts with an introduction to the Windows Phone ecosystem and later on covers in-depth information on the Windows Phone Location Service and the Windows Phone location simulator.

Chapter 3, Using Maps in your Windows Phone App, introduces the reader to the world of Bing Maps; from working with a simple maps application to building a complex maps app with geocoding, directions, and local search.

Chapter 4, Events App — PacktEvents, covers building an events app that shows us nearby events, concerts, and gigs by artists by using the excellent Eventful.com API. The Windows Phone Panorama control is used to build this app.

Chapter 5, Location-aware News App — PacktNews, uses the Windows Phone Pivot control to build a hyperlocal news app—powered by AOL's Patch News API.

What you need for this book

To run the examples and the apps provided in the book, you will need a Windows PC with Windows 7 or higher and Microsoft Visual Studio 2010 Express for Windows Phone.

Some examples will need an API key from Eventful.com and Patch.com; the links are duly mentioned at the beginning of the chapters having such examples.

Who this book is for

If you are a developer who wants to develop apps for the Windows Phone 7.5 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 example code files and apps present in the book can also help a non-developer, such as 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, as two giants of this industry (Eventful.com and Patch.com) are mentioned extensively within the book.

Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.