Skip to main content
  • Book
  • © 2019

Building Android Apps in Python Using Kivy with Android Studio

With Pyjnius, Plyer, and Buildozer

Apress
  • First book to discuss editing the Kivy Android projects within Android Studio for enriching applications
  • Covers building cross-platform application using Kivy, with every step and line of code
  • Discusses how to use Kivy features to build practical applications with Python libraries
  • 15k Accesses

Buy it now

Buying options

eBook USD 54.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (7 chapters)

  1. Front Matter

    Pages i-xviii
  2. Preparing Kivy for Android Application Development

    • Ahmed Fawzy Mohamed Gad
    Pages 1-19
  3. Using KV Language for Separation of Logic and GUI

    • Ahmed Fawzy Mohamed Gad
    Pages 21-37
  4. Sharing Android Camera to an HTTP Server

    • Ahmed Fawzy Mohamed Gad
    Pages 39-99
  5. Creating and Managing Multiple Screens

    • Ahmed Fawzy Mohamed Gad
    Pages 101-124
  6. Building Your First Multi-Level Game in Kivy

    • Ahmed Fawzy Mohamed Gad
    Pages 125-207
  7. Completing and Publishing Your First Game

    • Ahmed Fawzy Mohamed Gad
    Pages 209-292
  8. Working with Kivy Projects from Android Studio

    • Ahmed Fawzy Mohamed Gad
    Pages 293-361
  9. Back Matter

    Pages 363-422

About this book

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.

Authors and Affiliations

  • Faculty of Computers & Information, Menoufia University, Shibin El Kom, Egypt

    Ahmed Fawzy Mohamed Gad

About the author

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).

Bibliographic Information

Buy it now

Buying options

eBook USD 54.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access