Home Page Icon
Home Page
Table of Contents for
Images
Close
Images
by Lauren Darcey, Shane Conder, Carmen Delessio
Androidâ„¢ Application Development in 24 Hours, Sams Teach Yourself, Third Edition
About This eBook
Copyright Page
Praise for Sams Teach Yourself Androidâ„¢ Application Development in 24 Hours, Third Edition
Contents at a Glance
Table of Contents
Preface
New in the Third Edition
Who This Book Is For
How This Book Is Organized
About the Authors
Dedication
Acknowledgments
We Want to Hear from You!
Reader Services
Part I: Getting Started
Hour 1. Getting Started: Creating a Simple App
Setting Up Your Development Environment
Instantly Creating a Simple App
Understanding the Java Code and XML Layout
Running the App
Personalizing the App
Summary
Q&A
Workshop
Exercise
Hour 2. Understanding an Android Activity
Understanding an Activity
Starting an Activity
Passing Information Between Activities
Understanding Intents
Understanding the Activity Lifecycle
Summary
Q&A
Workshop
Exercises
Hour 3. Exploring an Android Project and Resources
Exploring the Android Project Files
Understanding Common Resources
Summary
Q&A
Workshop
Exercises
Hour 4. Not Just Smartphones: Supporting Tablets, TVs, and More
A Brief History of Android
Handling Device Display and Orientation
Device Features
Platform Versions and the Compatibility Package
Launching Apps on a Device
Summary
Q&A
Workshop
Exercises
Part II: User Interface
Hour 5. Using Layouts
Getting Started with Layouts
More Layout Basics with LinearLayout
Laying Out Child Views
FrameLayout
RelativeLayout
Summary
Q&A
Workshop
Exercises
Hour 6. Working with Basic UI Controls
Setting Up the Demo App
Using Input Controls
Using Controls with Adapters
ProgressBars and SeekBars
ImageViews
Summary
Q&A
Workshop
Exercise
Hour 7. ActionBar and Menu Navigation
Understanding the Options Menu
Using the Action Bar
Strategies for Using the ActionBar and Menus
Summary
Q&A
Workshop
Exercises
Hour 8. Activities and Fragments
Using Fragments Across UIs
Creating and Displaying Fragments
Using Fragments for Navigation
Fragment and Activity Interaction
Summary
Q&A
Workshop
Exercises
Hour 10. Lists, Grids, Galleries, and Flippers
ListFragments
Grids and Galleries
Using an AdapterViewFlipper
Options for Paging Controls
Summary
Q&A
Workshop
Exercise
Hour 11. App Setting: Managing Preferences
Using SharedPreferences
Setting User Preferences
Summary
Q&A
Workshop
Exercise
Part III: Data Access and Use
Hour 12. Accessing the Cloud: Working with a Remote API
Fetching Remote Data
Using and Parsing JSON-Formatted Data
Putting the Pieces Together
Checking Connectivity
Summary
Q&A
Workshop
Exercise
Hour 13. Using SQLite and File Storage
Organizing a Database with Tables
Managing Data with SQLiteOpenHelper
Adding, Updating, and Deleting Data
Querying Data and Using Cursors
Using a Database in the App
Saving an Image File
Summary
Q&A
Workshop
Exercises
Hour 14. Creating a Content Provider
Using a URI for Data Retrieval
Building a Content Provider
Using FlickrPhotoProvider in the App
Requesting a File from a Content Provider
Summary
Q&A
Workshop
Exercises
Hour 15. Loaders, CursorLoaders, and CustomAdapters
How Loaders Work
Loader Classes
Understanding Loader States
Creating Custom Adapters
Summary
Q&A
Workshop
Exercise
Hour 16. Developing a Complete App
Determining App Functionality
Developing the App
Summary
Q&A
Workshop
Exercise
Part IV: Special Topics
Hour 17. Contacts and Calendar: Accessing Device Data
All About the Calendar
Understanding Contacts
Summary
Q&A
Workshop
Exercise
Hour 18. Where Are We? Working with Location-Based Services
Determining Location
Using Geocoding Services
Using the Geo Intent
Additional Location Features
Using Google Play Services
Summary
Q&A
Workshop
Exercise
Hour 19. Bonjour, World! Localizing Your Apps
General Internationalization Principles
Working with Localization with Android
Handling Locales with Android
Using Applications to Handle Locales
Android Internationalization Strategies
Using Localization Utilities
Summary
Q&A
Workshop
Exercises
Hour 20. Say Cheese! Working with Cameras
Capturing Media
Using Intents to Take Photos and Videos
Developing a Camera App
Summary
Q&A
Workshop
Exercise
Hour 21. Media Basics: Images, Audio, and Video
Examining the ImageView Control
Bitmaps and Canvas
Using VideoViews
Playing Audio with MediaPlayer
Exploring More Media Options
Summary
Q&A
Workshop
Exercise
Hour 22. Using the Facebook SDK
About Facebook
Setting Up for Facebook Development
Using the Facebook SDK in a Project
Developing a Facebook Photo Upload App
Facebook SDK Features
Creating Libraries for Your Own Projects
Summary
Q&A
Workshop
Exercise
Part V: Wrapping Up
Hour 23. Pro Tips, Finishing Touches, and Next Steps
Responsive Apps: Using IntentService
Adding Animation
Using Open Source
Digging Deeper into Android
Summary
Q&A
Workshop
Exercise
Hour 24. Publishing Your Apps
Preparing for Release
Publishing Your App
Monetizing Your App
Summary
Q&A
Workshop
Exercise
Index
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
Images
Next
Next Chapter
Images
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset