Android Build (Deprecated)¶
Deprecated since version 0.60: The Android build instructions are deprecated and no longer maintained. The referenced external projects (android-python27, SL4A, Python3ForAndroid) are no longer actively developed, and the instructions below may not work with modern Android versions.
Warning
The following instructions are provided for historical reference only. They rely on outdated tools and have not been tested with recent Android releases.
Charm v0.43¶
See the README in charm/installers/android dir (2.7-dev branch) for a clean approach
to build & embed Charm in Android apps using the android-python27 project:
https://code.google.com/p/android-python27/. This version only works with Python 2.7
and the 3.x version is currently very buggy.
Charm v0.41-0.42¶
Here are the simple instructions for deploying Charm:
Install
Python3ForAndroid.apkfound in the GitHub repository on your Android device.Install the
SL4Apackage at the following link: https://android-scripting.googlecode.com/files/sl4a_r5.apk.Charm Advanced Setup: Download
pkg_resources.pyand place in the appropriate location using the ADB tool. Configure your device to enable the Android debug bridge and connect to your machine via USB. Next, useadbto push thepkg_resources.pyandcharm-schemesto a specified location on your SD card:adb push pkg_resources /mnt/sdcard/com.googlecode.python3forandroid/extras/python3/lib/python3.2/site-packages adb push schemes /mnt/sdcard/sl4a/scripts/schemes
See more detailed blog posts on installing Charm on Android (may be outdated):