Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

491
Views
How to develop Android app completely using python?

I would like to develop a (rather simple) android app to be distributed via Play Store. I would like to do so completely in python. However, the online research hasn't quite enlightened me: most comments are either outdated (>1 year old, and I feel there might be better integration of python since then) or they talk about running python in android (e.g. here).

Therefore, I'm looking for information regarding the questions:

  • is it feasible to develop an App completely in python - and what are the tools to do so? (Is e.g. Kivy recommendable?)
  • if so: what are the best software environments to implement this? (I unsuccessfully tried using Android Studio but couldn't figure out a way to run python code there.)

I'm quite new to app development and would highly appreciate any leads of doing this in python rather than in Jave etc., which I don't know yet.

over 4 years ago · Santiago Trujillo
3 answers
Answer question

0

To answer your first question: yes, it is feasible to develop an Android app in pure Python , to achieve that, I suggest you use BeeWare , which is just a set of Python tools , which work very well together and allow you to develop native apps. of the platform in python.

check out this video from the creator of BeeWare who perfectly explains and demonstrates his application

How does it work

Android's preferred implementation language is Java, so if you want to write an Android app in Python, you must have a way to run your Python code in a Java virtual machine. This is what VOC does. VOC is a transpiler: it takes Python source code, compiles it into CPython Bytecode, and then transpiles that bytecode into Java-compatible bytecode. The end result is that your Python source files are compiled directly into a Java .class file, which can be packaged into an Android app.

VOC also allows you to access native Java objects as if they were Python objects, implement Java interfaces with Python classes, and subclass Java classes with Python classes. With this, you can write an Android app directly on the native Android APIs.

Once you've written your native Android app, you can use Briefcase to package your Python code as an Android app.

Briefcase is a tool to turn a Python project into a standalone native application. You can package projects for:

  • Mac

  • windows

  • Linux

  • iPhone/ iPad

  • Android

  • AppleTV

  • tvOS.

You can check out this native Android Tic Tac Toe app written in Python, using the BeeWare suite. on GitHub

In addition to the BeeWare tools, you will need to have an Android JDK and SDK installed to test your application running.

and to answer your second question: a good environment can be anything you're comfortable with, be it a text editor and a command line, or an IDE, if you're looking for a good python IDE, I'd suggest try Pycharm , it has a community edition that is free and has a similar environment as Android Studio, due to the fact that they were created by the same company.

I hope this has been helpful.

over 4 years ago · Santiago Trujillo Report

0

You can try BeeWare , as described on their website:

Write your apps in Python and publish them to iOS, Android, Windows, MacOS, Linux, Web, and tvOS using rich, native user interfaces. A code base. Multiple applications.

It gives you what you want now for writing Android apps in Python, plus it has the advantage that you won't need to learn another framework in the future if you end up wanting to do something on one of the other platforms listed.

Here is the tutorial for android apps .

over 4 years ago · Santiago Trujillo Report

0

Android, Python !

When I saw these two keywords together in your question, Kivy is the one which came to my mind first.

Kivy logo

Before coming to native Android development in Java using Android Studio, I had tried Kivy. It just awesome. Here are a few advantage I could find out.


Simple to use

With a python basics, you won't have trouble learning it.


Good community

It's well documented and has a great, active community.


Cross platform.

You can develop thing for Android, iOS, Windows, Linux and even Raspberry Pi with this single framework. Open source.


It is a free software

At least few of it's (Cross platform) competitors want you to pay a fee if you want a commercial license.


Accelerated graphics support

Kivy's graphics engine build over OpenGL ES 2 makes it suitable for softwares which require fast graphics rendering such as games.



Now coming into the next part of question, you can't use Android Studio IDE for Kivy. Here is a detailed guide for setting up the development environment.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!