5

Is it possible to run "python" script inside "Java" in an android app? The main app will be Java but some cryptography should be done in "python"
Is it possible to do this?

4

1 Answer 1

1

Running a python script inside android app is not practical at the moment, but what you can do is creating a HTTP web service for interpreting python and sending back the results to the android application.

Then it's just Android app communicating with a HTTP web service which is simpler than packing an interpreter.

This way it makes the app lighter too.

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.