Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I run python script in android studio with java [duplicate]

We are working on an S60 version and this platform has a nice Python API..

However, there is nothing official about Python on Android, but since Jython exists, is there a way to let the snake and the robot work together??

like image 532
e-satis Avatar asked Sep 19 '08 13:09

e-satis


2 Answers

One way is to use Kivy:

Open source Python library for rapid development of applications that make use of innovative user interfaces, such as multi-touch apps.

Kivy runs on Linux, Windows, OS X, Android and iOS. You can run the same [python] code on all supported platforms.

Kivy Showcase app

like image 126
JohnMudd Avatar answered Sep 26 '22 07:09

JohnMudd


There is also the new Android Scripting Environment (ASE/SL4A) project. It looks awesome, and it has some integration with native Android components.

Note: no longer under "active development", but some forks may be.

like image 27
Heat Miser Avatar answered Sep 25 '22 07:09

Heat Miser