kostyll / android-scripting

Automatically exported from code.google.com/p/android-scripting
0 stars 0 forks source link

Embedding Interpreters and Scripts into an APK (completed for Python) #629

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The Python interpreter, Python scripts, and SL4A can now be embedded into an 
APK thanks to Anthony Prieur's project:
https://code.google.com/p/android-python27/

This means that a single APK containing the interpreter can be uploaded to 
GooglePlay, and the interpreter won't need to be downloaded during the app 
installation.

A customized version of the interpreter can also be used, for example a 
different version build, set of modules, etc...

This should also satisfy open source license terms for some interpreters, which 
require that commercial distributions of the language be "compiled" so that the 
language isn't directly exposed to the user (as is the case with the Artistic 
License).

It might be a good idea to add this information to SL4A's Wiki for "Sharing 
Scripts", and possibly as an alternate template project, so that developers 
know about this and can provide feedback on it.

It would also be great to extend this to other interpreters. Anthony provided 
some hints on how to possibly do this for the Perl interpreter. If anyone is 
interested in assisting with that, just let me know and I can share those 
details.

Original issue reported on code.google.com by danielop...@gmail.com on 23 May 2012 at 4:53

GoogleCodeExporter commented 9 years ago
Wiki tutorials and a demo APK have been added to the Python project:
http://code.google.com/p/android-python27/ 

This project has also been forked over to accomplish this for Perl:
http://code.google.com/p/perl-android-apk/ 

All feedback and contributions are welcome.

Original comment by danielop...@gmail.com on 25 May 2012 at 6:14