Download Latest Version v2024.01.21 source code.zip (1.6 MB)
Email in envelope

Get an email when there's a new version of python-for-android

Home / v2023.01.28
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2023-01-28 2.0 kB
v2023.01.28 source code.tar.gz 2023-01-28 1.7 MB
v2023.01.28 source code.zip 2023-01-28 2.0 MB
Totals: 3 Items   3.6 MB 1

Highlights:

  • scypt recipe has been updated.
  • --orientation option controls the allowed orientations (portrait, landscape, portrait-reverse, landscape-reverse). The allowed orientations list is then set to KIVY_ORIENTATION environment variable, which is used during window setup time to populate the SDL_HINT_ORIENTATIONS value, as we're doing for other platforms.
  • --manifest-orientation option has been added to keep the android:screenOrientation personalisation functionality, even if Android will be likely deprecate this attribute in future.
  • If --manifest-orientation is not set, and only (one of multiple) --orientation options are passed, the value forandroid:screenOrientationis guessed and synthesized from the --orientation option. Sinceandroid:screenOrientationaccepts only 1 value, if multiple--orientationare given,android:screenOrientation` will be set to unspecified.
  • Introduced support for permission properties (maxSdkVersion and usesPermissionFlags)

Full changelog:

  • Implements --manifest-orientation and changes how --orientation works so we can now pass the setting to the SDL orientation hint #2739 (misl6)
  • Update __init__.py from scrypt recipe #2738 (FilipeMarch)
  • Apply a patch from SDL upstream that fixes orientation settings #2730 (misl6)
  • Support permission properties (maxSdkVersion and usesPermissionFlags) + remove WRITE_EXTERNAL_STORAGE permission, which has been previously declared by default #2725 (misl6)
  • Merge master in develop #2721 (misl6)
Source: README.md, updated 2023-01-28