9

By embed I mean execute Python code from String in Java.

Jython won't compile for Android, and Scripting Layer for Android doesn't seem to let me embed Python through my Java application.

So how to embed Python in a Java application on Android?

4
  • If you wanted to, you could also use Ruby. Commented Jul 20, 2012 at 15:26
  • 1
    I don't see any question here. Commented Jul 20, 2012 at 15:27
  • Have you looked at this question? stackoverflow.com/questions/101754/… Commented Jul 20, 2012 at 15:53
  • 1
    check this out.. it might help you kivy.org Commented Jul 20, 2012 at 15:55

1 Answer 1

4

Take a look on this, it works for J2SE, you can try run on Android.

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.