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?
-
Possible duplicate of Java Python IntegrationRaphael Roth– Raphael Roth2016-03-01 06:41:48 +00:00Commented Mar 1, 2016 at 6:41
-
stackoverflow.com/questions/8898765/calling-python-in-javarofls– rofls2016-03-01 06:44:03 +00:00Commented Mar 1, 2016 at 6:44
-
2@RaphaelRoth I want to create android app!!!Pouya Abbassi– Pouya Abbassi2016-03-01 07:36:24 +00:00Commented Mar 1, 2016 at 7:36
-
1then read this first : stackoverflow.com/questions/11120130/…Raphael Roth– Raphael Roth2016-03-01 07:50:28 +00:00Commented Mar 1, 2016 at 7:50
Add a comment
|
1 Answer
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.