Questions tagged [kivy]

Kivy is an open source Python library for rapid development of cross-platform applications equipped with novel user interfaces, such as multi-touch apps.

Filter by
Sorted by
Tagged with
0 votes
0 answers
22 views

Why do i get black screen instead of frames in my kivy app

So i have kivy app that shows real time frames that it got from server side program on pc. While running on pc it works fine but when running on phone it shows black screen instead of frames (only ...
BerCogged's user avatar
-1 votes
1 answer
28 views

If statement not being executed in Kivy

I'm creating an application in Kivy that allows users to keep track of statistics while watching a wheelchair basketball game. I've created buttons representing the statistics and when pressed I ...
PythonNewbie's user avatar
0 votes
1 answer
71 views

how to make ProgressBar thicker

I need to make my ProgressBar thicker as in example, and i dont know how to change thickness of the ProgressBar. Changing height does not help at all, even when size_hint`s are None there is a kv ...
Sulek Levrone's user avatar
0 votes
0 answers
15 views

why HoverBehavior in kivymd work in further distance of the considered widget?

I am trying to make an application. I start with the menu and I am designing the clickable items. I try to make a hover behavior and I made it. but when I run the program the hover behavior effects ...
AmirHosien's user avatar
-1 votes
1 answer
29 views

Kivy language cannot reference id with python code

I read a Kivy document to reference a widget like self.ids.widget_id.text = "". In my code, I used the same code I read to change the label widget to data, which is received from the ...
Taewan Vitooreangrong's user avatar
0 votes
0 answers
26 views

Using Googles' Noto Color Emoji font in python kivy project

Environment: Python 3.10.12 Packages: certifi==2023.11.17 charset-normalizer==3.3.2 docutils==0.20.1 idna==3.6 Kivy==2.2.1 Kivy-Garden==0.1.5 Pygments==2.17.2 requests==2.31.0 urllib3==2.1.0 main.py:...
Daniel's user avatar
  • 17
0 votes
0 answers
17 views

How to use emulator for a kivy App. But I do not know how to do that. Just trying to do a demo

I built a kivy (kivymd) app and I want to do a demo. I would like to do that through an emulator. Anybody has any knowledge about that?
She-Codes's user avatar
0 votes
0 answers
13 views

Kivy FadeScrollView whit RouletteScrollEffect. How can i get the selection?

I have in Kivy a FadeScrollView whit a RouletteScrollEffect in a Dialog and I want get the selection where it stoped. How can i get the selection? I saw in the documentation that there is this event ...
Bommel's user avatar
  • 1
1 vote
0 answers
20 views

MD.get_running_app().root.ids are empty in android but on pc it runs fine

I am making one app using kivymd. The app runs fine onto computer with python compiler but after i upload on android using adb install, it crashes.I have checked the logcat also. Actuallly the root....
Rishabh's user avatar
  • 21
0 votes
1 answer
33 views

Issue while installing kivy using setup file

I was trying to install kivy using the setup file by using the following command python setup.py install --single-version-externally-managed --root=/ but I am getting index error IndexError: tuple ...
Nithish Duraikannan's user avatar
0 votes
0 answers
25 views

How to resolve errors related to Cython compilation of the Kivy in the Buildozer packaging of the kivy app for android 13

I ran the following the buildozer code for the packaging a kivy app for an android environment !buildozer -v android debug I am getting the following error snippet showing a series of errors related ...
Fluid Homer's user avatar
0 votes
0 answers
17 views

How to set fixed height of the MultilineTextField in KivyMD

I am trying to set a fixed height for MDTextField: MDTextField: id: 'feedback_text' hint_text: 'Description of the problem' multiline: True mode: 'rectangle' size_hint: None, None ...
Максим Игрок's user avatar
-4 votes
0 answers
28 views

How can I design GUI to put second layout on first layout in Kivy [closed]

I have a GUI design like this image. GUI How can I use Kivy to design the layout? I mean, the first layout has only a search textbox, and the second layout is the first layout. This is the layout that ...
Taewan Vitooreangrong's user avatar
0 votes
1 answer
56 views

Why do i get socket timeout error in kivy android app

I am making app for real time detection of some object and detecting when was last time it moved. I made python object detection and made it server so that it sends frames on mobile kivy app that is ...
BerCogged's user avatar
0 votes
2 answers
52 views

Not able to add images and .kv file in exe file

When exe file of my app created by pyinstaller it is keep showing errors and now this is the last error i found Traceback (most recent call last): File "TestAnalysis.py", line 1, in <...
Learner's user avatar
-2 votes
0 answers
19 views

Using Google map in my app to locate any shop in my city [closed]

Actually I have been making an app in kivy/kivymd which show details and location of any shop in my city with the help of Google map, when an user for a specific shop. But I don't know how to use ...
Defence Exhibition's user avatar
0 votes
0 answers
4 views

P4A/ Kivy how can I upgrade the gradle version?

Has anybody ever tried to upgrade the gradle version? It seems like the developer branch of p4a uses gradle 7.1.2 which is about 2 years old.
ohshit's user avatar
  • 13
0 votes
0 answers
32 views

Unnecessary black window appears when increasing Kivy's Import statement

I have learned how to make Multiprocessing and Kivy work from past questions. However, I noticed that when I add some Kivy library Imports to this code, an unwanted black window appears. The following ...
taichi's user avatar
  • 647
0 votes
1 answer
16 views

Resize Dialog Box in KivyMD

I am trying to have a dialog box to contain a MDTextField and a keyboard. I want the dialogue to contain all the data. But, it is showing me that I applied some size to the dialog box by showing a ...
She-Codes's user avatar
1 vote
1 answer
37 views

Python Kivy collide_point() not recognizing when mouse cursor hovers over widget

In Kivy I've tried to create a button or widget that changes color/text/cursor-type/etc when the mouse cursor hovers over it. Per suggestions online I used the collide_point() method. But I'm running ...
mishaeel's user avatar
0 votes
0 answers
15 views

Using ids of a MDTextField in KivyMD

Here, I am having a MDTextfield that should take values as I type on the characters on the keyboard. But for some reason, the characters are clickable and respond, but they do not get written into the ...
She-Codes's user avatar
0 votes
0 answers
45 views

How to fully resolve errors in packaging a Kivy app for Android that arise from the file configure.ac of the libffi package?

Can anyone help me with some insights into resolving the following error in using the buildozer -v android debug command: [INFO]: Building libffi for arm64-v8a [DEBUG]: Create directory /content/...
Fluid Homer's user avatar
-2 votes
0 answers
47 views

cannot import name 'sep' from 'posixpath' (/library/Framework/Versions/3.10/lib/python3.10/posixpath.py)

"Frames are not available" in debugger: I am trying to create a game using Python and Kivy. I am using the PyCharm IDE. Issue is: When I am trying to debug the code, In the console I get ...
Build Dev's user avatar
0 votes
0 answers
36 views

Kivy: calling app.config.get in .kv only returns string values bounded by " ", even with raw=True - the same call in .py correctly returns raw string

I am attempting to use a settings.ini file within a kivy project. This settings file is simply a list of filepaths to various graphical assets. In the .py file, all calls to self.config behave as ...
Evala's user avatar
  • 1
0 votes
1 answer
29 views

How to get a kivy file .kv widget id from a python .py file

My Kivy app has the following structure: screens/home.py screens/home.kv screenmanager.py screenmanager.kv main.py Does anyone knows how to get from home.py an id inside home.kv? screenmanager.py ...
rmpython code's user avatar
0 votes
1 answer
27 views

How should I implement collision handling in my 2D game? (Kivy in Python)

I would like to implement a collision logic for a head soccer type game. I have a Ball and a Player class and would like them to interact seemlessly by using physics simulation. I have tried ...
Petr Michovský's user avatar
0 votes
0 answers
24 views

My Minimax algorithm for a Chess game is not working as expected ( Using Kivy Framework, Python )

Background: I am trying to develop a Chess game which allows the user to play against the computer using Kivy framework in python and the minimax algorithm. The way I made the game is weird to begin ...
Abdalla Elgali's user avatar
0 votes
1 answer
29 views

kivy buildozer error - Error compiling Cython file

I am building the kivy app using buildozer, buildozer android debug deploy run for this command, i got this error - kivy/core/image/_img_sdl2.pyx:35:18: Cannot assign type 'size_t (*)(SDL_RWops *, ...
Vishak Raj's user avatar
1 vote
1 answer
23 views

Drawing a Rectangle in a Kivy GridLayout within a TabbedPanelItem

I'm facing an issue with drawing a rectangle in a Kivy application within a GridLayout that is a child of a TabbedPanelItem. The problem is that the rectangle is not being drawn within the specified ...
Tomy Tv's user avatar
  • 11
0 votes
0 answers
26 views

I a having this problem maing dictionary attack wifi python from android how can i fix this

I got this error trying to connect wifi using wifidroid module . I can't understand what type of problem is this. Is it termux or python or any other. code GNU nano 7.2 mywifidict....
user22980990's user avatar
0 votes
1 answer
17 views

Kivy, Python: Layout with nested rules produces no output of child widgets

I have a simple App, that is supposed to use a ScreenManager for different screens. When I create one of my Screens and make it the app.root widget everything works fine. But as soon, as I put my ...
Wamseln's user avatar
  • 113
0 votes
0 answers
29 views

Why does Kivy not run when I try to add a TextInput box?

So the problem i'm having is my Kivy application won't startup up if there is a TextInput field within the application. (I'm using Pycharm Community Edition) An application with just Labels will run ...
Goon-Bug's user avatar
0 votes
1 answer
17 views

Hls video player in kivy or KivyMd

I have made a streaming website and want to make an app for it. The backend of the website is made in Python as I am a Python developer and want to make an app for it but the problem is that I do not ...
Shuvadip Ghosh's user avatar
0 votes
0 answers
29 views

Black screen in Python Kivy label widget

I am creating a small project in Kivy/KivyMD and I have faced an issue with label widget. When I try to set really big text for the label, the label widget becomes completely black (like in the ...
Николай Чаптыков's user avatar
0 votes
1 answer
31 views

Buildozer - Log doesn't show specific error

I'm trying to build .apk with kivy/buildozer in VM Mint Linux. Actually i just created .apk successfully about 1 week ago. But now i created new folder and tried minimal kivy example for build but it ...
320V's user avatar
  • 455
1 vote
1 answer
15 views

how to use remove_widget?

i tried to make a simple program but i have problems with remove_widget. Also i checked many posts and sites but i couldn't find answer from kivy.app import App from kivy.uix.button import Button from ...
Programmer's user avatar
0 votes
1 answer
24 views

Kivy using kv file. Gridlayout size hints not working

As the heading suggests, the FileChooserListView is taking up the whole Grid, not just 50%. class MediaSorterScreen(GridLayout): def __init__(self, **kwargs): super(MediaSorterScreen, ...
Jeffrey Menashe's user avatar
0 votes
0 answers
27 views

Make Kivy Data on Android Persistent

I'm working on an Android app using Kivy, and an important part will be saving data that can be retrieved whenever the app launches. However, I want to make sure that if the app needs to update, the ...
Sean Aldous's user avatar
0 votes
1 answer
18 views

How to change the icon size in a Kivy FileChooserIconView

I added a FileChooserIconView to my Kivy application. I want the icons to be bigger i just dont know how. FileChooserIconView: id: kv_file_manager_icon pos_hint: {"x": 0.25} ...
Tomy Tv's user avatar
  • 11
0 votes
1 answer
34 views

How to automatically scroll to a position in a ScrollView (Kivy)

I need to have a ScrollView with a GridLayout inside of it, and then add a varying number of labels to it. I was able to build this with the code below, and the Kivy scroll works beautifully. But I ...
mishaeel's user avatar
1 vote
2 answers
61 views

How to make the border appear when hovering over a button in Kivy

I started learning Kivy recently and I can't believe that such simple things like creating buttons and adding basic behaviours to them like hovering over them etc are so difficult and unintuitive. My ...
dm123's user avatar
  • 13
0 votes
1 answer
81 views

Android write problems PermissionError: [Errno 13] Permission denied

I wrote a script that updates exif data of the WhatsApp images. I wanted to run it on my Android phone using Pydroid app, however I end up with the PermissionError: [Errno 13] Permission denied error. ...
Filip Szczybura's user avatar
0 votes
1 answer
44 views

Referencing a variable from a different screen in kivy

I need to reference the variable name_input in TalkBot screen. Here is the code: import kivy kivy.require('2.2.1') import pyttsx3 from kivymd.app import MDApp from kivy.uix.screenmanager import Screen,...
Spaceyy64's user avatar
1 vote
1 answer
27 views

Combine video and audio with moviepy in mobile app

import moviepy.video.io.ffmpeg_tools as mvp def Merge(self,title:str): # Kombiniert die Video und die Audiodatei self.percent.text = "Verarbeiten..." os.rename(f"{self.outpath}/...
GoodGameCrafter's user avatar
0 votes
0 answers
43 views

Issue with psycopg2 SSL Support when Converting Kivy App to APK

I've developed a Python Kivy app that runs fine on Windows. To convert it into an APK file for mobile devices, I'm using python-for-android with a GitHub workflow. However, attempting to launch the ...
Si110n's user avatar
  • 1
0 votes
0 answers
18 views

Pyinstaller Kivy Error while compiling: FileNotFoundError: [Errno 2] No such file or directory (...)

Trying to compile with pyinstaller I get this error 256935 WARNING: stderr: FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\F\OneDrive - Universidad Católica de Chile\Python Files\...
Feco's user avatar
  • 1
0 votes
1 answer
20 views

Cannot import MDTextField from Kivy

i'm trying to build an app using Kivymd and the only one package that is not working for me is the following: from kivy.uix.textfield import MDTextField enter image description here i tried updating ...
Grizzly's user avatar
0 votes
0 answers
13 views

Apply kivy touch behaviours at the root: Be able to sense the double, triple tap, and long touch anywhere on the main screen

Here, I have a root (in kivy file) which is the only screen of my app. Now, would like to detect double, triple, and long touch on the screen. But, I want that to be detectable anywhere on the screen,...
She-Codes's user avatar
0 votes
0 answers
23 views

Kivy with touchscreen call twice the function but not with mouse

I am on a projet for school using kivy on Rasp pi 4 Model B. When i use my mouse ( with vnc), function get call one time but when i use touchscreen, funtion get call twice. I have already try some ...
DamanZ4's user avatar
  • 21
0 votes
0 answers
26 views

Python Kivy Zbarcam compiled with Buildozer for Android crash

I'm working on an app for Android using Kivy and Zbarcam. I can run it fine on my computer fine and package it fine, but when I put it on my phone, it crashes instantly. I've stripped it back to the ...
Sean Aldous's user avatar

1
2 3 4 5
274