Question

Is it possible to build an APK using Python for Android that doesn't need Python for Android to be there, i.e. it includes Python? If so, how?

Was it helpful?

Solution

I believe this is what you are looking for: https://code.google.com/p/android-python27/

This will embed python into your apk. On first launch it will give you a dialog stating it is "installing". This part will install your script along with an integrated version of python. You are also able to embed different versions of python if you have a preference (2.6, 2.7, & 3.2).

OTHER TIPS

I think you can use py2exe to convert your programm to an .exe - File and then convert this .exe - File to an .apk - File.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top