I need to call a relatively simple piece of python code (no dependencies) from my java-project for android. I have heard that it is possible to use python via Kivy. Would that be possible?
4
-
3Have you done any research? I.e. check the kivy site documentation or anythingTim– Tim2014-11-23 14:04:10 +00:00Commented Nov 23, 2014 at 14:04
-
Yes i did. But I have found nothing on that hybrid-approach I need.dba– dba2014-11-23 14:42:29 +00:00Commented Nov 23, 2014 at 14:42
-
Do you have watch with Jython ? wiki.python.org/moin/Jythonstacky– stacky2014-11-23 16:05:22 +00:00Commented Nov 23, 2014 at 16:05
-
jython requires java SE but android provides just java ME.dba– dba2014-11-23 21:18:13 +00:00Commented Nov 23, 2014 at 21:18
Add a comment
|
1 Answer
Kivy cannot be easily integrated in an existing Java app, Kivy (the android part) have already a integrated Java application. Python is the main part, and you can execute Java code from Python using Pyjnius. Or write direct Java code.
You want the inverse, which is not something we are targeting.
I suggest you to check android-python27 project instead.