
Native Mobile Development
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
More details
Other editions
Additional editions

Content
- 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
System requirements
File format: ePUB
Copy protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (not Kindle).
The file format ePub works well for novels and non-fiction books – i.e., „flowing” text without complex layout. On an e-reader or smartphone, line and page breaks automatically adjust to fit the small displays.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our ebook Help page.