Android Recipes [electronic resource] : A Problem-Solution Approach /
Friesen, Jeff.author.
Smith, Dave.author.
Android continues to be one of the leading mobile OS and development platforms driving today's mobile innovations and the apps ecosystem. Android appears complex, but offers a variety of organized development kits to those coming into Android with differing programming language skill sets. Android Recipes: A Problem-Solution Approach guides you step-by-step through a wide range of useful topics using complete and real-world working code examples. In this book, you'll start off with a recap of Android architecture and app fundamentals, and then get down to business and build an app with Google’s Android SDK at the command line and Eclipse. Next, you'll learn how to accomplish practical tasks pertaining to the user interface, communications with the cloud, device hardware, data persistence, communications between applications, and interacting with Android itself. Finally, you'll learn how to leverage various libraries and Scripting Layer for Android (SL4A) to help you perform tasks more quickly, how to use the Android NDK to boost app performance, and how to design apps for performance, responsiveness, seamlessness, and more. Instead of abstract descriptions of complex concepts, in Android Recipes, you'll find live code examples. When you start a new project, you can consider copying and pasting the code and configuration files from this book, then modifying them for your own customization needs. This can save you a great deal of work over creating a project from scratch!
Title Page; Copyright Page; Contents at a Glance; Table of Contents; Foreword; About the Authors; About the Technical Reviewer; Acknowledgments; Preface; What Will You Find in the Book?; Keep a Level Eye on the Target; Chapter 1: Getting Started with Android; What Is Android?; History of Android; Android Architecture; App Architecture; Components; Activities; Services; Broadcast Receivers; Content Providers; Intents; Manifest; App Package; Activities in Depth; Services in Depth; Broadcast Receivers in Depth; Content Providers in Depth; 1-1. Installing the Android SDK; Problem; Solution
How It Works1-2. Installing an Android Platform; Problem; Solution; How It Works; 1-3. Creating an Android Virtual Device; Problem; Solution; How It Works; 1-4. Starting the AVD; Problem; Solution; How It Works; 1-5. Introducing UC; Problem; Solution; How It Works; 1-6. Creating UC; Problem; Solution; How It Works; 1-7. Installing and Running UC; Problem; Solution; How It Works; 1-8. Preparing UC for Publishing; Problem; Solution; How It Works; Version UC; Build UC in Release Mode; Sign UC's App Package; Align UC's App Package; 1-9. Migrating to Eclipse; Problem; Solution; How It Works
1-10. Developing UC with EclipseProblem; Solution; How It Works; Summary; Chapter 2: User Interface Recipes; 2-1. Customizing the Window; Problem; Solution; How It Works; Customize Window Attributes with a Theme; System Themes; Custom Themes; Customizing Window Features in Code; FEATURE_CUSTOM_TITLE; FEATURE_NO_TITLE; FEATURE_PROGRESS; FEATURE_INDETERMINATE_PROGRESS; FEATURE_LEFT_ICON; FEATURE_RIGHT_ICON; 2-2. Creating and Displaying Views; Problem; Solution; How It Works; 2-3. Monitoring Click Actions; Problem; Solution; How It Works; 2-4. Resolution-Independent Assets; Problem; Solution
How It Works2-5. Locking Activity Orientation; Problem; Solution; How It Works; 2-6. Dynamic Orientation Locking; Problem; Solution; How It Works; User Rotation Lock Button; 2-7. Manually Handling Rotation; Problem; Solution; How It Works; 2-8. Creating Pop-Up Menu Actions; Problem; Solution; How It Works; ContextMenu; AlertDialog; 2-9. Customizing Options Menu; Problem; Solution; How It Works; 2-10. Customizing Back Button; Problem; Solution; How It Works; 2-11 . Emulating the Home Button; Problem; Solution; How It Works; 2-12. Monitoring TextView Changes; Problem; Solution; How It Works
Character Counter ExampleCurrency Formatter Example; 2-13. Scrolling TextView Ticker; Problem; Solution; How It Works; 2-14. Animating a View; Problem; Solution; How It Works; System Animations; Custom Animations; AnimationSet; 2-15. Creating Drawables as Backgrounds; Problem; Solution; How It Works; Gradient ListView Row; Rounded View Group; 2-16. Creating Custom State Drawables; Problem; Solution; How It Works; Button and Clickable Widgets; CheckBox and Checkable Widgets; 2-17. Applying Masks to Images; Problem; Solution; How It Works; Rounded Corner Bitmap; Arbitrary Mask Image
Please Try This At Home
Includes index.
Android continues to be one of the leading mobile OS and development platforms driving today's mobile innovations and the apps ecosystem. Android appears complex, but offers a variety of organized development kits to those coming into Android with differing programming language skill sets. Android Recipes: A Problem-Solution Approach guides you step-by-step through a wide range of useful topics using complete and real-world working code examples. In this book, you'll start off with a recap of Android architecture and app fundamentals, and then get down to business and build an app with Google’s Android SDK at the command line and Eclipse. Next, you'll learn how to accomplish practical tasks pertaining to the user interface, communications with the cloud, device hardware, data persistence, communications between applications, and interacting with Android itself. Finally, you'll learn how to leverage various libraries and Scripting Layer for Android (SL4A) to help you perform tasks more quickly, how to use the Android NDK to boost app performance, and how to design apps for performance, responsiveness, seamlessness, and more. Instead of abstract descriptions of complex concepts, in Android Recipes, you'll find live code examples. When you start a new project, you can consider copying and pasting the code and configuration files from this book, then modifying them for your own customization needs. This can save you a great deal of work over creating a project from scratch!
Android (Electronic resource)
Android (Electronic resource)
Mobile computing.
Application software.
Mobile Computing.
Computer Applications.