Native Mobile Development

A Cross-Reference for iOS and Android
 
 
O'Reilly (Verlag)
  • erschienen am 12. November 2019
  • |
  • 394 Seiten
 
E-Book | ePUB mit Adobe-DRM | Systemvoraussetzungen
978-1-4920-5282-1 (ISBN)
 
Learn how to make mobile native app development easier. If your team frequently works with both iOS and Androidor plans to transition from one to the otherthis hands-on guide shows you how to perform the most common development tasks in each platform. Want to learn how to make network connections in iOS? Or how to work with a database in Android? This book has you covered.In the books first part, authors Shaun Lewis and Mike Dunn from OReillys mobile engineering group provide a list of common, platform-agnostic tasks. The second part helps you create a bare-bones app in each platform, using the techniques from part one.Common file and database operationsNetwork communication with remote APIsApplication lifecycleCustom views and componentsThreading and asynchronous workUnit and integration testsConfiguring, building, and running an app on a device
  • Englisch
  • Sebastopol
  • |
  • USA
  • 6,46 MB
978-1-4920-5282-1 (9781492052821)
weitere Ausgaben werden ermittelt
  • Intro
  • Copyright
  • Table of Contents
  • Preface
  • Why We Wrote This Book
  • Who This Book Is For
  • How This Book Is Organized
  • Conventions Used in This Book
  • Using Code Examples
  • O'Reilly Online Learning
  • How to Contact Us
  • Acknowledgments
  • Part I. Tasks and Operations
  • A Note About the State of Mobile Development
  • Chapter 1. UI Controllers
  • Tasks
  • Android
  • How to Create Your App's Starting UI Controller
  • How to Change the Active UI Controller
  • Understanding the UI Controller Life Cycle
  • iOS
  • How to Create Your App's Starting UI Controller
  • How to Change the Active UI Controller
  • Understanding the Controller Life Cycle
  • What We've Learned
  • Chapter 2. Views
  • Tasks
  • Android
  • Create a New View
  • Nesting Views
  • Update a View's State
  • iOS
  • Create a New View
  • Nesting Views
  • Interface Builder to the Rescue
  • Update a View's State
  • Modifying Position
  • What We've Learned
  • Chapter 3. Custom Components
  • Tasks
  • Android
  • How to Create a Custom View
  • How to Use a Custom View
  • iOS
  • How to Create a Custom View
  • How to Use a Custom View
  • What We've Learned
  • Chapter 4. User Input
  • Tasks
  • Android
  • Receive and React to a Tap
  • Receive and React to Keyboard Input
  • Handle Compound Gestures
  • iOS
  • Receive and React to a Tap
  • Receive and React to Keyboard Input
  • Handle Compound Gestures
  • What We've Learned
  • Chapter 5. Message Passing
  • Tasks
  • Android
  • Use a Callback to React to an Operation
  • Dispatch a Message to Any Interested Subscribers
  • Listen for, and React to, Messages Dispatched Within a System
  • iOS
  • Use a Callback to React to an Operation
  • Dispatch a Message to Any Interested Subscribers
  • Listen for, and React to, Messages Dispatched Within a System
  • Closures Instead of Selectors
  • Stop Listening for Notifications
  • What We've Learned
  • Chapter 6. Files
  • Tasks
  • Android
  • Get Properties from the File Like Size or Last Modified Date
  • Read and Write Data to and from a File
  • Copy Data from One File to Another
  • iOS
  • Get Properties from the File Like Size or Last Modified Date
  • Reading and Writing Data to and from a File
  • Copy Data from One File to Another
  • What We've Learned
  • Chapter 7. Persistence
  • Tasks
  • Android
  • Establish a Database Connection
  • Create a Database Table or Persistent Object
  • Write Data to That Table or Persistent Object
  • Read Data from That Table or Persistent Object
  • iOS
  • Set Up and Connect to a Persistence Layer
  • Define and Create a Database Table or Persistent Object
  • Write and Persist Data to SQLite
  • Read Data from SQLite
  • What We've Learned
  • Chapter 8. Concurrency (Multi-Threading)
  • Tasks
  • Android
  • Perform a Task in a Background Thread
  • Act on the Results of Work Performed in the Background Thread on the Main Thread
  • Terminating a Thread
  • iOS
  • Perform a Task in a Background Thread
  • Act on the Results of Work Performed in the Background Thread on the Main Thread
  • What We've Learned
  • Chapter 9. Networking
  • Tasks
  • Android
  • Read and Print a Text File on a Remote Server
  • Make an HTTP POST Request
  • Download a Binary File
  • iOS
  • Read and Print a Text File on a Remote Server
  • Make an HTTP POST Request
  • Download a Binary File
  • What We've Learned
  • Chapter 10. User Feedback
  • Tasks
  • Android
  • Use Framework-Provided Tools to Show the User Feedback
  • Snackbar
  • Update the Status Bar
  • iOS
  • Use Framework-Provided Tools to Show the User Feedback
  • Update the Status Bar
  • What We've Learned
  • Chapter 11. User Preferences
  • Tasks
  • Android
  • Write User Preferences
  • Read User Preferences
  • Work with User Preferences in a Multiple User Application
  • iOS
  • Write User Preferences
  • Read User Preferences
  • Work with User Preferences in a Multiple User Application
  • What We've Learned
  • Chapter 12. Serialization and Transports
  • Tasks
  • Android
  • Serialize and Deserialize an Object Instance
  • iOS
  • Serialize and Deserialize an Object Instance
  • iOS Notes
  • What We've Learned
  • Chapter 13. Extensions
  • Tasks
  • Android
  • Add Functionality to Existing APIs
  • iOS
  • Add Functionality to Existing APIs
  • What We've Learned
  • Chapter 14. Testing
  • Tasks
  • Android
  • Set Up and Run Unit Tests
  • Set Up and Run Integration Tests
  • iOS
  • Set Up and Run Unit Tests
  • What We've Learned
  • Part II. Sample App
  • Chapter 15. Welcome and Environment Setup
  • Comparing Native Development to Cross-Platform Tools
  • Web-Based
  • Other
  • Environment Setup
  • Android Setup
  • iOS Setup
  • What We've Learned
  • Chapter 16. Building an App
  • Creating a New Project
  • Android Studio
  • Xcode
  • App Architecture
  • Building Our First Screen
  • Android
  • iOS
  • What We've Learned
  • Chapter 17. Listing Data in the App
  • Sprucing Up Views
  • Android
  • iOS
  • Adding a Button
  • iOS
  • Lists, Lists, and More Lists!
  • Add a New Catalog View
  • Wiring Up the Button
  • Books
  • Populating the List View
  • Android
  • iOS
  • What We've Learned
  • Chapter 18. Modeling Our Library
  • Dynamic Data in List Views
  • Android
  • iOS
  • It's Time for Our Model Objects to Get Real
  • JSON for One, JSON for All
  • Switch the Model Layer to JSON
  • Android
  • iOS
  • What We've Learned
  • Chapter 19. And Yet, We Persisted
  • Detailing Our Books
  • Android
  • iOS
  • Saving Books for Later
  • Android
  • iOS
  • Storing Books for Later
  • Android
  • iOS
  • Saving Books
  • Android
  • What We've Learned
  • Chapter 20. Networking and Our App
  • Searching the World
  • Android
  • iOS
  • Building a Search Endpoint
  • Installing Node and Express
  • Locations JSON File
  • Calling Our Service
  • Android
  • iOS
  • What We've Learned
  • Index
  • About the Authors
  • Colophon

