Skip to content
Related Articles

Related Articles

Setting custom splash screen in Kivy android app

Improve Article
Save Article
  • Difficulty Level : Expert
  • Last Updated : 06 Jun, 2021
Improve Article
Save Article

Kivy is a platform-independent GUI tool in Python. It can run on Android, IOS, Linux and Windows, etc. This is the only GUI library from python which can independently run on the android device even we can use it on Raspberry pi also.  It is an open-source Python library for the rapid development of multitouch applications. Its graphic engine is built over OpenGL, and it also supports a fast graphics pipeline.

In this article, we will see how we can add a custom splashscreen in kivy android app!

Getting Started

Basically, our motive is to show you how you add a custom splash screen that’s why we haven’t added anything thing on the main screen of the app except a center green box which denotes the app is working properly. And we are using our geeksforgeeks logo as a custom splash screen for this application.


# importing Kivy App
from import App
# importing builder from kivy
from kivy.lang import Builder
# this is the main class which 
# will render the whole application
class uiApp(App):
    # method which will render our application
    def build(self):
        return Builder.load_string("""
# running the application

Steps for connecting phone with device:

Step 1: Connect USB with your phone and pc and allow Transfer Files in the phone’s generated popup.

Step 2: Then go to the phone’s setting and unlock developers mode in your device (if you haven’t) you can make yourself a developer by clicking several times on the build number in your phone.

Step 3: Then goes to the developer option that you have unlocked recently allow the USB debugging option.

Now you can successfully transfer files from pc to android phone.

Steps for compiling apk(or deployment):

Step 1: create a .spec file using a bulldozer, you can create your .spec file using the command ‘buildozer init’.

Step 2: open that .spec file in the text editor, after opening that file remove # from the beginning of this line.

Step 3: Pass the image path in this line

Step 4: Now attach USB cable to your android device and pc

Make sure that you have turned on USB debugging mode in the android device, now run the command ‘buildozer android debug deploy run’

Now check the app icon in your device:

My Personal Notes arrow_drop_up
Related Articles

Start Your Coding Journey Now!