Android Application Development Cookbook Second Edition

Rick Boyer, Kyle Mew

  • 出版商: Packt Publishing
  • 出版日期: 2016-03-31
  • 售價: $1,870
  • 貴賓價: 9.5$1,777
  • 語言: 英文
  • 頁數: 428
  • 裝訂: Paperback
  • ISBN: 1785886193
  • ISBN-13: 9781785886195
  • 相關分類: Android
  • 下單後立即進貨 (約3~4週)

商品描述

Over 100 recipes to help you solve the most common problems faced by Android Developers today

About This Book

  • Find the answers to your common Android programming problems, from set up to security, to help you deliver better applications, faster
  • Uncover the latest features of Android Marshmallow to make your applications stand out
  • Get up to speed with Android Studio 1.4 - the first Android Studio based on the IntelliJ IDE from JetBrains

Who This Book Is For

If you are new to Android development and want to take a hands-on approach to learning the framework, or if you are an experienced developer in need of clear working code to solve the many challenges in Android development, you can benefit from this book. Either way, this is a resource you'll want to keep at your desk for a quick reference to solve new problems as you tackle more challenging projects.

What You Will Learn

  • Along with Marshmallow, get hands-on working with Google's new Android Studio IDE
  • Develop applications using the latest Android framework while maintaining backward-compatibility with the support library
  • Master Android programming best practices from the recipes
  • Create exciting and engaging applications using knowledge gained from recipes on graphics, animations, and multimedia
  • Work through succinct steps on specifics that will help you complete your project faster
  • Keep your app responsive (and prevent ANRs) with examples on the AsynchTask class
  • Utilize Google Speech Recognition APIs for your app.
  • Make use of Google Cloud Messaging (GCM) to create Push Notifications for your users
  • Get a better understanding of the Android framework through detailed explanations

In Detail

The Android OS has the largest installation base of any operating system in the world; there has never been a better time to learn Android development to write your own applications, or to make your own contributions to the open source community!

This “cookbook” will make it easy for you to jump to a topic of interest and get what you need to implement the feature in your own application. If you are new to Android and learn best by “doing,” then this book will provide many topics of interest.

Starting with the basics of Android development, we move on to more advanced concepts, and we'll guide you through common tasks developers struggle to solve. The first few chapters cover the basics including Activities, Layouts, Widgets, and the Menu. From there, we cover fragments and data storage (including SQLite), device sensors, the camera, and GPS. Then we move on more advanced topics such as graphics and animation (including OpenGL), multi-threading with AsyncTask, and Internet functionality with Volley. We'll also demonstrate Google Maps and Google Cloud Messaging (also known as Push Notifications) using the Google API Library.

Finally, we'll take a look at several online services designed especially for Android development. Take your application big-time with full Internet web services without having to become a server admin by leveraging the power of Backend as a Service (BaaS) providers.

Style and approach

This book progresses from the fundamentals of Android Development to more advanced concepts, with recipes to solve the most common problems faced by developers. This cookbook makes it easy to jump to specific topics of interest, where you'll find simple steps to implement the solution and get a clear explanation of how it works.

商品描述(中文翻譯)

超過100個食譜,幫助您解決當今Android開發人員面臨的最常見問題。

關於本書
從設置到安全,找到您常見的Android編程問題的答案,以幫助您更快地交付更好的應用程序。
揭示Android Marshmallow的最新功能,使您的應用程序脫穎而出。
熟悉基於JetBrains的IntelliJ IDE的首個Android Studio版本1.4。

本書適合對Android開發新手並希望以實踐方式學習框架的人,或者對Android開發中的許多挑戰需要清晰的工作代碼的經驗豐富的開發人員。無論哪種情況,這是一個您會想放在桌子上以便快速解決新問題的資源,同時您處理更具挑戰性的項目。

您將學到什麼
除了Marshmallow,還可以使用Google的新Android Studio IDE進行實際操作。
使用最新的Android框架開發應用程序,同時保持與支持庫的向後兼容性。
從食譜中掌握Android編程的最佳實踐。
使用從圖形,動畫和多媒體食譜中獲得的知識創建令人興奮和引人入勝的應用程序。
通過有關特定項目的簡潔步驟,幫助您更快地完成項目。
使用AsynchTask類的示例使您的應用程序保持響應(並防止ANR)。
利用Google語音識別API為您的應用程序。
使用Google Cloud Messaging(GCM)為用戶創建推送通知。
通過詳細的解釋更好地了解Android框架。

詳細內容
Android操作系統擁有全球最大的安裝基數;現在是學習Android開發並編寫自己的應用程序或為開源社區做出貢獻的最佳時機!

這本“食譜”將使您輕鬆跳轉到感興趣的主題並獲取在自己的應用程序中實現該功能所需的內容。如果您對Android還不熟悉並且通過“實踐”學習效果最好,那麼本書將提供許多有趣的主題。

從Android開發的基礎知識開始,我們進一步介紹更高級的概念,並指導您解決開發人員常常遇到的常見任務。前幾章涵蓋了基礎知識,包括活動,佈局,小部件和菜單。然後,我們涵蓋了片段和數據存儲(包括SQLite),設備傳感器,相機和GPS。然後,我們轉向更高級的主題,如圖形和動畫(包括OpenGL),使用AsyncTask進行多線程處理,以及使用Volley進行互聯網功能。我們還將使用Google API庫演示Google地圖和Google Cloud Messaging(也稱為推送通知)。

最後,我們將研究幾個專為Android開發而設計的在線服務。通過利用Backend as a Service(BaaS)提供商的功能,無需成為服務器管理員,即可將您的應用程序推向全球互聯網服務。

風格和方法
本書從Android開發的基礎知識進展到更高級的概念,提供解決開發人員面臨的最常見問題的食譜。這本食譜書使您能夠輕鬆跳轉到特定的感興趣主題,其中您將找到實施解決方案的簡單步驟,並清楚解釋其工作原理。