r/Python • • Oct 26 '14

Java and Python?

I have a Java (Android) program that I want to extend with Python (think addons/plugins), what do you recommend?

0 Upvotes

5 comments sorted by

5

u/ccb621 Oct 27 '14

You should look at apps with similar functionality and learn how they achieve it. Why do you want to use Python instead of Java? Your question is pretty vague and /r/python is probably not the place to ask a question about Android/Java.

3

u/ratulrafsan Oct 27 '14

Pyjnius (https://github.com/kivy/pyjnius) is probably what you are looking for.Its used by kivy to use & extend java classes.

1

u/hernantz Oct 27 '14

Watch this video, it explains some things about using java from within python and viceversa, including android: https://www.youtube.com/watch?v=RfGldwLoiUk

-1

u/IonTichy Oct 26 '14

Knowing andorid: not to do it ;)

-1

u/aweraw Oct 27 '14

Jython is probably what you're looking for