Jump in and build working Android apps with the help of more than 230 tested recipes. The second edition of this acclaimed cookbook includes recipes for working with user interfaces, multitouch gestures, location awareness, web services, and specific device features such as the phone, camera, and accelerometer. You also get useful info on packaging your app for the Google Play Market.Ideal for developers familiar with Java, Android basics, and the Java SE API, this book features recipes contributed by more than three dozen Android developers. Each recipe provides a clear solution and sample code you can use in your project right away. Among numerous topics, this cookbook helps you:
Get started with the tooling you need for developing and testing Android apps
Create layouts with Android’s UI controls, graphical services, and pop-up mechanisms
Build location-aware services on Google Maps and OpenStreetMap
Control aspects of Android’s music, video, and other multimedia capabilities
Work with accelerometers and other Android sensors
Use various gaming and animation frameworks
Store and retrieve persistent data in files and embedded databases
Access RESTful web services with JSON and other formats
Test and troubleshoot individual components and your entire application
Contents
Chapter 1. Getting Started
Chapter 2. Designing a Successful Application
Chapter 3. Application Testing
Chapter 4. Inter-/Intra-Process Communication
Chapter 5. Graphics
Chapter 6. Graphical User Interface
Chapter 7. GUI Alerts: Menus, Dialogs, Toasts, Snackbars, and Notifications
Chapter 8. Other GUI Elements: Lists and Views
Chapter 9. Multimedia
Chapter 10. Data Persistence
Chapter 11. Telephone Applications
Chapter 12. Networked Applications
Chapter 13. Gaming and Animation
Chapter 14. Social Networking
Chapter 15. Location and Map Applications
Chapter 16. Accelerometer
Chapter 17. Bluetooth
Chapter 18. System and Device Control
Chapter 19. All the World’s Not Java: Other Programming Languages and Frameworks
Chapter 20. All the World’s Not English: Strings and Internationalization
Chapter 21. Packaging, Deploying, and Distributing/Selling Your App
Book Details
Publisher: O'Reilly Media By: Ian F. Darwin Language: English File size: 24.3 MB File format: PDF