Android design patterns and best practice create reliable, robust, and efficient Android apps with industry-standard design patterns

Create reliable, robust, and efficient Android apps with industry-standard design patterns About This Book Create efficient object interaction patterns for faster and more efficient Android development Get into efficient and fast app development and start making money from your android apps Implemen...

Full description

Bibliographic Details
Main Author: Mew, Kyle
Format: eBook
Language:English
Published: Birmingham, UK Packt Publishing 2016
Subjects:
Online Access:
Collection: O'Reilly - Collection details see MPG.ReNa
LEADER 09599nmm a2200505 u 4500
001 EB001908548
003 EBX01000000000000001071450
005 00000000000000.0
007 cr|||||||||||||||||||||
008 210123 ||| eng
020 |a 9781786465917 
050 4 |a QA76.59 
100 1 |a Mew, Kyle 
245 0 0 |a Android design patterns and best practice  |b create reliable, robust, and efficient Android apps with industry-standard design patterns  |c Kyle Mew 
260 |a Birmingham, UK  |b Packt Publishing  |c 2016 
300 |a 1 volume  |b illustrations 
505 0 |a Using the factory with the RecyclerView -- Adding dividers -- Configuring the floating action button -- The dialog builder -- Custom dialogs -- Adding swipe and dismiss actions -- Constructing layout builders -- Summary -- Chapter 7: Combining Patterns -- Outlining specifications -- The prototype pattern -- Setting up a prototype -- Applying the prototype -- The decorator design pattern -- Setting up a decorator -- Applying the decorator -- Extending the decorator -- A sandwich builder pattern -- Applying the pattern -- Connecting to a UI -- Selecting patterns -- Adding a decorator -- Attaching the pattern -- Connecting the pattern to the UI -- Summary -- Chapter 8: Composing Patterns -- The composite pattern -- Adding a builder -- A Layout composer -- Adding components -- Creating composites -- Create composite layouts -- Formatting layouts at runtime -- Storage options -- Creating static files -- Creating and editing application files -- Storing user preferences -- The activity life cycle -- Applying preferences -- Adding a unique identifier -- Summary -- Chapter 9: Observing Patterns -- The Observer pattern -- Creating the pattern -- Adding a notification -- Utility observers and observables -- Notifications -- Setting an intent -- Customizing and configuring notifications -- Visibility and priority -- Services -- Summary -- Chapter 10: Behavioral Patterns -- The template pattern -- Extending templates -- The strategy pattern -- The visitor pattern -- The state pattern -- Summary -- Chapter 11: Wearable Patterns -- Android TV -- TV home screen -- TV model-view-presenter pattern -- TV app structure -- Recommendation cards -- Android Wear -- Pairing with a wearable device -- Managing screen shapes -- Wearable notifications -- Reading sensors -- Android Auto -- Auto safety considerations -- Configuring Auto apps -- Summary 
505 0 |a Cover -- Copyright -- Credits -- About the Author -- About the Reviewer -- www.PacktPub.com -- Customer Feedback -- Table of Contents -- Preface -- Chapter 1: Design Patterns -- How this book works -- What we will build -- The scenario -- The problem -- The solution -- Targeting platform versions -- The support library -- The factory pattern -- UML diagrams -- Running and testing an app -- Connecting to a real device -- Connecting to a virtual device -- Monitoring devices -- The abstract factory pattern -- Working with more than one factory -- Summary -- Chapter 2: Creational Patterns -- Applying themes -- Customizing color and text -- Using palettes -- Customizing text -- Adding image resources -- Managing screen densities -- Using designated resources -- Creating a card view -- Understanding card view properties -- Applying CardView metrics -- Updating the factory pattern -- Applying a builder pattern -- Summary -- Chapter 3: Material Patterns -- The app-bar -- Image assets -- Applying actions -- App bar structure -- Phones -- Tablets -- The navigation drawer -- Drawer construction -- Ratio keylines -- Activating the drawer -- Adding fragments -- Right handed drawers -- The singleton pattern -- Summary -- Chapter 4: Layout Patterns -- Linear layouts -- Weight and gravity -- Relative layouts -- The percent support library -- Screen rotation -- Large screen layouts -- Width qualifiers -- Layout aliases -- The strategy pattern -- Summary -- Chapter 5: Structural Patterns -- Generating lists -- List item layouts -- Material font sizes -- Connecting data -- Translating string resources -- Adapters and layout managers -- The adapter pattern -- The bridge pattern -- The facade pattern -- The criteria pattern -- Summary -- Chapter 6: Activating Patterns -- Collapsing toolbars -- Applying a data factory pattern -- Positioning item layouts 
505 0 |a Chapter 12: Social Patterns -- Adding web pages -- Including a link -- Configuring WebSettings and JavaScript -- Writing HTML for WebViews -- Connecting with Facebook -- Adding the Facebook SDK -- Obtaining a Facebook App ID -- Adding a LikeView -- Content builders -- Integrating Twitter -- Sending tweets -- Summary -- Chapter 13: Distribution Patterns -- Extending platform scope -- Publishing apps -- Generating a signed APK -- Registering as a developer -- Publishing an app on the Google Play store -- Distributing by e-mail and on websites -- Promoting and monetizing apps -- Promoting an app -- Monetizing an app -- In-app billing -- Including an advertisement -- Summary -- Index 
653 |a Logiciels d'application / Développement 
653 |a Android (Electronic resource) / fast 
653 |a COMPUTERS / Programming Languages / Java / bisacsh 
653 |a Application software / Development / fast 
653 |a COMPUTERS / Programming / Mobile Devices / bisacsh 
653 |a Informatique mobile 
653 |a Smartphones / Programming 
653 |a Mobile computing / http://id.loc.gov/authorities/subjects/sh95004596 
653 |a COMPUTERS / Programming / Open Source / bisacsh 
653 |a Android (Electronic resource) / http://id.loc.gov/authorities/names/n2009043077 
653 |a Mobile computing / fast 
653 |a Application software / Development / http://id.loc.gov/authorities/subjects/sh95009362 
653 |a Téléphones intelligents / Programmation 
041 0 7 |a eng  |2 ISO 639-2 
989 |b OREILLY  |a O'Reilly 
015 |a GBB743128 
776 |z 1786465914 
776 |z 9781786465917 
776 |z 9781786467218 
856 4 0 |u https://learning.oreilly.com/library/view/~/9781786467218/?ar  |x Verlag  |3 Volltext 
082 0 |a 004.167 
520 |a Create reliable, robust, and efficient Android apps with industry-standard design patterns About This Book Create efficient object interaction patterns for faster and more efficient Android development Get into efficient and fast app development and start making money from your android apps Implement industry-standard design patterns and best practices to reduce your app development time drastically Who This Book Is For This book is intended for Android developers who have some basic android development experience. Basic Java programming knowledge is a must to get the most out of this book.  
520 |a Moving on, you will add user detecting classes and APIs such as at gesture detection, touch screen listeners and sensors to our app. You will also learn to adapt your app to run on tablets and other devices and platforms, including Android Wear, Auto, and TV. Finally, you will learn to connect your app to social media and explore deployment patterns and best publishing and monetizing practices. Style and approach This book takes a step-by-step approach. The steps are explained using real-world practical examples. Each chapter uses case studies where we show you how using design patterns will help in your development process 
520 |a and reading sensors Apply transitions and shared elements to employ elegant animations and efficiently use the minimal screen space of mobile devices Develop apps that automatically apply the best layouts for different devices by using designated directories Socialize in the digital word by connecting your app to social media Make your apps available to the largest possible audience with the AppCompat support library In Detail Are you an Android developer with some experience under your belt? Are you wondering how the experts create efficient and good-looking apps? Then your wait will end with this book! We will teach you about different Android development patterns that will enable you to write clean code and make your app stand out from the crowd. The book starts by introducing the Android development environment and exploring the support libraries. You will gradually explore the different design and layout patterns and get to know the best practices of how to use them together.  
520 |a Then you'll then develop an application that will help you grasp activities, services, and broadcasts and their roles in Android development. Moving on, you will add user-detecting classes and APIs such as gesture detection, touch screen listeners, and sensors to your app. You will also learn to adapt your app to run on tablets and other devices and platforms, including Android Wear, auto, and TV. Finally, you will see how to connect your app to social media and explore deployment patterns as well as the best publishing and monetizing practices. The book will start by introducing the Android development environment and exploring the support libraries. You will gradually explore the different Design and layout patterns and learn the best practices on how to use them together. You will then develop an application that will help you grasp Activities, Services and Broadcasts and their roles in Android development.  
520 |a What You Will Learn Build a simple app and run it on real and emulated devices Explore the WYSIWYG and XML approaches to material design provided within Android Studio Detect user activities by using touch screen listeners, gesture detection,