Android Design Patterns and Best Practices

Kyle Mew

相關主題

商品描述

Key Features

  • 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

Book Description

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. 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. 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.

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, 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

About the Author

Kyle Mew has been programming since the early eighties and has written for several technology websites. He has also written three radio plays and three other books on Android development.

Table of Contents

  1. Design Patterns
  2. Creational Patterns
  3. Material Patterns
  4. Layout Patterns
  5. Structural Patterns
  6. Activating Patterns
  7. Combining Patterns
  8. Composing Patterns
  9. Observing Patterns
  10. Behavioral Patterns
  11. Wearable Patterns
  12. Social Patterns
  13. Distribution Patterns

商品描述(中文翻譯)

主要特點



  • 建立高效的物件互動模式,以加快並提高 Android 開發效率

  • 進入高效且快速的應用程式開發,並開始從您的 Android 應用程式中賺錢

  • 實施行業標準的設計模式和最佳實踐,大幅減少應用程式開發時間

書籍描述


您是一位有一定經驗的 Android 開發人員嗎?您是否想知道專家們如何創建高效且外觀漂亮的應用程式?那麼,這本書將結束您的等待!我們將教您不同的 Android 開發模式,讓您能夠編寫乾淨的程式碼,使您的應用程式脫穎而出。


本書首先介紹 Android 開發環境並探索支援庫。您將逐步探索不同的設計和佈局模式,並了解如何將它們結合使用的最佳實踐。然後,您將開發一個應用程式,幫助您理解活動、服務和廣播在 Android 開發中的角色。


接下來,您將向應用程式添加用於檢測用戶的類和 API,例如手勢檢測、觸控螢幕監聽器和感應器。您還將學習如何使您的應用程式適應平板電腦和其他設備和平台,包括 Android Wear、汽車和電視。最後,您將了解如何將您的應用程式連接到社交媒體,並探索部署模式以及最佳的發佈和盈利實踐。

您將學到什麼



  • 建立一個簡單的應用程式並在真實和模擬設備上運行

  • 探索 Android Studio 提供的所見即所得和 XML 方法來進行材料設計

  • 通過使用觸控螢幕監聽器、手勢檢測和感應器來檢測用戶活動

  • 應用過渡和共享元素以實現優雅的動畫,並有效利用移動設備的最小螢幕空間

  • 使用指定目錄自動應用最佳佈局,以適應不同的設備

  • 通過將您的應用程式連接到社交媒體,在數字世界中進行社交

  • 使用 AppCompat 支援庫,使您的應用程式面向最大的受眾

關於作者


Kyle Mew 自八十年代初開始編程,並為多個技術網站撰寫文章。他還撰寫了三個廣播劇和其他三本關於 Android 開發的書籍。

目錄



  1. 設計模式

  2. 創建模式

  3. 材料模式

  4. 佈局模式

  5. 結構模式

  6. 啟動模式

  7. 組合模式

  8. 組成模式

  9. 觀察模式

  10. 行為模式

  11. 可穿戴模式

  12. 社交模式

  13. 分發模式