r/kivy • u/i_hate_coding123 • May 27 '25
Why does kivy break a lot?
I tried to make a mani game with kivy but it is breaking very often. It is so frustrating.
r/kivy • u/i_hate_coding123 • May 27 '25
I tried to make a mani game with kivy but it is breaking very often. It is so frustrating.
r/kivy • u/Curious_Ad5408 • May 18 '22
r/kivy • u/[deleted] • Jun 21 '19
I understand that the following line:
Config.set('input', 'mouse', 'mouse,multitouch_on_demand')
will disable the usually unnecessary right click multi touch function on laptops. However, right click will still provoke event as left click. How can I disable right click completely?
r/kivy • u/[deleted] • Jul 13 '18
Ive been using kivy for a while now, and im curious if there are any ports of kivy to systems like the PS4, XBOX, or Switch.
Does anyone know of any projects to support kivy on game consoles?
r/kivy • u/surfboardThrowAway06 • Jul 12 '18
Well after about a week of work I've pretty much given up on integrating swift frameworks into kivy projects. I was able to get the framework fully accessible from objective by adding @objc and @objcMembers to the classes, protocols and enums. My cython and obj-c wrapper for it all compiled fine but unfortunately the moment I added the swift framework to my xcode project the keyboard pull out would crash the app due to bad memory access. I think it's loading some swift code under the hood that takes over some of the objective-c classes. One of the sections of the thread logs had this __pyx_v_method_name char * "_swift_objectForKeyedSubscript:" 0x0000000199e98866. Not sure if this means it was trying to load a swift object or what as I'm not familiar with pyobjus. If anyone has any ideas how to get around this I'll be more and glad to try but for right now I'm chalking this up to not possible at the moment with kivy.
r/kivy • u/isyerindereddit • Oct 26 '18
Hello. I am trying to figure out how to generate a pdf file from the screen created in kivy. Screen is an a4 sized page with logo on the top writings in the middle and signatures on the bottom. Im trying to generate a pdf file of this document so i can email it with the rest of the python script.
r/kivy • u/[deleted] • Jun 08 '18
Here's the code.
Can I get some help getting the main button text to update to the selected button text from the dropdown? Thanks!
r/kivy • u/forgerty825 • Mar 16 '18
AWS, specifically dynamodb is of huge benefit in mobile. Service assumed, like a water supply, always on. Have been asked by 'selfishshellfish' here, earlier thread, to look into this. Am using pygame for android (PGS4A) myself, deployment using "rapt": 'python android.py --launch build /home/user/dep release install'. Works well. shellfish here has tried boto3. I have tried boto3 & gone further in debugging his problem.
Boto3 = android python client for AWS dynamoDB access. boto = community python client for AWS dynamodb access.
pastebin holds trial program, error output, deplploy with buildozer
someone else (manchester uk, both shellfish & I are also UK) .. posted on stack overflow that there is json problem with boto3. He resorts to boto2 .. He got boto2 working
boto2 is the advised "use boto3" boto2 is legacy as far as I can see.
I use python 4 android, I use rapt deploy =
https://github.com/renpytom/rapt-pygame-example
python android.py --launch build /home/dan/dep release install
I need some background on that
this I deployed boto with .. I managed to get boto deploying initially by copying the boto/botocore directories from /origin /usr/lib, into the deploy directory, so they end up on the device, can be imported. 1 is 11mb. That's no good, but I can't figure out how to include "requirements" into the .android.json, file that android.py appears to use for deploy. The "rapt" (via python for android given example 'hello world). Deployment is svelte. I was anti-buildozer until I saw all that it does.
So I get boto to import using python for android, but not to run. Reason, no ssl, no http because no ssl. Researching this, seeing what 'shellfish' has to get "boto" working with kivy (not sure if he has achieved that yet), the requirement = "openssl". So now I am with p4a, trying to get it to build with openssl. It requires ssl, AWS, boto requires SSL as 'secure communication layer' ..
no dice, because .. 1. I have no idea how to put ssl into requirements.
I then go to kivy to start looking @ putting 'boto' onto kivy. I am flailing around, get the kivy virtualbox deploy to work, was previous kivy user, before moving to p4a -- have assessed kivy, I like kivy, had managed to get "shellfish" (creating an app for UK social services), onto kivy, but I use p4a cos all my shit is pygame. I am then trying to move stuff from url/lib to the buildozer deploy directory I have .. etc etc etc. Supporting him for nothing. Need support to get boto. I want boto now also. It would replace my horrible attempts at filing systems.
In between, an attempt to package android app using p4a, .. saw that the p4a packaging, that is also a fundamental kivy packager, then provides an android app. That app isn't in APK format, needs bundling into APK. Im looking @ the way to bundle into APK which gets into eclipse, multi options, I do not want to use eclipse. I do not want to try it using the command line. It is a hugely complex task -- I see the reason for 'buildozer'. Was trying to use the p4a commands to get openssl into python-for-android.
I am looking at the rapt (python android.py) deploy, trying to figure out if the basis of that is p4a deploy. It does not seem to be. It is a very minimal, nice deploy but I can't get ssl into the package using it. I really need "boto3". I don't know where the PG4SA hello world originates, how it deploys p4a without using p4a. How it could be extended, how I could get it to include ssl.
Was thinking that it was a mistake advising this 'client' (selfishshellfish), to use kivy because, rather than java. would be sure that with android java deploy "boto3" amazon aws client, works 100%. More and more people will require boto with kivy. It really should work. The target market is mobile. Shellfish is doing mobile/IOT. Stuck, absolubtely.
selfishshellfish post earlier, re: this https://www.reddit.com/r/kivy/comments/82emte/gods_of_kivy_hear_me/
would change title of this to "please can we have boto3 with PG4SA, kivy
"selfishshellfish" / others know that Amazon AWS is now the goto place for cloud services, vs google/anything else.
I tested boto3 from ubuntu client with massive blocks > 100k blocks, it does not slow much, it does not break. Its amazing. It needs to be available from p4a/pygame for android=SDL2/kivy. I know a basis of kivy = "renpy". I know a basis of kivy is pygame.
thanks. help.
r/kivy • u/[deleted] • Jan 31 '17
In otherwords, can I make a widget with base class BoxLayout and bind things to its properties and vice versa?
r/kivy • u/Hench-Mark • Jun 07 '20
I need help creating a GUI like for a maths quiz. My code is below for my actual python game but i need a gui with just a simple input where you can put the answer. PLEASE HELP ME
r/kivy • u/rwnoon • May 30 '19
Can you create an iOS kivy package on linux or windows??
All the steps I've found seem to require osx which I don't have...
r/kivy • u/MonitorOk7887 • Mar 01 '21
is opencv recepie available for kovy or should i lokk to replace opencv work with some other library??? guys do help me i have searched a lot about it past days
r/kivy • u/opie32958 • Jan 23 '23
Tried on both Windows and Ubuntu. Followed the instructions on Kivy.org strictly. Ran into probably a dozen situations where error messages came up. Found advice for some of them on Google; sometimes the advice worked but whenever it did the next step would crash. About half the error messages were Pip blaming the problem on the package itself, which was a different package every time. Threw in the towel.
r/kivy • u/KeyWeeUsr • Jul 01 '17
r/kivy • u/Conscious-Pair-1750 • Mar 13 '25
Bonjour à tous,
Je programme une application mobile avec Python et Kivy/kivyMD et j'ai un soucis avec l'affilage des caractères japonais malgré l'utilisation d'une police spéciale. EN effet, je n'ai aucun soucis à afficher les caractères pour des boutons ou des titres mais pour l affichage de dans une barre de recherche mdtextfield par exemple ou bien dans des mddialog je n y arrive pas .....
Quelqu'un a déjà été confronté à ce soucis et aurait des astuces ?
Merci d'avance !!
r/kivy • u/gerald_conde • Aug 30 '19
The title sort of hints at the issue I have with Kivy. Well really not so much that it doesn't support that but the marketing. It clearly is advertised as cross platform for Windows and OS X ie. desktop OS'es. At least clearly state that it doesn't support that! I found some work arounds which look highly unpleasant and complicated. Things like Tcp/Ip etc.
r/kivy • u/AdriantheJamaican • Sep 01 '21
Hello everyone, How do ypu debug your android apps? By apk file or by .py file.
I've been trying debug my app which I created using python and kivy. I have no trouble compiling it or coverting it to apk but It just crashes when I open it on an android device.
I've tried all the recommendations...changing requirements in the buildozer.spec file, using ubunto, virtualbox, adb etc but nothing is working and I'm so frustrated and I feel like a failure because I just want to move on with my app.
I am being told that I need to do some usb debugging with adb and logcat or something like that. I tried to do that but it wont even detect my device and the platforms are so impossible to use. I've been searching every corner of the web for the past week for at least some sort of tip or help or SOMETHING!!! I'm pretty sure I've seen every debugging video that's ever been posted on youtube😭. But they're either not relevant or just completely confusing and assume that you already understand what you're doing. Can someone please help? Please please pleeeeaaaase tell me someone here has done this before.
r/kivy • u/Curious_Ad5408 • May 22 '22
r/kivy • u/Suspicious_Donut9131 • Mar 07 '21
r/kivy • u/coco_pelado • Mar 31 '17
I'd like to do a simple Android Bluetooth app (SPP profile), but seems the last Kivy release was in 2015, and many of the examples/documentation no longer work.
For example, I would love to do what's in this (German?) video https://github.com/brean/arduino-kivy-bluetooth https://gist.github.com/cuibonobo/10439718
However, the author writes that it does not compile with the current official Kivy Virtual Machine and suggests that it's doubtful a new kivy-launcher has bluetooth support (pybluetooth). Buildozer seems more active.. perhaps that can build this apk?
I also found this android java based bt spp library, http://www.akexorcist.com/2014/02/android-code-bluetoothspp-library.html
however since it's pretty old, not sure if it would work with Kivy (python/plyer). Perhaps newer versions of Android's bluetooth stack support SPP natively?
r/kivy • u/Exodus111 • Oct 06 '17
Here is the kivy part of the error, which are the last lines:
File "kivy/_event.pyx", line 199, in
kivy._event.EventDispatcher.__cinit__ (kivy/_event.c:4455)
File "kivy/properties.pyx", line 910, in
kivy.properties.DictProperty.link (kivy/properties.c:14623)
File "kivy/properties.pyx", line 827, in
kivy.properties.ObservableDict.__init__
(kivy/properties.c:12192)
ValueError: dictionary update sequence element #0 has length 6; 2 is requiredI could swear I have not touched a line of this code in weeks, as I have been working on some other code. The part of my code that activated this error is loading an NPC class that loads a bunch of images and properties, among them several dictionaries. But I swear it all worked, has anyone else had this issue?
r/kivy • u/ElliyasCSE • Oct 07 '17
After creating an application with Kivy, I want to install it on Django. How can I import it that will run? Please help me experts.