@@ -20,25 +20,23 @@ python-for-android.
20
20
Building
21
21
--------
22
22
23
- The Kivy Launcher is built using python-for-android, and is currently
24
- only supported by the pygame bootstrap (there is no SDL2 launcher
25
- yet). To get the most recent versions of packages you need to clean
26
- them first, so that the packager won't grab an old package instead of
27
- fresh one.
23
+ The Kivy Launcher is built using python-for-android. To get the most recent
24
+ versions of packages you need to clean them first, so that the packager won't
25
+ grab an old (cached) package instead of fresh one.
28
26
29
27
.. highlight :: none
30
28
31
29
::
32
30
33
- p4a clean_dists
34
- p4a clean_builds
31
+ p4a clean_download_cache requirements
32
+ p4a clean_dists && p4a clean_builds
35
33
p4a apk --requirements=requirements \
36
34
--permission PERMISSION \
37
35
--package=the.package.name \
38
36
--name="App name" \
39
37
--version=x.y.z \
40
38
--android_api XY \
41
- --bootstrap=pygame \
39
+ --bootstrap=pygame or sdl2 \
42
40
--launcher \
43
41
--minsdk 13
44
42
@@ -80,6 +78,9 @@ to change other settings.
80
78
After you set your `android.txt ` file, you can now run the launcher
81
79
and start any available app from the list.
82
80
81
+ To differentiate between apps in ``/sdcard/kivy `` you can include an icon
82
+ named ``icon.png `` to the folder. The icon should be a square.
83
+
83
84
Release on the market
84
85
---------------------
85
86
@@ -91,10 +92,14 @@ Source code
91
92
-----------
92
93
93
94
.. |renpy | replace :: pygame org.renpy.android
95
+ .. |kivy | replace :: sdl2 org.kivy.android
94
96
95
97
.. _renpy :
96
98
https://github.com/kivy/python-for-android/tree/master/\
97
99
pythonforandroid/bootstraps/pygame/build/src/org/renpy/android
100
+ .. _sdl2 :
101
+ https://github.com/kivy/python-for-android/tree/master/\
102
+ pythonforandroid/bootstraps/sdl2/build/src/org/kivy/android
98
103
99
104
If you feel confident, feel free to improve the launcher. You can find the
100
- source code at |renpy |_.
105
+ source code at |renpy |_ or at | kivy |_.
0 commit comments