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
Table of contents
- Cover
- Front Matter
- 1. Preparing Kivy for Android Application Development
- 2. Using KV Language for Separation of Logic and GUI
- 3. Sharing Android Camera to an HTTP Server
- 4. Creating and Managing Multiple Screens
- 5. Building Your First Multi-Level Game in Kivy
- 6. Completing and Publishing Your First Game
- 7. Working with Kivy Projects from Android Studio
- Back Matter
Product information
- Title: Building Android Apps in Python Using Kivy with Android Studio: With Pyjnius, Plyer, and Buildozer
- Author(s):
- Release date: October 2019
- Publisher(s): Apress
- ISBN: 9781484250310
You might also like
book
Kivy Blueprints
Build your very own app-store-ready, multi-touch games and applications with Kivy! In Detail Kivy is a …
book
Developing Games in Java™
If you already have Java programming experience and are looking to program games, this book is …
book
Creating Components
Concurrency is a powerful technique for developing efficient and lightning- fast software. For instance, concurrency can …
book
Ogre 3D 1.7
With your knowledge of C++ and this guide, the gaming world awaits you. Starting with the …