0
App Development
How can I develop apps? Is there any course here which teaches about kivy or something which help me to build an app? I am still learning python but I learnt enough to make a simple basic app, I only want the basics of app development and some functions that are used to develop apps in kivy.
8 ответов
+ 3
there is the kivy documentation:
https://kivy.org/doc/stable/gettingstarted/intro.html#
there's also a kivy school:
https://kivyschool.com
as well as lots of YT videos...
+ 3
RESONANCE :P super basics but won't run on sololearn
https://sololearn.com/compiler-playground/cbQ951E46Qgq/?ref=app
+ 3
RESONANCE :P
if you're using Android phone, you could try installing Pydroid 3
search for 'Pydroid 3' in Playstore.
you can run kivy code in it.
I copy-pasted BroFar's code and it worked beautifully in Pydroid 3
+ 3
The biggest part is learning how to install kivy in bash and creating your own python file and executing it
# 1. Go to your project directory or create one
mkdir my_kivy_app
cd my_kivy_app
# 2. Create a virtual environment
python3 -m venv venv
# 3. Activate the virtual environment
source venv/bin/activate
# 4. (Linux only - install SDL2 dependencies if needed)
# sudo apt update
# sudo apt install libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev \
# pkg-config mesa-common-dev libgl1-mesa-dev libgles2-mesa-dev
# 5. Install Kivy
pip install "kivy[base]" kivy_examples
# 6. Create your Kivy Python file (e.g., main.py)
# nano main.py
# (Paste the Kivy code above, save, and exit)
# 7. Run your Kivy application
python main.py
Thanks Bob_Li for verification...
+ 3
Continue to learn the basics / fundamentals from the app as they will definitely help you moving forward. Just as learning turtle module, brython and so on as these will help in structure ...
+ 3
RESONANCE :P
a hello world project like BroFar's code, is a good starting point.
have you tried copy pasting the code to see what it does?
the kivy website have good tutorials and sample codes on how to get started.
it is also good if you have some other experience in creating gui apps, like Tkinter or web design.
familiarize yourself with simple tutorials. copy paste the codes, but also try to understand what each line does. tweak and experiment.
make sure you have a good grasp of the basics before starting a more complex project.
it's a complex system, so you will not be able to learn it in a day . or from just one project.
using AI to vibe code an app without having any idea on how it works is a recipe for disappointment and headache...
+ 2
RESONANCE :P
adding to BroFar's tips, Packaging for Android is the difficult part.
Buildozer is the preferred method, so it's good if you have access to Linux.
+ 1
Thank you BroFar and Bob_Li for your wonderful and really helpful answers but I have to add somethings:-
1) I have a laptop so android is not the only option.
2) I already installed kivy and created virtual environment by following vscode's official video in VSCode.
3) I tried to build apps with the help of ChatGPT, but I found that it wasn't too effective for me.
4) I am a new programmer, i know some python basics like loops and functions and other stuff too but the problem I don't know how to create structure of the app, i took help of ChatGPT but it wasn't too helpful.
Once again thank you for your precious time and I hope it will help a lot.
You can give me some suggestions, like what I have to do first, like understanding app structure from somewhere else or should I complete the whole python course of sololearn, it will be very helpful to me.