Back

Explore Courses Blog Tutorials Interview Questions
+2 votes
3 views
in Python by (1.4k points)
edited by

Officially I found nothing about Python on Android, but since Jython exists, is there a way to run Python run on Android?

4 Answers

0 votes
by (46k points)
edited by
Python is one of the most widely used languages and there are several ways to use it in android

·    QPython

·    Kivy

·    BeeWare

·    Pyqtdeploy

·    Chaquopy

Although primary programming language of Android is JAVA, so there is no known port of Jython to the platform.

I personally use Kivy but you can use any one of them they all works fine.
0 votes
by (1k points)
You can use Kivy which runs on windows, OS, Linux, iOS as well as Andriod.
0 votes
by (106k points)
edited by

You can use the below-mentioned code to run Python on android:-

import android

droid = android.Android()

code = droid.scanBarcode()

isbn = int(code['result']['SCAN_RESULT'])

url = "http://books.google.com?q=%d" % isbn

droid.startActivity('android.intent.action.VIEW', url)

Want to learn about Android? Check out the Android App Development course from Intellipaat.

You can use the following video tutorials to clear all your doubts:-

If you want learn more about then check out this Python Course online by Intellipaat.

0 votes
by (140 points)

To run python on Android you can use Kivy

Related questions

0 votes
1 answer
asked Jan 31, 2021 in Python by laddulakshana (16.4k points)
0 votes
1 answer
0 votes
1 answer

Browse Categories

...