Android 5 Programming by Example(Paperback)

Kyle Mew

  • 出版商: Packt Publishing
  • 出版日期: 2015-06-19
  • 售價: $1,730
  • 貴賓價: 9.5$1,644
  • 語言: 英文
  • 頁數: 222
  • 裝訂: Paperback
  • ISBN: 178528844X
  • ISBN-13: 9781785288449
  • 相關分類: Android
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

商品描述

Turn your ideas into elegant and powerful mobile applications using the latest Android Studio for the Android Lollipop platform

About This Book

  • Design and customize GUI using material design to create attractive and intuitive layouts easily
  • Bring your designs to life with Android 5's powerful and extensive Java libraries, new sensors, and new platforms such as TVs, wearables, and cars
  • An example-based guide to learn and develop applications for Android 5

Who This Book Is For

If you have a great idea for a mobile app, and some familiarity with Java, or a similar procedural programming language, then all you need is this book to turn your idea into a reality.

What You Will Learn

  • Set up an effective development environment to create Android apps from scratch
  • Control the layout structure and design and edit code to control screen events
  • Respond to user interaction using Java and XML with your app
  • Keep your users up to date with Android's new notification framework
  • Implement Google APIs such as maps and other Google Services
  • Create apps for televisions, cars, and wearables and build home-screen app widgets
  • Add audio and video playback to your apps using the AudioManager and MediaPlayer classes
  • Program the two new Lollipop widgets, CardView and RecyclerView
  • Compile your apps, distribute them on the Google Play store, and build in a variety of ways to monetize them

In Detail

Android is a mobile operating system that runs on a staggering number of smart phones and tablets. Android offers developers the ability to build rich and innovative applications written using the Java programming language.

Beginning with detailed instructions on how to install and configure the Android SDK, Studio, and Virtual Device Manager, the book moves on to creating a simple, but working, "Hello World" app that can be run on a real device or emulator.

The book then moves on to layouts and the visual design of Lollipop apps. A new app is begun to demonstrate this and expanded as we move further, and, once material design has been introduced, the book moves on to the Java coding aspect and how to write code that responds to user interactions via callback methods such as touchscreen gesture listeners. No book on Lollipop APIs would be complete without explaining how the new Android TV, Wear, and Auto SDK tools work and how they can be utilized to either create new apps or convert those originally written for other platforms.

The book concludes by demonstrating how to package and deploy your finished app on the Google Play store.

商品描述(中文翻譯)

將您的想法轉化為優雅而強大的移動應用程式,使用最新的Android Studio開發Android Lollipop平台。本書介紹如下:

關於本書:
- 使用材料設計來設計和自定義GUI,輕鬆創建具有吸引力和直觀佈局
- 利用Android 5強大且廣泛的Java庫、新的傳感器以及新的平台(如電視、可穿戴設備和汽車)將設計變為現實
- 通過基於示例的指南學習和開發Android 5應用程式

本書適合對於移動應用程式有很好的想法並且對Java或類似的程序化編程語言有一定的熟悉的讀者。只需這本書,您就能將您的想法變成現實。

您將學到以下內容:
- 從頭開始設置有效的開發環境,創建Android應用程式
- 控制佈局結構和設計,編輯代碼以控制屏幕事件
- 使用Java和XML回應用戶交互
- 使用Android的新通知框架讓用戶保持最新狀態
- 實現Google API,如地圖和其他Google服務
- 為電視、汽車和可穿戴設備創建應用程式,並構建主屏幕應用程式小部件
- 使用AudioManager和MediaPlayer類將音頻和視頻播放添加到應用程式
- 編寫兩個新的Lollipop小部件,CardView和RecyclerView
- 編譯應用程式,將其分發到Google Play商店,並以各種方式實現盈利

詳細內容:
Android是運行在大量智能手機和平板電腦上的移動操作系統。Android提供開發人員使用Java編程語言創建豐富和創新的應用程式的能力。

本書首先詳細介紹如何安裝和配置Android SDK、Studio和虛擬設備管理器,然後創建一個簡單但可運行於實際設備或模擬器上的“Hello World”應用程式。

接下來,本書介紹了Lollipop應用程式的佈局和視覺設計。我們將開始創建一個新的應用程式,並隨著進一步的學習而擴展。一旦介紹了材料設計,本書將轉向Java編碼方面,並介紹如何編寫能夠通過回調方法(如觸摸手勢監聽器)回應用戶交互的代碼。關於Lollipop API的書籍如果不解釋新的Android TV、Wear和Auto SDK工具以及如何利用它們來創建新的應用程式或將原本為其他平台編寫的應用程式轉換,就不算完整。

本書最後演示了如何將完成的應用程式打包並部署到Google Play商店。