Beginning Android Programming with Android Studio takes a hands-on approach to teaching aspiring developers how to create applications for the latest Android OS and newest devices--including both smartphones and tablets. Beginning with the basics, this book provides everything developers will need to know to begin to successfully develop their own Android applications. Updated to cover Android 7 (N) and beyond as well as taking advantage of Android Studio 2, this is the new way developers will want to learn to build their Android apps. Special Features ·Shows you how to install, get started with, and use Android Studio 2 - the simplest Android developer tool ever for beginners ·Addresses how to display notifications, create rich user interfaces, and use activities and intents ·Reviews mastering views and menus and managing data ·Discusses working with SMS ·Looks at packaging and publishing applications to the Android market Table of Content Introduction Chapter 1: Getting Started with Android Programming ·What is Android? ·Android Versions ·Features of Android ·Architecture of Android ·Android Devices in the Market ·The Android Market ·Obtaining the Required Tools ·Android Studio ·Android SDK ·Creating Android Virtual Devices (AVDs) ·The Android Developer Community ·Launching Your First Android Application Chapter 2: Using Android Studio for Android Development ·Exploring the IDE ·Using Code Completion ·Debugging Your Application ·Setting Breakpoints ·Navigating Paused Code ·Publishing Your Application ·Generating a Signed APK Chapter 3: Activities, Fragments and Intents ·Understanding Activities ·Applying Styles and Themes to an Activity ·Hiding the Activity Title ·Displaying a Dialog Window ·Displaying a Progress Dialog ·Linking Activities Using Intents ·Returning Results from an Intent ·Passing Data Using an Intent Object ·Fragments ·Adding Fragments Dynamically ·Life Cycle of a Fragment ·Interactions Between Fragments ·Understanding the Intent Object ·Using Intent Filters ·Displaying Notifications Chapter 4: Getting to Know The Android User Interface ·Understanding the Components of a Screen ·Views and View Groups ·Frame Layout ·Linear Layout (Horizontal) and Linear Layout (Vertical) ·Table Layout ·Relative Layout ·Frame Layout ·Scroll View ·Adapting to Display Orientation ·Anchoring Views ·Managing Changes to Screen Orientation ·Persisting State Information During Changes in Configuration ·Detecting Orientation Changes ·Controlling the Orientation of the Activity ·Utilizing the Action Bar ·Adding Action Items to the Action Bar ·Creating the User Interface Programmatically ·Listening for UI Notifications Chapter 5: Designing Your User Interface with Views ·Using Basic Views ·TextView View ·Button, Image Button, Edit Text, Check Box, Toggle Button, Radio Button and Radio Group Views ·Progress Bar View ·Auto Complete TextView View ·Using Picker Views ·Time Picker View ·Date Picker View ·Using List Views to Display Long Lists ·ListView View ·Using the Spinner View ·Understanding Specialized Fragments ·Using a List Fragment ·Using a Dialog Fragment ·Using a Preference Fragment Chapter 6: Displaying Pictures And Menus with Views ·Using Image Views to Display Pictures ·ImageView View ·Image Switcher ·Grid View ·Using Menus with Views ·Creating the Helper Methods ·Options Menu ·Context Menu ·Using Web View ·Web View Chapter 7: Data Persistence ·Saving and Loading User Preferences ·Accessing Preferences Using an Activity ·Programmatically Retrieving and Modifying the Preferences Values ·Persisting Data to Files ·Saving to Internal Storage ·Saving to External Storage (SD Card) ·Choosing the Best Storage Option ·Creating and Using Databases ·Creating the DBAdapter Helper Class ·Using the Database Programmatically Chapter 8: Content Providers ·Sharing Data in Android ·Using a Content Provider ·Predefined Query String Con