Building Android Apps in Python Using Kivy with Android Studio: With Pyjnius, Plyer, and Buildozer (Paperback)

Gad, Ahmed Fawzy Mohamed

  • 出版商: Apress
  • 出版日期: 2019-10-14
  • 售價: $2,480
  • 貴賓價: 9.5$2,356
  • 語言: 英文
  • 頁數: 422
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1484250303
  • ISBN-13: 9781484250303
  • 相關分類: AndroidPython程式語言
  • 海外代購書籍(需單獨結帳)

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

相關主題

商品描述

Start building Python-based Android applications using Kivy with Android Studio. Through in-depth examples, this book teaches you everything you need to create your first Android application in Python and publish on Google Play.

Building Android Apps in Python Using Kivy with Android Studio takes you through the basics of Kivy by discussing its application structure, widgets, and event handling. The KV language is then introduced for separating the logic and GUI by adding widgets within a KV file. You will then learn how to utilize Android camera using Kivy, build the HTTP server using Flask, and create and manage multiple screens to help you design your own applications. Through detailed step-by-step instructions, you will create your first multi-level cross-platform game that includes animation and sound effects. Following this, the process of converting the Kivy application into an Android application using Buildozer and Python-4-Android is covered in detail. You will then learn how to edit the generated Android Studio project into Android Studio by adding extensions to the original application. The widgets added in Kivy could be handled within Android Studio. Moreover, Android views could be added to enrich the Kivy application. The resulting Android application created with Kivy can be hosted on Google Play to download and install as a regular Android application.

At the end, this book will give you the basic knowledge of Kivy needed to build cross-platform Android applications, produce an Android Studio project, and understand how it all works in detail.

 

What You Will Learn

 

  • Build cross-platform applications from scratch using Kivy in detail
  • Create a cross-platform interactive multi-level game from the ground up
  • Examine the pipeline of building an Android app from the Python Kivy app
  • Understand the structure of the Android Studio project produced by Kivy
  • Recognize how to extend the application within Android Studio by adding more Android views to the application main activity.

 

 

 

 

 

 

 

Who This Book Is For

Python developers with no previous experience in Kivy who are looking to create their first Android application completely in Python.

商品描述(中文翻譯)

開始使用 Kivy 和 Android Studio 建立基於 Python 的 Android 應用程式。透過深入的範例,本書教你創建第一個 Python Android 應用程式並在 Google Play 上發佈所需的一切。

《使用 Kivy 和 Android Studio 建立 Python 的 Android 應用程式》將帶你了解 Kivy 的基本概念,討論其應用程式結構、元件和事件處理。接著介紹 KV 語言,以便通過在 KV 檔案中添加元件來分離邏輯和 GUI。然後你將學習如何使用 Kivy 利用 Android 相機、使用 Flask 建立 HTTP 伺服器,以及創建和管理多個螢幕,幫助你設計自己的應用程式。透過詳細的逐步指導,你將創建第一個包含動畫和音效的多層次跨平台遊戲。隨後,將詳細介紹如何使用 Buildozer 和 Python-4-Android 將 Kivy 應用程式轉換為 Android 應用程式的過程。你將學習如何編輯生成的 Android Studio 專案,通過向原始應用程式添加擴展來進行修改。在 Kivy 中添加的元件可以在 Android Studio 中進行處理。此外,還可以添加 Android 視圖以豐富 Kivy 應用程式。使用 Kivy 創建的最終 Android 應用程式可以在 Google Play 上託管,作為常規 Android 應用程式下載和安裝。

最後,本書將提供建立跨平台 Android 應用程式所需的 Kivy 基本知識,生成 Android Studio 專案,並詳細了解其運作方式。

你將學到的內容:

- 從頭開始詳細使用 Kivy 建立跨平台應用程式
- 從零開始創建一個跨平台互動多層次遊戲
- 檢視從 Python Kivy 應用程式建立 Android 應用程式的流程
- 了解 Kivy 生成的 Android Studio 專案結構
- 認識如何在 Android Studio 中通過向應用程式主活動添加更多 Android 視圖來擴展應用程式。

本書適合對象:

對 Kivy 沒有先前經驗的 Python 開發者,尋求完全使用 Python 創建第一個 Android 應用程式。

作者簡介

Ahmed Fawzy Gad received his M.Sc. degree in 2018 and his B.Sc. in Information technology with honors in 2015. Ahmed is a researcher who is interested in deep learning, machine learning, computer vision, and Python. He is a machine learning consultant helping other do their projects. Ahmed contributes written tutorials and articles to a number of blogs including KDnuggets, Heartbeat, and Towards Data Science.

Ahmed authored two books about artifical neural networks and deep learning, TensorFlow: A Guide to Build Artificial Neural Networks Using Python (Labmert 2017) and Practical Computer Vision Applications Using Deep Learning with CNNs (Apress, 2018). He is always looking to learn more and is enthusiastically looking forward to pursuing a Ph.D. dergee. Ahmed can be reached through LinkedIn (linkedin.com/in/AhmedFGad), Facebook (fb.com/AhmedFGadd), and e-mail (ahmed.f.gad@gmail.com or ahmed.fawzy@ci.menofia.edu.eg).

作者簡介(中文翻譯)

Ahmed Fawzy Gad於2018年獲得碩士學位,並於2015年以優異成績獲得資訊科技學士學位。Ahmed是一位研究者,對深度學習、機器學習、計算機視覺和Python充滿興趣。他是一名機器學習顧問,幫助他人完成專案。Ahmed為多個部落格撰寫教程和文章,包括KDnuggets、Heartbeat和Towards Data Science。

Ahmed著有兩本關於人工神經網絡和深度學習的書籍,分別是《TensorFlow: A Guide to Build Artificial Neural Networks Using Python》(Labmert 2017)和《Practical Computer Vision Applications Using Deep Learning with CNNs》(Apress, 2018)。他總是渴望學習更多,並熱切期待追求博士學位。可以通過LinkedIn (linkedin.com/in/AhmedFGad)、Facebook (fb.com/AhmedFGadd)和電子郵件 (ahmed.f.gad@gmail.com 或 ahmed.fawzy@ci.menofia.edu.eg) 與Ahmed聯繫。