Building Android Apps in Python Using Kivy with Android Studio

0
(0)

Building Android Apps in Python Using Kivy with Android Studio
 

  • Author:Ahmed Fawzy Mohamed Gad
  • Length: 422 pages
  • Edition: 1st ed.
  • Publisher: Apress
  • Publication Date: 2019-11-01
  • ISBN-10: 1484250303
  • ISBN-13: 9781484250303
  • Sales Rank: #777769 (See Top 100 Books)
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    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.

    中文:

    书名:在Android Studio中使用Kivy在Python中构建Android应用

    开始使用Kivy和Android Studio构建基于Python的Android应用程序。通过深入的示例,这本书教会了您用Python创建第一个Android应用程序并在Google Play上发布所需的一切。

    在Android Studio中使用Kivy在Python中构建Android应用通过讨论Kivy的应用程序结构、小部件和事件处理,向您介绍Kivy的基础知识。然后引入KV语言,通过在KV文件中添加小部件来分离逻辑和图形用户界面。然后,您将学习如何使用Kivy使用Android摄像头,如何使用FlaskTM构建HTTP服务器,以及如何创建和管理多个屏幕来帮助您设计自己的应用程序。通过详细的分步说明,您将创建您的第一个包含动画和音效的多级别跨平台游戏。随后,详细介绍了使用Buildozer和Python-4-Android将Kivy应用程序转换为Android应用程序的过程。然后,您将学习如何通过向原始应用程序添加扩展来将生成的Android Studio项目编辑到Android Studio中。Kivy中添加的小部件可以在Android Studio中处理。此外,还可以添加Android视图来丰富Kivy应用程序。用Kivy创建的Android应用程序可以托管在Google Play上,作为常规Android应用程序下载和安装。

    最后,本书将向您介绍Kivy构建跨平台Android应用程序所需的基本知识,生成一个Android Studio项目,并详细了解它是如何工作的。

    你将学到什么

    • 使用Kivy从头开始详细构建跨平台应用程序
    • 从头开始打造一款跨平台的多层次互动游戏
    • 研究从Python Kivy应用程序构建Android应用程序的流程
    • 了解Kivy制作的Android Studio项目的结构
    • 了解如何通过将更多Android视图添加到应用程序主活动来扩展Android Studio中的应用程序。

    这本书是为谁写的

    之前没有使用Kivy经验的开发人员,他们希望完全使用Python创建他们的第一个Android应用程序。

  • 下载电子版:下载地址
  • 购买纸质版:亚马逊商城

    点击星号评分!

    平均分 0 / 5. 投票数: 0

    还没有投票!请为他投一票。

  • 推荐阅读

    评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册