1
0
Fork 0
mirror of https://github.com/shlomif/PySolFC.git synced 2025-04-05 00:02:29 -04:00

Kivy version updates:

- Android version checks restricted to android os present, corrects #310
- In buildozer.spec added support for 64k (#303). Blows up the apk by
  ca. 12M.
This commit is contained in:
lufebe16 2023-04-21 18:23:04 +02:00
parent d3efb6dd15
commit 144f2b752b
5 changed files with 10153 additions and 7 deletions

View file

@ -37,4 +37,8 @@ echo '### eval version'
./version.py > ${tmpdir}/version.txt
echo '### add more java heap space for gradle'
# export GRADLE_OPTS="-Xms1724m -Xmx5048m -Dorg.gradle.jvmargs='-Xms1724m -Xmx5048m'"
echo '### end init'

View file

@ -268,10 +268,10 @@ android.enable_androidx = True
# (list) The Android archs to build for, choices: armeabi-v7a, arm64-v8a, x86, x86_64
# In past, was `android.arch` as we weren't supporting builds for multiple archs at the same time.
#android.archs = arm64-v8a, armeabi-v7a
android.archs = arm64-v8a, armeabi-v7a
#android.archs = x86
#android.archs = x86_64
android.archs = armeabi-v7a
#android.archs = armeabi-v7a
# (int) overrides automatic versionCode computation (used in build.gradle)
# this is not the same as app version and should only be edited if you know what you're doing

View file

@ -0,0 +1,7 @@
Android specific:
- Android build procedures revised
- double binary support for armeabi-v7a and arm64-v8a
- external storage permissions for newer android versions
Main version::
- consult NEWS.asscidoc or html-src/news.html on
github for change informations.

10137
po/pt_BR.po Normal file

File diff suppressed because it is too large Load diff

View file

@ -50,6 +50,9 @@ class AndroidPerms(object):
def requestPerms(self, permissions):
if jnius is None:
return True
logging.info("androidperms: API version %d" % (self.version.SDK_INT))
if self.version.SDK_INT > 29:
return
logging.info("androidperms: invoke permission dialog")
self.currentActivity.requestPermissions(permissions, 0)
return
@ -63,10 +66,5 @@ def getStoragePerm():
def requestStoragePerm():
ap = AndroidPerms()
logging.info("androidperms: API version %d" % (ap.version.SDK_INT))
if ap.version.SDK_INT > 29:
return
# ap.requestPerms(
# ["android.permission.READ_EXTERNAL_STORAGE","android.permission.WRITE_EXTERNAL_STORAGE"])
ap.requestPerms(
["android.permission.WRITE_EXTERNAL_STORAGE"])