Learning Kotlin by building Android Applications: Explore the fundamentals of Kotlin while building real-world Android applications
暫譯: 透過建構 Android 應用程式學習 Kotlin:在實作真實世界的 Android 應用程式中探索 Kotlin 的基本概念

Eunice Adutwumwaa Obugyei, Natarajan Raman

  • 出版商: Packt Publishing
  • 出版日期: 2018-06-22
  • 售價: $1,860
  • 貴賓價: 9.5$1,767
  • 語言: 英文
  • 頁數: 316
  • 裝訂: Paperback
  • ISBN: 1788474643
  • ISBN-13: 9781788474641
  • 相關分類: AndroidJVM 語言
  • 海外代購書籍(需單獨結帳)

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

相關主題

商品描述

Learn programming in Kotlin including data types, flow control, lambdas, object-oriented, and functional programming while building 3 Android Apps

Key Features

  • Experience the gentle learning curve of Kotlin as you develop your own applications
  • Learn how to integrate Kotlin into Android Studio and use it in your projects
  • Build real-world applications such as Googly Eyes and games using Kotlin

Book Description

Today Kotlin is an official programming language for Android development and is widely adopted. Kotlin is expressive, concise, and powerful. It also ensures seamless interoperability with existing Android languages like JAVA and C++, which makes it easier to learn a new language for their most favored platform.

This book adopts a project-style approach, where we focus on teaching Android development by building three different Android Application, namely Building you Tic-Tac-Toe application, Developing your location based alarm and lastly a To-Do list application.

The book begins by giving you a strong grasp of the Kotlin language and its APIs as a preliminary to building stunning applications for Android. You'll learn to set up an environment as the difficulty level grows steadily, in line with applications covered in later chapters.

The book also introduces you to the Android Studio IDE, which plays an integral role in Android Development. It covers Kotlin's basic programming concepts such as functions, lambdas, properties, object-oriented code, safety aspects and type parameterization, testing, and concurrency, and helps you write Kotlin code to production.

Finally, you'll be taken through the process of releasing your app on the Google Play Store. You will also be introduced to other app distribution channels such as Amazon App Store.

As a bonus chapter, you will also learn how to use the Google Faces API to detect faces and add fun functionalities.

What you will learn

  • Learn the basics of using the Android Studio IDE and a number of basic programming concepts in Kotlin
  • Discover Android development by building Android apps with Kotlin
  • Uncover some amazing features of Kotlin that give it the upper hand over Java
  • Kotlin Interoperability with Java
  • Integrate Crashlytics for crash reporting and beta testing.
  • Use Google Location services and understand various APIs available for getting user location updates
  • Understand the principles of networking and communication.
  • Learn about the usage of third-party libraries for loading of data
  • Automate your build process with continuous integration tools

Who This Book Is For

If you are completely new to Kotlin or the Android platform and need to publish Android applications for fun or for business purposes, but you have no clue where to start, then this book is for you. This book is also for advanced Android developers who want to learn to use Kotlin instead of/alongside Java for Android development, although having some programming experience would be advantageous.

Table of Contents

  1. Setting up for Android Development
  2. Configuring Your Environment for Kotlin
  3. Data Types, Variables and Constants
  4. Classes and Objects
  5. Type Checks And Null Safety
  6. Functions and Lambdas
  7. Developing your location based alarm
  8. Working with Google's Location Services
  9. Connecting to the Outside World - Networking
  10. Developing a simple ToDoList App
  11. Persisting with Databases
  12. Reminding the User about their Tasks
  13. Testing and Continuous Integration
  14. Making your app available to the world
  15. Googly Eyes with the Google Faces API

商品描述(中文翻譯)

**學習 Kotlin 程式設計,包括資料類型、流程控制、Lambda、物件導向和函數式程式設計,同時建立 3 個 Android 應用程式**

**主要特點**
- 體驗 Kotlin 的平緩學習曲線,開發自己的應用程式
- 學習如何將 Kotlin 整合到 Android Studio 並在專案中使用
- 使用 Kotlin 建立實際應用程式,如 Googly Eyes 和遊戲

**書籍描述**
今天,Kotlin 是 Android 開發的官方程式語言,並被廣泛採用。Kotlin 具有表達性、簡潔性和強大性。它還確保與現有的 Android 語言(如 JAVA 和 C++)無縫互操作,這使得學習新語言對於他們最喜愛的平台變得更容易。

本書採用專案式的方法,專注於通過建立三個不同的 Android 應用程式來教授 Android 開發,分別是建立你的井字遊戲應用程式、開發基於位置的鬧鐘,最後是待辦事項清單應用程式。

本書首先讓你對 Kotlin 語言及其 API 有一個強有力的掌握,作為建立驚人 Android 應用程式的前提。隨著難度逐漸增加,你將學會設置環境,這與後面章節中涵蓋的應用程式相一致。

本書還介紹了 Android Studio IDE,這在 Android 開發中扮演著不可或缺的角色。它涵蓋了 Kotlin 的基本程式設計概念,如函數、Lambda、屬性、物件導向程式碼、安全性方面和類型參數化、測試和併發,並幫助你將 Kotlin 程式碼寫入生產環境。

最後,你將了解如何在 Google Play 商店上發佈你的應用程式。你還將了解其他應用程式分發渠道,如 Amazon App Store。

作為額外章節,你還將學習如何使用 Google Faces API 來檢測面孔並添加有趣的功能。

**你將學到的內容**
- 學習使用 Android Studio IDE 的基本知識以及 Kotlin 中的一些基本程式設計概念
- 通過使用 Kotlin 建立 Android 應用程式來發現 Android 開發
- 揭示 Kotlin 的一些驚人特性,使其在 Java 之上佔有優勢
- Kotlin 與 Java 的互操作性
- 整合 Crashlytics 進行崩潰報告和測試版測試
- 使用 Google 位置服務並了解獲取用戶位置更新的各種 API
- 理解網路和通信的原則
- 了解使用第三方庫加載數據的用法
- 使用持續集成工具自動化你的構建過程

**本書適合誰**
如果你對 Kotlin 或 Android 平台完全陌生,並且需要發佈 Android 應用程式以供娛樂或商業用途,但不知道從何開始,那麼這本書適合你。本書也適合希望學習使用 Kotlin 代替/與 Java 一起進行 Android 開發的高級 Android 開發者,雖然擁有一些程式設計經驗會是有利的。

**目錄**
1. Android 開發的設置
2. 配置你的 Kotlin 環境
3. 資料類型、變數和常數
4. 類別和物件
5. 類型檢查和空安全
6. 函數和 Lambda
7. 開發基於位置的鬧鐘
8. 使用 Google 的位置服務
9. 連接外部世界 - 網路
10. 開發簡單的待辦事項清單應用程式
11. 與資料庫持久化
12. 提醒用戶他們的任務
13. 測試和持續集成
14. 讓你的應用程式面向全世界
15. 使用 Google Faces API 的 Googly Eyes