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?

asked Mar 1, 2016 at 6:28
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.

answered Dec 26, 2019 at 9:31
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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.