Dateiformat: ePUB
Kopierschutz: Adobe-DRM (Digital Rights Management)

Systemvoraussetzungen:

Computer (Windows; MacOS X; Linux): Installieren Sie bereits vor dem Download die kostenlose Software Adobe Digital Editions (siehe E-Book Hilfe).

Tablet/Smartphone (Android; iOS): Installieren Sie bereits vor dem Download die kostenlose App Adobe Digital Editions (siehe E-Book Hilfe).

E-Book-Reader: Bookeen, Kobo, Pocketbook, Sony, Tolino u.v.a.m. (nicht Kindle)

Das Dateiformat ePUB ist sehr gut für Romane und Sachbücher geeignet - also für "fließenden" Text ohne komplexes Layout. Bei E-Readern oder Smartphones passt sich der Zeilen- und Seitenumbruch automatisch den kleinen Displays an. Mit Adobe-DRM wird hier ein "harter" Kopierschutz verwendet. Wenn die notwendigen Voraussetzungen nicht vorliegen, können Sie das E-Book leider nicht öffnen. Daher müssen Sie bereits vor dem Download Ihre Lese-Hardware vorbereiten.

Bitte beachten Sie bei der Verwendung der Lese-Software Adobe Digital Editions: wir empfehlen Ihnen unbedingt nach Installation der Lese-Software diese mit Ihrer persönlichen Adobe-ID zu autorisieren!

Weitere Informationen finden Sie in unserer E-Book Hilfe.


Download (sofort verfügbar)

48,99 €
inkl. 5% MwSt.
Download / Einzel-Lizenz
ePUB mit Adobe-DRM
siehe Systemvoraussetzungen
E-Book bestellen