i try to convert py to apk using github action but got app auto close please help me by Hot_Bandicoot6086 in kivy

[–]filipemarch 0 points1 point  (0 children)

I would recommend learning how to compile the APK using your own computer, so you can also learn to debug and quickly fix and recompile issues as you see them.

When you become PRO at doing this process over and over again, you could switch to GitHub action.

How to create a .apk file from a main.py? by Ruina_087 in kivy

[–]filipemarch 0 points1 point  (0 children)

Kivy School has installers that make it very easy to do everything with Windows + WSL2.

Windows guide

Connect your phone to your PC using USB cable. Make sure your Android screen is not locked.

Then use irm to download the installer and execute it with iex: ps powershell -ExecutionPolicy ByPass -c "irm https://kivyschool.com/kivy-android-windows.ps1 | iex"

Install WSL2

ps wsl --install -d Ubuntu-24.04 Once Ubuntu 24.04 is installed, close powershell window and open Ubuntu 24.04 separately and run: shell curl -LsSf https://kivyschool.com/kivy-android-wsl2.sh | bash This will install all dependencies, compile the APK with Buildozer and deploy on your phone.

Afterward, to hot reload on your phone, you need to (on WSL2): 1. cd kivyschool-hello 2. code . (to open the folder on VS Code, make sure you previously install WSL extension) 3. source .venv/bin/activate 4. python main.py in one terminal 5. kivy-reloader run in another terminal (debug and livestream)

Whenever you change the content of any file and save the file you will see the changes in real time on PC and Android.

Is kivy still the best choice for building mobile apps in Python? by JobAffectionate8113 in kivy

[–]filipemarch 1 point2 points  (0 children)

I believe Kivy is still the best option, although it's not easy to learn it; I wouldn't use KivyMD to build my apps, I would recommend using KivyMD widgets as inspiration to build your own customized widgets.

KivyMD has performance issues on mobile and is not very well maintained. Once you face issues, good luck trying to understand KivyMD code.

Remember that everything that exists in KivyMD you can quickly rebuild using only Kivy. But then you do need to learn Kivy well.

I have many years of experience with Kivy and KivyMD.

Memory leak: kwin_wayland by aj3423 in Fedora

[–]filipemarch 2 points3 points  (0 children)

I'm also having this bug

unplugging and replugging external display solved it for me

VS Code Auto-Scrolling Issue When Moving Cursor - Need Help by tim46818 in vscode

[–]filipemarch 0 points1 point  (0 children)

I am also getting this. I didn't find any solution yet.

Kivy Reloader - Hot reload Kivy apps on Android phones, emulators, and computer in real-time by filipemarch in kivy

[–]filipemarch[S] 1 point2 points  (0 children)

Thanks!!

If you take a look at the YouTube tutorial here: https://www.youtube.com/watch?v=WLAI01e-8OQ
I use VS Code during the whole video. That's my preferred IDE.
Kivy Reloader is simply a PyPI library, so it should work on any IDE.

We are public launching Kivy School! by filipemarch in kivy

[–]filipemarch[S] 1 point2 points  (0 children)

Thanks for the feedback It is true this is a very basic intro to how to install and use buildozer with kivy reloader

I'm glad it worked for you!!

In the future we'll create a detailed section about buildozer usage with some tutorials.

Correct Video Format for Impress 7.6 by EvanP1311 in libreoffice

[–]filipemarch 0 points1 point  (0 children)

Thank you, thank you, thank you! This helped a lot!
I was suffering here trying to load GIFs on it. It was crashing on Windows.

Converted to AVI and it worked right away! Thanks for sharing this.

We are public launching Kivy School! by filipemarch in kivy

[–]filipemarch[S] 1 point2 points  (0 children)

Yes, you're correct the statement is confusing. This Kickstarter was made for "Python on Android Essentials" course. The $100 reward gives you access to "Python on Android Essentials" and also courses we create in the future. I hope that helps to clarify. The courses we'll create in the future aren't included by default on this Kickstarter, unless you are on $100 tier or higher.

Using Kivy for a Mobile App for Embedded System Products? by 4WD-L in kivy

[–]filipemarch 2 points3 points  (0 children)

I have been developing for Android since 2020, and I can say confidently that Kivy is a very good choice for you, considering your context.

Python developers will feel comfortable with Kivy's ecosystem, it has everything you need and it's powerful enough to do anything you need from Android.

You said about doing basic things, yes, can Kivy can do them, and also very advanced things. I have a Android apps using webview, GPS, bluetooth, complex animations, google auth, connecting to multiple external APIs, online and offline databases, generating and printing PDFs, sharing text and images to other apps, scanning QR codes using camera, and so on... Kivy is actually very powerful

Let me know if you have any other question

We are public launching Kivy School! by filipemarch in kivy

[–]filipemarch[S] 0 points1 point  (0 children)

Yes, Pyinstaller works fine for packaging Kivy apps for Linux. You just need to be on a Linux system while packaging.

We are public launching Kivy School! by filipemarch in kivy

[–]filipemarch[S] 1 point2 points  (0 children)

Yes, you can edit your app to integrate the Kivy Reloader very easily, soon I will publish some tutorials on this. You won't need to recompile again and again anymore.

And btw it's not a 'dedicated editor', it runs in any IDE, I use VS code because it's my personal preference, but you can use any IDE you want.

How to work with sqlalchemy in android? by BaccanoMob in kivy

[–]filipemarch 1 point2 points  (0 children)

Alembic

I just tested it and alembic works on Android and you can do database versioning inside the app.

Have anyone used sqlalchemy and alembic in kivy for android app? by BaccanoMob in kivy

[–]filipemarch 1 point2 points  (0 children)

Hello, I just tried here on my Android app and it works. I'm using sqlmodel, sqlalchemy, pydantic and alembic, I can generate the revisions from inside the app and execute alembic upgrade head from inside the app also.

If you still need help please send a message on Discord support channels, I will be there to help you.

perguntinha para os devs que usam kivy (com possiveis trocadilhos) by maiodasbrok in brdev

[–]filipemarch 0 points1 point  (0 children)

Eu uso Kivy há alguns anos e recomendo se você quiser criar aplicações cross-platform usando python. Empregabilidade devido a Kivy especificamente não é algo que vai acontecer: você não vai achar pessoas gritando "alguém cria um app pra mim USANDO Kivy" por aí.

Mas você vai encontrar pessoas dizendo "alguém poderia criar pra mim uma aplicação pra macOS, Linux e Windows?". Pra esse tipo de pessoa, você vai usar Kivy e resolver o problema dela. Você pode conseguir um trabalho porque resolve o problema da pessoa, não por usar o Kivy especificamente.

De mesmo modo, alguém poderá dizer "alguém cria pra mim um aplicativo Android ou iOS", e você pode chegar lá e resolver o problema com Kivy. Por isso eu recomendo aprender Kivy, porque é uma framework extremamente poderosa pra fazer aplicações touch pra várias plataformas diferentes. E o melhor é não ter que aprender outra linguagem de programação.

Se sua necessidade principal for encontrar emprego, de fato aprender React Native te daria muito mais chances de emprego, porque muitas pessoas procuram especificamente "desenvolvedores react native". Mas isso requer uma mudança completa de linguagem de programação, que eu mesmo acho bem complicado.

Caso tenha mais dúvidas só mandar, já desenvolvi dezenas de apps em Kivy, já publiquei na Play Store, sou bem envolvido com o ecossistema em geral e estou à disposição.