You are previewing Pro iOS Geo: Building Apps with Location Based Services.
O'Reilly logo
Pro iOS Geo: Building Apps with Location Based Services

Book Description

Deepen your app development skills with Pro iOS Geo. This book shows you how to use geolocation-based tools to enhance the iOS apps you develop. Author Giacomo Andreucci describes different ways to integrate geo services, depending on the kind of app you're looking to develop: a web app, a hybrid app, or a native app. You'll discover how to use the Google Maps API features to integrate powerful geo capabilities in your apps with a little effort.

You'll learn how to:

  • Design geographic features for your apps while respecting usability criteria

  • Design touristic geo apps

  • Use HTML5 and the Google Maps JavaScript API to implement powerful geo functions in your apps

  • Use Google Fusion Tables to display and query data in your maps

  • Transform your geo web apps into hybrid apps that can be submitted to the Apple App Store

  • Create native iOS geo apps using the new Apple Maps data through the Map Kit API

After reading Pro iOS Geo, you'll have the knowledge and skills you need to add a geo dimension to all your apps, whether as a feature of a larger app— such as a social networking app that shows where friends are located in a selected area—or as the primary part of an app—such as a guide app that shows the monuments in your city.

What you'll learn

  • Design geographic features for your apps while respecting usability criteria

  • Design touristic geo apps

  • Use HTML5 and the Google Maps JavaScript API to implement powerful geo functions in your apps

  • Use Google Fusion Tables to display and query data in your maps

  • Transform your geo web apps into hybrid apps that can be submitted to the Apple App Store Create native iOS geo apps using the new Apple Maps data through the Map Kit API

Who this book is for

This book is for experienced iOS app developers looking to learn, use and integrate various geo-location based tools and APIs.

Table of Contents

  1. Title Page
  2. Dedication
  3. Contents at a Glance
  4. Contents
  5. About the Author
  6. About the Technical Reviewer
  7. Acknowledgments
  8. Introduction
  9. Part 1: Introduction
    1. Chapter 1: Getting started
      1. Comparing Desktop Computer Maps and Mobile Maps
      2. Reviewing Mobile Geo Apps Services
      3. Designing Guidelines for Optimal Usability of Map-Based Apps
      4. The Primary Options to Develop Map-Based Apps for iOS
      5. Testing Map-Based Apps
      6. Summary
  10. Part 2: Web Apps
    1. Chapter 2: Map-based Web App Basics: Hello World
      1. Reviewing the Resources
      2. Hello World
      3. Summary
    2. Chapter 3: Map Controls and Styles
      1. Using Map Controls
      2. Creating Custom Controls on the Map
      3. Some Final Recommendations When Using Styles
      4. Summary
    3. Chapter 4: Creating a GUI for the App with jQuery Mobile
      1. What is jQuery Mobile?
      2. Setting Up the Project
      3. Implementing jQuery Mobile in Our App
      4. Showing a Splash Screen While Tiles Are Loading
      5. Specifying a Launch Image
      6. Complete Code
      7. Summary
    4. Chapter 5: Overlays
      1. General Methods For Manipulating Overlays
      2. Three Methods to Display POIs On a Map
      3. Summary
    5. Chapter 6: Implementing Geolocation
      1. Understanding Geolocation
      2. Implementing the W3C Geolocation API
      3. Putting Things Together
      4. Promoting and Maintaining Your App
      5. Summary
  11. Part 3: Hybrid Apps
    1. Chapter 7: Creating Hybrid Apps
      1. Creating a Hybrid App With Xcode
      2. Creating a Web View (UIWebView)
      3. Checking for an Internet Connection
      4. Open Links in an External App
      5. Adding App Icon and Launch Image for the App Store
      6. Using PhoneGap
      7. Summary
  12. Part 4: Native Apps with Apple Map Kit
    1. Chapter 8: Introduction to the Core Location Framework
      1. Main Core Location Services
      2. Setting Up the Framework
      3. The Standard Location Service
      4. The Significant-Change Location Service
      5. The CLLocation class
      6. Region Monitoring and Direction-Related Events
      7. What Happens When Location Services Are Disabled?
      8. Summary
    2. Chapter 9: Introduction to Apple Maps and the Map Kit Framework
      1. Apple Maps vs. Google Maps
      2. Getting Started with Map Kit
      3. Adding a Map View to the Project
      4. Summary
    3. Chapter 10: Displaying Objects on the Map
      1. Working with Annotations
      2. Working with Overlays
      3. Summary
    4. Appendix A: Understanding the Terms Of Service
      1. TOS for Developing Web Apps with Google Maps API
      2. TOS for Developing Hybrid and Native Apps with Xcode
  13. Index