Learning Android application programming for the Kindle Fire : a hands-on guide to building your first Android application / Lauren Darcey, Shane Conder
- Author:
- Darcey, Lauren, 1977-
- Published:
- Upper Saddle River, NJ : Addison Wesley, [2012]
- Copyright Date:
- ©2012
- Physical Description:
- xx, 327 pages : illustrations ; 23 cm
- Additional Creators:
- Conder, Shane, 1975-
- Contents:
- Machine generated contents note: I.Kindle Fire Fundamentals -- 1.Getting Started with Kindle Fire -- Introducing Android -- Google and the Open Handset Alliance -- Android Makes Its Entrance -- Cheap and Easy Development -- Familiarizing Yourself with Eclipse -- Creating Android Projects -- Exploring Your Android Project Files -- Editing Project Resources -- Running and Debugging Applications -- Managing Android Virtual Devices -- Creating Debug and Run Configurations in Eclipse -- Launching Android Applications Using the Emulator -- Debugging Android Applications Using DDMS -- Launching Android Applications on a Device -- Summary -- Exercises -- 2.Mastering the Android Development Tools -- Using the Android Documentation -- Debugging Applications with DDMS -- Managing Tasks -- Browsing the Android File System -- Taking Screenshots of the Emulator or Device -- Viewing Log Information -- Working with the Android Emulator -- Providing Input to the Emulator -- Using Other Android Tools -- Summary -- 3.Building Kindle Fire Applications -- Designing an Android Application -- Designing Application Features -- Determining Application Activity Requirements -- Implementing Application Functionality -- Using the Application Context -- Retrieving Application Resources -- Accessing Application Preferences -- Accessing Other Application Functionality Using Contexts -- Working with Activities -- Launching Activities -- Managing Activity State -- Shutting Down Activities -- Working with Intents -- Passing Information with Intents -- Using Intents to Launch Other Applications -- Working with Dialogs -- Working with Fragments -- Logging Application Information -- Summary -- Exercises -- 4.Managing Application Resources -- Using Application and System Resources -- Working with Application Resources -- Working with System Resources -- Working with Simple Resource Values -- Working with Strings -- Working with Colors -- Working with Dimensions -- Working with Drawable Resources -- Working with Images -- Working with Other Types of Drawables -- Working with Layouts -- Designing Layouts Using the Layout Resource Editor -- Designing Layouts Using XML -- Working with Files -- Working with XML Files -- Working with Raw Files -- Working with Other Types of Resources -- Summary -- Exercises -- 5.Configuring the Android Manifest File -- Exploring the Android Manifest File -- Using the Manifest Tab -- Using the Application Tab -- Using the Permissions Tab -- Using the Instrumentation Tab -- Using the AndroidManifest.xml Tab -- Configuring Basic Application Settings -- Naming Android Packages -- Versioning an Application -- Setting the Minimum Android API Version -- Naming an Application -- Providing an Icon for an Application -- Providing an Application Description -- Setting Debug Information for an Application -- Setting Other Application Attributes -- Defining Activities -- Registering Activities -- Designating the Launch Activity -- Managing Application Permissions -- Managing Other Application Settings -- Summary -- Exercises -- 6.Designing an Application Framework -- Designing an Android Trivia Game -- Determining High-Level Game Features -- Determining Activity Requirements -- Determining Screen-Specific Game Features -- Implementing an Application Prototype -- Reviewing the Accompanying Source Code -- Creating a New Android Project -- Adding Project Resources -- Implementing Application Activities -- Creating Application Preferences -- Running the Game Prototype -- Creating a Debug Configuration -- Launching the Prototype in the Emulator -- Exploring the Prototype Installation -- Summary -- Exercises -- II.Building an Application Framework -- 7.Implementing an Animated Splash Screen -- Designing the Splash Screen -- Implementing the Splash Screen Layout -- Adding New Project Resources -- Updating the Splash Screen Layout -- Working with Animation -- Adding Animation Resources -- Animating Specific Views -- Setting the Image Animations -- Handling Animation Lifecycle Events -- Summary -- Exercises -- 8.Implementing the Main Menu Screen -- Designing the Main Menu Screen -- Determining Main Menu Screen Layout Requirements -- Designing the Screen Header -- Designing the GridView Control -- Finishing Touches for the Main Menu Layout Design -- Implementing the Main Menu Screen Layout -- Adding New Project Resources -- Updating the Main Menu Screen Layout Files -- Working with the GridView Control -- Filling a GridView Control -- Listening for GridView Events -- Working with Other Menu Types -- Adding an Options Menu to the Game Screen -- Summary -- Exercises -- 9.Developing the Help and Scores Screens -- Designing the Help Screen -- Implementing the Help Screen Layout -- Adding New Project Resources -- Updating the Help Screen Layout -- Working with Files -- Adding Raw Resource Files -- Accessing Raw File Resources -- Designing the Scores Screen -- Determining Scores Screen Layout Requirements -- Adding the TabHost Control -- Implementing the Scores Screen Layout -- Adding New Project Resources -- Updating the Scores Screen Layout -- Building a Screen with Tabs -- Configuring the TabHost Control -- Adding Tabs to the TabHost Control -- Setting the Default Tab -- Working with XML -- Retrieving XML Resources -- Parsing XML Files with XmlResourceParser -- Applying Finishing Touches to the Scores Screen -- Summary -- Exercises -- 10.Collecting User Input -- Designing the Settings Screen -- Implementing the Settings Screen Layout -- Adding New Project Resources -- Updating the Settings Screen Layout -- Using Common Form Controls -- Working with EditText Controls -- Working with Spinner Controls -- Saving Form Data with SharedPreferences -- Defining SharedPreferences Entries -- Saving Settings to SharedPreferences -- Reading Settings from SharedPreferences -- Summary -- 11.Using Dialogs to Collect User Input -- Working with Activity Dialogs -- Exploring the Different Types of Dialogs -- Tracing the Lifecycle of a Dialog -- Using the DatePickerDialog Class -- Adding a DatePickerDialog to a Class -- Initializing a DatePickerDialog -- Launching DatePickerDialog -- Working with Custom Dialogs -- Adding a Custom Dialog to the Settings Screen -- Summary -- Exercises -- 12.Adding Application Logic -- Designing the Game Screen -- Implementing the Game Screen Layout -- Adding New Project Resources -- Updating the Game Screen Layout -- Working with ViewSwitcher Controls -- Initializing Switcher Controls -- Implementing Switcher Factory Classes -- Updating the TextSwitcher Control -- Updating the ImageSwitcher Control -- Wiring Up Game Logic -- Adding Game State Settings to the SharedPreferences -- Retrieving, Parsing, and Storing Book Data -- Summary -- Exercises -- 13.Adding Network Support -- Designing Network Applications -- Working with an Application Server -- Managing Lengthy Network Operations -- Informing the User of Network Activity -- Developing Network Applications -- Enabling Network Testing on the Emulator -- Testing Network Applications on Kindle Fire -- Accessing Network Services -- Planning Have You Read That? Network Support -- Setting Network Permissions -- Checking Network Status -- Using HTTP Networking -- Indicating Network Activity with Progress Bars -- Displaying Indeterminate Progress -- Displaying Determinate Progress -- Displaying Progress Dialogs -- Running Tasks Asynchronously -- Using AsyncTask -- Using Threads and Handlers -- Downloading and Displaying Score Data -- Extending AsyncTask for Score Downloads -- Starting the Progress Indicator with onPreExecute() -- Clearing the Progress Indicator with onPostExecute() -- Handling Cancellation with onCancelled() -- Handling Processing with doInBackground() -- Handling Progress Updates with onProgressUpdate() -- Starting the ScoreDownloaderTask -- Downloading and Parsing Batches of Books -- Extending AsyncTask for Book Downloads -- Starting the Progress Dialog with onPreExecute() -- Dismissing the Progress Dialog with onPostExecute() -- Handling the Background Processing -- Starting the BookListDownloaderTask -- Determining What Data to Send to the Server -- Keeping Player Data in Sync -- Uploading Settings Data to a Remote Server -- Working with Android Services -- Implementing UploadTask -- Uploading Player Data with the HTTP GET Method -- Uploading Score Data to a Remote Server -- Downloading Friends' Score Data -- Summary -- Exercises -- 14.Exploring the Amazon Web Services SDK for Android -- The 10,000-Foot View of AWS -- Exploring the AWS Offerings -- Using AWS Database and Storage Services -- Using AWS Messaging and Notification Services -- Using AWS Infrastructure and Administrative Services -- Summary -- Exercises -- III.Publishing Your Kindle Fire Application -- 15.Managing Alternative and Localized Resources -- Using the Alternative Resource Hierarchy -- Understanding How Resources Are Resolved -- Organizing Alternative Resources with Qualifiers -- Using Alternative Resources Programmatically -- Organizing Application Resources Efficiently -- Customizing the Application Experience -- Updating the Main Screen -- Updating the Splash Screen -- Updating the Game Screen -- Updating the Other Screens -- Internationalizing Android Applications -- How Android Localization Works -- How the Android Operating System Handles Locale -- How Applications Handle Locales -- How Kindle Fire Handles Locales -- Android Internationalization Strategies -- Forgoing Application Internationalization -- Limiting Application Internationalization -- Implementing Full Application Internationalization -- Using Localization Utilities -- Determining System Locale -- Formatting Strings Like Dates and Times -- Handling Currencies -- Summary -- Exercises -- 16.Testing Kindle Fire Applications -- Testing Best Practices -- Developing Coding Standards -- Performing Regular Versioned Builds -- Using a Defect Tracking System -- Developing Good Test Plans -- Maximizing Test Coverage -- and Contents note continued: Testing on the Emulator -- Testing on Target Devices -- Performing Automated Testing -- Summary -- Exercises -- 17.Registering as an Amazon Application Developer -- Understanding the Release Process -- Preparing the Release Candidate Build -- Preparing the Android Manifest File for Release -- Protecting Your Application from Software Pirates -- Readying Related Services for Release -- Testing the Application Release Candidate -- Signing Up as an Amazon App Developer -- Packaging and Signing an Application -- Digitally Signing Applications -- Exporting and Signing the Package File -- Testing the Signed Application Package -- Installing the Signed Application Package -- Verifying the Signed Application -- Summary -- Exercises -- 18.Publishing Applications on the Amazon Appstore -- Selling on the Amazon Appstore -- Signing Up for a Developer Account -- Complying with the Developer License Agreement -- Uploading an Application -- Understanding Amazon Appstore Royalties -- Using Other Developer Account Benefits -- Generating Reports -- Summary -- Exercises -- IV.Appendixes -- A.Configuring Your Android Development Environment -- Configuring Your Development Environment -- Development Machine Prerequisites -- Installing the Java Development Kit -- Installing the Eclipse IDE -- Installing the Android SDK -- Installing and Configuring the Android Plug-In for Eclipse (ADT) -- Downloading Android SDK Components -- Upgrading the Android SDK and Tools -- Debugging with the Amazon Kindle Fire -- Configuring Other Android Devices for Development Purposes -- B.Eclipse IDE Tips and Tricks -- Organizing Your Eclipse Workspace -- Writing Code in Java -- C.Supplementary Materials -- Using the Source Code for This Book -- Accessing the Android Developer Website -- Accessing the Publisher's Website -- Accessing the Authors Website -- Contacting the Authors -- Leveraging Online Android Resources.
- Subject(s):
- ISBN:
- 9780321833976 (pbk. : alk. paper)
032183397X (pbk. : alk. paper) - Bibliography Note:
- Includes bibliographical references.
View MARC record | catkey: 8737261