1

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
  • 3
    Have you done any research? I.e. check the kivy site documentation or anything Commented Nov 23, 2014 at 14:04
  • Yes i did. But I have found nothing on that hybrid-approach I need. Commented Nov 23, 2014 at 14:42
  • Do you have watch with Jython ? wiki.python.org/moin/Jython Commented Nov 23, 2014 at 16:05
  • jython requires java SE but android provides just java ME. Commented Nov 23, 2014 at 21:18

1 Answer 1

1

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.