Android for iOS Developers
Adrian Kosmaczewski
learn@akosma.training
version 1.2,
2017-06-27
Table of Contents
Colophon
Abstract
Dedication
Preface
Target Audience
How To Read This Book
Requirements
Source Code
Structure
Part 1: Introduction
1. Toolchain
1.1. TL;DR
1.2. Java
1.3. Android Application Startup
1.4. Android Studio
1.5. Kotlin
1.6. SDK Manager
1.7. AVD Manager
1.8. Gradle
1.9. Other Tools
1.10. Summary
2. Debugging
2.1. TL;DR
2.2. Enabling Exception Breakpoints
2.3. Enabling USB Debugging
2.4. Enabling WiFi Debugging
2.5. Working on the Command Line
2.6. Using logcat and PID Cat
2.7. Using NSLogger
2.8. Summary
Part 2: User Interfaces
3. User Interface
3.1. TL;DR
3.2. UI Design Guidelines
3.3. The Support Library
3.4. Activities
3.5. Intents
3.6. Fragments
3.7. Summary
4. Graphics
4.1. TL;DR
4.2. Graphics on Android
4.3. Custom Views
4.4. Persisting the State of Views
4.5. Gestures
4.6. Animations
4.7. Using PaintCode
4.8. Summary
Part 3: Managing Data
5. Networking
5.1. TL;DR
5.2. Consuming REST Web Services
5.3. Parsing JSON Data
5.4. Parsing XML Data
5.5. Displaying Data in Lists
5.6. Retrofit
5.7. Summary
6. Storage
6.1. TL;DR
6.2. Bundled Resources
6.3. Downloading Files
6.4. Saving and Reading Files Locally
6.5. Storing User Preferences
6.6. SQLite
6.7. OrmLite
6.8. Realm
6.9. Summary
Part 4: Sensors and Multimedia
7. Sensors
7.1. TL;DR
7.2. Getting a List of Sensors
7.3. Using the Accelerometer
7.4. Using the Compass
7.5. Location Information
7.6. Retrieving Address Information
7.7. Summary
8. Multimedia
8.1. TL;DR
8.2. Taking Pictures
8.3. Recording Video
8.4. Picking Images
8.5. Recording and playing audio
8.6. Speech Synthesizer
8.7. Summary
Part 5: High Quality Apps
9. Architecture
9.1. TL;DR
9.2. Principles of Good Android Architecture
9.3. Dagger
9.4. RxAndroid
9.5. Summary
10. Testing
10.1. TL;DR
10.2. Defensive Programming Techniques
10.3. The Monkey
10.4. Local Unit Testing
10.5. Instrumented Unit Testing
10.6. User Interface Testing
10.7. Code Coverage in Android Studio
10.8. Miscellaneous Tips
10.9. Summary
Part 6: Wrapping Up
11. Conclusion
Bibliography
Appendix A: Android Studio Shortcuts
Appendix B: Third Party Android Developer Tools
Appendix C: TL;DR
Appendix D: Supported Media Formats
Colophon