Skip to content
Advertisement

Tag: kivy

How to go to second page in kivymd python

I have the first page with login and perform checking on the .py file with database (sqlite3). Now the problem is how do I go to another page after perform the checking. Here I use the sm.windowManager but it does not work and give me a blank page. Is there anything can help me to go to other page on

Why is kivy not working in Visual Studio code?

I was writing a piece of code with kivy with all the packages installed. When I run the code it still shows “No module named kivy”. The modules were installed from both the command prompt and the VS code terminal though this code had worked fine just a few days ago. Today i opened it and it showed me this

Kivy: Control + Backspace in TextInput to delete token

I’m trying to get my TextInput boxes to recognize a ctrl+backspace keystroke to backspace an entire token (like most modern programs). So far, I have this: I’m not sure how to detect the previous token from the cursor and delete it without interfering with the existing behavior of the do_backspace() method. Fyi, I am still using Kivy 1.11.1 and Python

Kivy adding text to ScrollView

I’m coding a dictionary app with kivy. I want to get text from textinput and create a scrollview widget and add results to widget. Answer First of all to get the text from your TextInput use self.input_.text, it will give you the text in your text input. Use this in your self.search function. Then you can get the results by

Why is builder not finding JSON?

I am trying to deploy my kivy app to Android. The problem is that every time I run buildozer android debug deploy run logcat I get this Here is the link to the output of Buildozer: https://pastebin.pl/view/63f40402 The problem from what ive seen is around line 630 in the pastebin. I can see that Buildozer is making a request to

Kivy GridLayout Error : have no cols or rows set, layout is not triggered

I’m trying to make a simple app that takes name, grade, language (just for practice). Here’s the Code: Although it runs I get the layout all wrong and just the button on the screen with following error: [WARNING] <kivy.uix.gridlayout.GridLayout object at 0x04254108> have no cols or rows set, layout is not triggered. Answer You are getting that error because you

Intergrate PayPal checkout with Kivy app?

I was wondering if it is possible to integrate a PayPal checkout into my kivy app? I want the total to be determined based on a variable in my python kivy code named cart. So far, I haven’t seen anything online with this subject. Any help would be appreciated! I have this simple code that can describe more what I

Python: how to open a file using system app on Android

The goal is top open a file in Android’s default app For example, an image in Gallery The file path is known. I’ve searched a lot but could not find any answer. (I am making a kivy app and then building an apk using Buildozer) Answer Found a solution, https://github.com/kivy/plyer/issues/500#issuecomment-565532048 This uses Fileprovider and pyjnius

Advertisement