iPhone Location Aware Apps by Example - Beginner's Guide


iPhone Location Aware Apps by Example - Beginner's Guide
eBook: $29.99
Formats: PDF, PacktLib, ePub and Mobi formats
$25.49
save 15%!
Print + free eBook + free PacktLib access to the book: $79.98    Print cover: $49.99
$49.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Overview
Table of Contents
Author
Support
Sample Chapters
  • Gain in depth knowledge of the location-based world, using real world examples.
  • Master the new iOS 5 Location Simulator to fine tune your apps.
  • Implement the best of the Location APIs and SDKs available now and incorporate them in your apps

Book Details

Language : English
Paperback : 386 pages [ 235mm x 191mm ]
Release Date : March 2012
ISBN : 1849692246
ISBN 13 : 9781849692243
Author(s) : Zeeshan Chawdhary
Topics and Technologies : All Books, Mobile Application Development, iOS, Mobile, Beginner's Guides

Table of Contents

Preface
Chapter 1: The Location-based World
Chapter 2: The Xcoder's World
Chapter 3: Using Location in your iOS Apps—Core Location
Chapter 4: Using Maps in your iOS apps—MapKit
Chapter 5: Weather App—WeatherPackt
Chapter 6: Events App—PacktEvents
Chapter 7: Advanced Topics
Chapter 8: Local Search—PacktLocal
Chapter 9: Location Aware News—PacktNews
Chapter 10: Social Governance—TweetGovern
Appendix: Pop-Quiz Answers
Index
  • Chapter 1: The Location-based World
    • Understanding Location-based Services
    • Time for action – consuming Location-based Services with Google
    • Buzzwords in the Location-based Industry
    • Application of LBS and common use cases
      • Military
      • Government
      • Commercial
    • How Apple uses LBS in the iPhone, iPad, and iPod devices
      • iOS location API
    • Time for action – turning off Location Tracking in your iPhone
    • Behind LBS – 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
    • Time for action – using the SkyHook Wireless Loki framework to determine your location
    • Life without GPS: Google Maps API
    • Understanding Indoor and Outdoor Navigation
    • Summary
    • Chapter 2: The Xcoder's World
      • Introducing Xcode 4
      • Xcode 4: Prerequisites and features
        • Prerequisites
        • Features
      • iOS 5 and Xcode 4.2: new and notable features
        • iOS 5 new features
        • Xcode 4.2's new features
      • Transitioning from Xcode3: What you need to know
      • Time for action – installation
      • Time for action – Hello Location
      • Tools for the overnight coders: HTML5
        • PhoneGap
      • Time for action – Using PhoneGap to build a Hello Location App
      • Time for action – using Titanium Appcelerator for building the Hello Location app
      • Time for action – Hello Location with Sencha Touch
      • Exploring location-based SDKs/APIs
        • Foursquare
        • Gowalla
        • Eventful and Last.fm API – some music is always good
      • Still more tools: SimpleGeo and Factual
        • Other Notable APIs – YQL and Location Labs
      • Summary
      • Chapter 3: Using Location in your iOS Apps—Core Location
        • Core Location framework – an overview
        • Time for action – location debugging
        • Core Location Services
          • Standard location
          • Significant change
          • Region monitoring
          • Geocoding and reverse Geocoding – CLGeocoder
          • Direction using heading
        • Core Location Manager – CLLocationManager
        • Time for action – checking for location service availability
          • User authorization
        • Time for action – using Core Location with user authorization
        • The CLLocation object
        • Time for action – receiving location updates in your application
        • Time for action – boundary monitoring with Location Manager
        • Extending Hello Location for nearby events
          • Important things to know before we begin
        • Time for action – extending Hello Location for nearby events
        • Time for action – Last.fm API in your app
        • What just happened?
        • Extending Hello Location for local search
          • Important things to know before we begin
        • Time for action – building a local search app with foursquare
        • Summary
        • Chapter 4: Using Maps in your iOS apps—MapKit
          • Overview of the MapKit framework
          • Understanding map geometry
          • Time for action – using MapKit in your app
          • Time for action – using map gestures – panning and zooming
          • Annotating Maps – an overview
          • Time for action – adding annotations to your maps
          • Time for action – draggable annotations
          • Time for action – custom map annotations
          • Map overlays – an overview
          • Time for action – customizing map annotations
          • User tracking modes
          • Bonus – offline maps in your app
          • Time for action – using OpenStreetMaps with CloudMade API
          • Summary
          • Chapter 5: Weather App—WeatherPackt
            • Storing and retrieving the user's location with SQLite
            • Time for action – storing and retrieving the user's location with SQLite
            • Converting location data into city name – using Geonames API
              • A bit on GeoNames
            • Time for action – converting location data into city name
            • Consuming the WeatherBug API
              • Important things to know before we begin
            • Time for action – using WeatherBug API
            • Building your Weather App: WeatherPackt
              • Start a new Xcode project
            • Define the Home screen
            • Time for action – defining the Home screen
              • Set up a default location
              • Formatting the Weather API for display
              • The settings page
            • Bonus: building WeatherPackt with PhoneGap
            • Bonus: text-to-speech
            • Summary
            • Chapter 6: Events App—PacktEvents
              • PacktEvents: Overview and architecture
                • Architecture of PacktEvents
              • Storing and Retrieving Events with SQLite
              • Time for action – storing and retrieving events with SQLite
              • Plotting events on a map
              • Time for action – plotting events on a map
              • Filtering Events display by Event Categories
              • Time for action – filtering Events by categories
              • Using the Event Kit framework to add events to your iPhone calendar
              • Time for action – adding events to your iPhone calendar
              • Using the Twitter framework
              • Time for action – adding Twitter capabilities to your iPhone app
              • Bonus: using the Layar Player API in your app: Augmented Reality
              • Time for action – adding Augmented Reality to your iPhone app
              • PacktEvents: building the app
              • Summary
              • Chapter 7: Advanced Topics
                • Using directions with location
                  • Direction using heading
                    • Getting your app ready for direction
                    • Understanding heading using magnetometer
                • Time for action – using heading for direction in your app
                  • Direction using course
                • Time for action – using course for direction in your app
                • Core Motion: Motion Manager
                  • How to use Core Motion
                • Time for action – using MotionManager: accelerometer
                  • Core Motion conclusion
              • Background app execution
                • What apps can run in the background?
                • Background location
                • Push notifications - overview
                • Local notifications
              • Time for action – using local notifications
              • Summary
                • Chapter 8: Local Search—PacktLocal
                  • Consuming the foursquare venue API
                    • Venue categories
                  • Time for action – consuming the foursquare venue API - categories
                  • Recommended and popular venues
                  • Time for action – recommended and popular venues
                  • Search for venues
                  • Time for action – exploring the foursquare Search API
                  • Building an UI for our local search app - PacktLocal
                  • Saving venue information on the device
                  • Building the app: PacktLocal
                  • Time for action – building the app - PacktLocal
                  • Summary
                  • Chapter 9: Location Aware News—PacktNews
                    • Understanding the Patch News API – HyperLocal News
                      • Authentication
                      • Taxonomy
                        • Vertical
                        • Format
                        • Author
                      • Finding stories by location
                      • Find location by names
                    • Time for action – consuming the Patch News API
                      • Adding the Geo Fencing support
                    • Time for action – adding the Geo Fencing support
                    • Building our app - PacktNews
                      • A bit on StoryBoard
                    • Time for action – building PacktNews
                    • Summary
                    • Chapter 10: Social Governance—TweetGovern
                      • Social governance – an overview
                      • TweetGovern – behind the scenes
                        • Stackmob
                        • Our approach: Twitter
                        • Icons and images
                        • SDKs and frameworks
                      • Time for action – creating the UI for TweetGovern
                      • Time for action – detecting the user location and showing nearby issues
                      • Time for action – creating and voting for an issue
                      • Summary

                      Zeeshan Chawdhary

                      Zeeshan Chawdhary has over 8 years of experience in the web, mobile, and location-based services space. With a career spanning from developing 3D mobile game development at IndiaGames to leading a location-based travel startup at iCityConcierge Ltd - as the chief technology officer, Zeeshan has been able to work on a lot of exciting technologies – with the focus on cutting edge travel technology. Among the key achievements Zeeshan has pioneered is the right mix of using Open Source and Proprietary software to create a technology stack based on the client’s need. He has developed location-based solutions for Nokia (for millions of 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 like Foursquare to hotel industry big-wigs like Marriott; from mobile giant Nokia to Airline king American Airlines, he has worked with them all. Zeeshan Chawdhary currently serves as the CTO of iCityConcierge Ltd., where he is currently working on creating the best personalized travel experience for travellers. He can be reached on Google at imzeeshanc@gmail.com
                      Sorry, we don't have any reviews for this title yet.

                      Code Downloads

                      Download the code and support files for this book.


                      Submit Errata

                      Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

                      Sample chapters

                      You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

                      Frequently bought together

                      iPhone Location Aware Apps by Example - Beginner's Guide +    Documentum Content Management Foundations: EMC Proven Professional Certification Exam E20-120 Study Guide =
                      50% Off
                      the second eBook
                      Price for both: $31.20

                      Buy both these recommended eBooks together and get 50% off the cheapest eBook.

                      What you will learn from this book

                      • Learn everything about Location Based Services from concept to implementation in the real world.
                      • Build your own Foursquare type app using the Foursquare API.
                      • Discover Core Location and different techniques of location detection.
                      • Explore the MapKit and 3rd Party Maps API with OpenStreetMaps
                      • Build your own weather app, with Text to Speech.
                      • Build your own events App, with EventKit and augmented reality.
                      • Create a location based news App using AOL Patch News API
                      • Create a social governance app from scratch.

                      In Detail

                      From weather apps which give you a forecast based on your current location to fitness apps which track your speed and distance travelled. From Google Maps to Foursquare. Increasing mobility and social networking has made location awareness an integral aspect of modern iPhone applications.

                      This book will teach you everything you need to know about building iPhone location aware apps, from simple Google maps to complex region monitoring and augmented reality. Build five real world location aware apps and get a taste of HTML5-based mobile app development.

                      The book begins by explaining behind-the-scenes working of location-based systems, including GPS. Explore in depth iOS Core Location and the MapKit Framework, using examples depicting each capability of the respective frameworks. Having learnt about location and maps, you will build five location-based apps using the APIs and SDKs publicly available. The book has everything for a beginner as well as advanced users, with chapters devoted to advanced topics such as push notifications, geo fencing and augmented reality.

                      Approach

                      Using a By example approach you will master the essentials of location awareness and augmented reality by building five complete apps using easy to follow step by step instructions geared towards newcomers.

                      Who this book is for

                      Novice to professional level iOS programmers who want to master location awareness and augmented reality. Build five practical location-based iOS Apps from scratch, a first for any book, converting learning into actual implementation.

                      Code Download and Errata
                      Packt Anytime, Anywhere
                      Register Books
                      Print Upgrades
                      eBook Downloads
                      Video Support
                      Contact Us
                      Awards Voting Nominations Previous Winners
                      Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
                      Resources
                      Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software