Two issues related to splash screen and icon of android app in kivy framework

149 views
Skip to first unread message

satyam yadav

unread,
Jul 24, 2022, 3:39:29 AM7/24/22
to Kivy users support
So , i have made the app , and defined the icon which is present in folder and and given the path of image which i have to use as icon but it does not work and shows the typical kivy icon and for splash screen it is still appearing the black so how can i set the splash screen white with my app logo in center

Robert

unread,
Jul 24, 2022, 7:18:57 PM7/24/22
to Kivy users support
Set the icon and splash screen like this:

# (str) Presplash of the application
#presplash.filename = %(source.dir)s/data/presplash.png
presplash.filename = chart.jpg

# (str) Icon of the application
#icon.filename = %(source.dir)s/data/icon.png
icon.filename = chart.png

Remember to 'buildozer appclean' after the change and before the next build.

If you have a problem check that the image file types are supported for the case.

For more control of the presplash use lottie files

# (string) Presplash animation using Lottie format.
# see https://lottiefiles.com/ for examples and https://airbnb.design/lottie/
# for general documentation.
# Lottie files can be created using various tools, like Adobe After Effect or Synfig.
#android.presplash_lottie = "path/to/lottie/file.json"

I have no experience using lottie files.

satyam yadav

unread,
Jul 27, 2022, 4:25:32 PM7/27/22
to Kivy users support
actually i tried to do this  ut the icon did not set and talking about pre splash screen how i can set a image because it should be adaptivee and if   i make a image with logo in my center in image then how it will be done because the picture will get blurred so , how i can overcome this if i want to do some animation giffy kind of thing

Robert

unread,
Jul 27, 2022, 7:43:55 PM7/27/22
to Kivy users support
Please try to ask clear questions, one per sentence. The stream of consciousness approach is mostly unintelligible.

As far as I can tell the questions are:

1) how to edit a photo so it is not blurred - photo editing is off topic here.
2) how to get splash animation - as I said previously if you want animation use lottie (Buildozer option is in previous post), and I have no experience of doing this so I can't answer any questions about it.
Reply all
Reply to author
Forward
0 new messages