Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions doc/source/recipes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ be compiled for Android with the correct architecture.

python-for-android comes with many recipes for popular modules. No
recipe is necessary for Python modules which have no
compiled components; these are installed automaticaly via pip.

compiled components; these are installed automatically via pip.
If you are new to building recipes, it is recommended that you first
read all of this page, at least up to the Recipe reference
documentation. The different recipe sections include a number of
Expand Down
2 changes: 2 additions & 0 deletions pythonforandroid/bootstraps/sdl2/build/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,8 @@ def parse_args(args=None):
help='Add this Java class as an Activity to the manifest.')
ap.add_argument('--activity-launch-mode', dest='activity_launch_mode',
help='Set the launch mode of the main activity in the manifest.')
ap.add_argument('--allow-backup', dest='allow_backup', default='true',
help="if set to 'false', then android won't backup the application.")

if args is None:
args = sys.argv[1:]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
-->
<application android:label="@string/app_name"
android:icon="@drawable/icon"
android:allowBackup="true"
android:allowBackup="{{ args.allow_backup }}"
android:theme="@android:style/Theme.NoTitleBar{% if not args.window %}.Fullscreen{% endif %}"
android:hardwareAccelerated="true" >

Expand Down