Hope you’re all doing well. Soo, I’m trying to create a android app with python. At the moment I’m using the Kivy framework to achieve that. For my App I would need to read the notifications from other apps. That’s already where my issue is. I know about their daughter project Plyer, but I only ..
This is my first question here and i am not a programmer by trade, i build machines and sometimes use programming to do secondary adjustments. This is part of a modbus HMI project in python. I create switches and labels iteratively but after that i cant reach their properties. As i said this was written ..
I can’t get widget from another class by id. I tried app.root.ids.first_lbl.text, but it didn’t work. Is there any way to do this? Here is my code: main.py: from kivy.app import App from kivy.uix.widget import Widget from kivy.uix.boxlayout import BoxLayout class MainWidget(Widget): pass class SecondWidget(BoxLayout): pass class MyApp(App): def build(self): return MainWidget() if __name__ == ..
I want a label to be added when I press a button. So I created a function in .py file. But if I press the button it shows "AttributeError: ‘LabelSDL2’ object has no attribute ‘bind’ ". I want the label in the python file. Because I will remove it later. What should I do? Python ..
I have made a simple app with kivy and using colab to compile I get a black screen on my phone and in BlueStacks. This is the app: main.py from kivy.app import App from kivy.uix.boxlayout import BoxLayout from kivy.uix.widget import Widget class BoxLayoutMain(BoxLayout): pass #main interface class MainWidget(Widget): pass #always add …App with mayus A ..
ok, look can anyone give an example in kivy .kv file of a button that is set to a command that when you press it,it will make a label beneath the button, I attempted this python from kivy.app import App from kivy.uix.widget import Widget from kivy.lang import Builder from kivy.uix.label import Label Builder.load_file("my.kv") class MyLayout(Widget,App): ..
thanks for having a look at my problem . I am still new to kivy and i know only somewhat basics of python . I am trying to create a chatting application using KivyMD . I was trying to add a dynamic list of friends ie friends list which is created by user but i ..
I have an app which makes use of kivy and kivy md along with python libraries like matplotlib. How and when do I install kivymd and matplotlib such that the kivy app runs on the Xcode simulator. I have tried installing matplotlib and kivymd via the toolchain pip install command but keep getting an error ..
I’m trying to develop a Kivy desktop app which needs to display trees in labels. The tree is just a string that looks something like this: " ┌ 3 n │n 1 ┤ ┌ 2 n └─────────────── 4 ┤n └ 5 " This works perfectly when operating inside the terminal, and the tree is aligned ..
I want to know if there is a way to create a gaussian blur effect in kivy without the screen refreshing so much when the widget is animated or its size changes. Whenever I put anything in an EffectWidget and resize the app, it starts blinking like crazy. Isn’t there an optimal way of doing ..