Professional Android 4 Application Development, 3rd Edition
Read it now on the O’Reilly learning platform with a 10-day free trial.
O’Reilly members get unlimited access to books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.
Book description
Developers, build mobile Android apps using Android 4
The fast-growing popularity of Android smartphones and tablets creates a huge opportunities for developers. If you're an experienced developer, you can start creating robust mobile Android apps right away with this professional guide to Android 4 application development. Written by one of Google's lead Android developer advocates, this practical book walks you through a series of hands-on projects that illustrate the features of the Android SDK. That includes all the new APIs introduced in Android 3 and 4, including building for tablets, using the Action Bar, Wi-Fi Direct, NFC Beam, and more.
- Shows experienced developers how to create mobile applications for Android smartphones and tablets
- Revised and expanded to cover all the Android SDK releases including Android 4.0 (Ice Cream Sandwich), including all updated APIs, and the latest changes to the Android platform.
- Explains new and enhanced features such as drag and drop, fragments, the action bar, enhanced multitouch support, new environmental sensor support, major improvements to the animation framework, and a range of new communications techniques including NFC and Wi-Fi direct.
- Provides practical guidance on publishing and marketing your applications, best practices for user experience, and more
This book helps you learn to master the design, lifecycle, and UI of an Android app through practical exercises, which you can then use as a basis for developing your own Android apps.
Show and hide more
Table of contents Product information
Table of contents
- Cover
- Chapter 1: Hello, Android
- A Little Background
- What Android Isn't
- Android: An Open Platform for Mobile Development
- Native Android Applications
- Android SDK Features
- Introducing the Open Handset Alliance
- What Does Android Run On?
- Why Develop for Mobile?
- Why Develop for Android?
- Introducing the Development Framework
- Developing for Android
- Developing for Mobile and Embedded Devices
- Android Development Tools
- What Makes an Android Application?
- Introducing the Application Manifest File
- Using the Manifest Editor
- Externalizing Resources
- The Android Application Lifecycle
- Understanding an Application's Priority and Its Process' States
- Introducing the Android Application Class
- A Closer Look at Android Activities
- Fundamental Android UI Design
- Android User Interface Fundamentals
- Introducing Layouts
- To-Do List Example
- Introducing Fragments
- The Android Widget Toolbox
- Creating New Views
- Introducing Adapters
- Introducing Intents
- Creating Intent Filters and Broadcast Receivers
- Downloading and Parsing Internet Resources
- Using the Download Manager
- Using Internet Services
- Connecting to Google App Engine
- Best Practices for Downloading Data Without Draining the Battery
- Saving Simple Application Data
- Creating and Saving Shared Preferences
- Retrieving Shared Preferences
- Creating a Settings Activity for the Earthquake Viewer
- Introducing the Preference Framework and the Preference Activity
- Creating a Standard Preference Activity for the Earthquake Viewer
- Persisting the Application Instance State
- Including Static Files as Resources
- Working with the File System
- Introducing Android Databases
- Introducing SQLite
- Content Values and Cursors
- Working with SQLite Databases
- Creating Content Providers
- Using Content Providers
- Adding Search to Your Application
- Creating a Searchable Earthquake Content Provider
- Native Android Content Providers
- Introducing Services
- Using Background Threads
- Using Alarms
- Using the Intent Service to Simplify the Earthquake Update Service
- Introducing the Action Bar
- Adding an Action Bar to the Earthquake Monitor
- Creating and Using Menus and Action Bar Action Items
- Refreshing the Earthquake Monitor
- Going Full Screen
- Introducing Dialogs
- Let's Make a Toast
- Introducing Notifications
- Adding Notifications and Dialogs to the Earthquake Monitor
- Designing for Every Screen Size and Density
- Ensuring Accessibility
- Introducing Android Text-to-Speech
- Using Speech Recognition
- Controlling Device Vibration
- Working with Animations
- Enhancing Your Views
- Advanced Drawable Resources
- Copy, Paste, and the Clipboard
- Using Sensors and the Sensor Manager
- Monitoring a Device's Movement and Orientation
- Introducing the Environmental Sensors
- Using Location-Based Services
- Using the Emulator with Location-Based Services
- Selecting a Location Provider
- Finding Your Current Location
- Best Practice for Location Updates
- Using Proximity Alerts
- Using the Geocoder
- Creating Map-Based Activities
- Mapping Earthquakes Example
- Introducing Home Screen Widgets
- Creating App Widgets
- Creating an Earthquake Widget
- Introducing Collection View Widgets
- Introducing Live Folders
- Surfacing Application Search Results Using the Quick Search Box
- Creating Live Wallpaper
- Playing Audio and Video
- Manipulating Raw Audio
- Creating a Sound Pool
- Using Audio Effects
- Using the Camera for Taking Pictures
- Recording Video
- Using Media Effects
- Adding Media to the Media Store
- Using Bluetooth
- Managing Network and Internet Connectivity
- Managing Wi-Fi
- Transferring Data Using Wi-Fi Direct
- Near Field Communication
- Hardware Support for Telephony
- Using Telephony
- Introducing SMS and MMS
- Introducing SIP and VOIP
- Paranoid Android
- Introducing Cloud to Device Messaging
- Implementing Copy Protection Using the License Verification Library
- Introducing In-App Billing
- Using Wake Locks
- Using AIDL to Support Inter-Process Communication for Services
- Dealing with Different Hardware and Software Availability
- Optimizing UI Performance with Strict Mode
- Signing and Publishing Applications
- Distributing Applications
- An Introduction to Monetizing Your Applications
- Application Marketing, Promotion, and Distribution Strategies
- Analytics and Referral Tracking
Show and hide more
Product information
- Title: Professional Android 4 Application Development, 3rd Edition
- Author(s): Reto Meier
- Release date: May 2012
- Publisher(s): Wrox
- ISBN: 9781118237229