python-for-android
python-for-android copied to clipboard
Turn your Python application into an Android APK
I don't know if the old way works, but this new way works for me.
It may seem scary, but it's useful if we want to use python to make a twitter-like app. After all, we need to upload image than bare text. **But take...
This change enables modplug support for Android devices using the SDL Mixer. I've tested it on my Android device and it works well. Tracker modules are extremely convenient for games...
- add `default=os.environ.get('APK_NUMERIC_VERSION', None)` to `--numeric-version` argument
Add setup arguments for global (before target) and target specific (build/install) after target.
Recent Android SDK tools, including e.g. ["8092744"](https://dl.google.com/android/repository/commandlinetools-linux-8092744_latest.zip) and ["8512546"](https://dl.google.com/android/repository/commandlinetools-linux-8512546_latest.zip), use a different path structure than e.g. ["6514223"](https://dl.google.com/android/repository/commandlinetools-linux-6514223_latest.zip). E.g. `sdkmanager` in older sdk tools used to be located at `${ANDROID_SDK_HOME}/tools/bin/sdkmanager` but...
Currently p4a has a variable named `android_api` (set by e.g. buildozer via the `app.android.api` config key). In `AndroidManifest.xml`, both `compileSdkVersion` and `targetSdkVersion` are set to `android_api`. This PR allows setting...
I added choice type start service **START_STICKY**, **START_NOT_STICKY** and **START_REDELIVER_INTENT**. Default use now and before START_NOT_STICKY, but when you close app, service close too. And I used this code for...
Tested with buildozer and pygame-ce + https://github.com/pygame-community/pygame-ce/pull/2249
These 4 recipes all relate to `cppy`. All 4 Python packages are from the same repository 1) Reinstate `cppy` recipe, use `PyProjectRecipe` and latest version. 2) Update `atom` version to...