diff --git a/README.md b/README.md index 3717cac14..4b342b1ed 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ Is there an error you don’t understand? Are you trying to figure out how to us it? We have volunteers who can help! The best channels to contact us for support are listed in the latest -[Contact Us](https://github.com/kivy/pyton-for-android/blob/master/CONTACT.md) +[Contact Us](https://github.com/kivy/python-for-android/blob/master/CONTACT.md) document. ## Code of Conduct diff --git a/doc/source/apis.rst b/doc/source/apis.rst index 7af4e5466..21af814db 100644 --- a/doc/source/apis.rst +++ b/doc/source/apis.rst @@ -8,7 +8,7 @@ interactions on Android. Handling system bars and Edge-to-Edge enforcement ------------------------------------------------- -**Egde-to-Edge is enforced on all android apis >=35 by default i.e. Android 15 and above.** +**Edge-to-edge is enforced by default on Android API level 35 (Android 15) and above.** You can control the overall layout and system bars appearance in following ways:: @@ -407,7 +407,7 @@ Example:: from android.runnable import Runnable def helloworld(arg): - print 'Called from PythonActivity with arg:', arg + print('Called from PythonActivity with arg:', arg) Runnable(helloworld)('hello') @@ -417,7 +417,7 @@ Or use our decorator:: @run_on_ui_thread def helloworld(arg): - print 'Called from PythonActivity with arg:', arg + print('Called from PythonActivity with arg:', arg) helloworld('arg1') @@ -564,4 +564,3 @@ from Python code), but it's not Pythonic and it's not short. These are problems that Plyer, explained below, attempts to address. You can check the `Pyjnius documentation `_ for further details. - diff --git a/doc/source/buildoptions.rst b/doc/source/buildoptions.rst index 5fb29c2ca..45ef3a9f5 100644 --- a/doc/source/buildoptions.rst +++ b/doc/source/buildoptions.rst @@ -8,8 +8,9 @@ This page contains instructions for using different build options. Python versions --------------- -python-for-android supports using Python 3.8 or higher. To explicitly select a Python -version in your requirements, use e.g. ``--requirements=python3==3.10.11,hostpython3==3.10.11``. +python-for-android supports using non-end-of-life Python 3 versions. To explicitly +select a Python version in your requirements, use e.g. +``--requirements=python3==3.14.2,hostpython3==3.14.2``. The last python-for-android version supporting Python2 was `v2019.10.06 `__ @@ -139,7 +140,7 @@ application, and your app will display and allow the user to navigate this website. .. note:: Your Flask script must start the webserver *without* - :code:``debug=True``. Debug mode doesn't seem to work on + ``debug=True``. Debug mode doesn't seem to work on Android due to use of a subprocess. This bootstrap will automatically try to load a website on port 5000 diff --git a/doc/source/contribute.rst b/doc/source/contribute.rst index 653c67008..d417cc512 100644 --- a/doc/source/contribute.rst +++ b/doc/source/contribute.rst @@ -5,7 +5,7 @@ Contribution Guidelines ======================= -Buildozer is part of the `Kivy `_ ecosystem - a large group of +python-for-android is part of the `Kivy `_ ecosystem - a large group of products used by many thousands of developers for free, but it is built entirely by the contributions of volunteers. We welcome (and rely on) users who want to give back to the community by contributing to the project. diff --git a/doc/source/index.rst b/doc/source/index.rst index c71d3081d..095947977 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -38,7 +38,7 @@ It is recommended that python-for-android be used via dependencies are pre-installed, and centralizes the configuration. However, python-for-android is not limited to being used with Buildozer. -Buildozer is released and distributed under the terms of the MIT license. You +python-for-android is released and distributed under the terms of the MIT license. You should have received a copy of the MIT license alongside your distribution. Our `latest license `_ diff --git a/doc/source/quickstart.rst b/doc/source/quickstart.rst index 743880506..840540a3d 100644 --- a/doc/source/quickstart.rst +++ b/doc/source/quickstart.rst @@ -227,7 +227,7 @@ You can then call the generated Java entrypoint(s) for your Python service(s) in Exporting the Android App Bundle (aab) for distributing it on Google Play ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Starting from August 2021 for new apps and from November 2021 for updates to existings apps, +Starting from August 2021 for new apps and from November 2021 for updates to existing apps, Google Play Console will require the Android App Bundle instead of the long lived apk. python-for-android handles by itself the needed work to accomplish the new requirements:: @@ -283,7 +283,7 @@ You can see the list of the available recipes with:: p4a recipes -If you are contributing to p4a and want to test a recipes again, +If you are contributing to p4a and want to test a recipe again, you need to clean the build and rebuild your distribution:: p4a clean_recipe_build RECIPENAME