+ 1
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.
14 odpowiedzi
+ 4
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...
+ 4
RESONANCE :P super basics but won't run on sololearn
https://sololearn.com/compiler-playground/cbQ951E46Qgq/?ref=app
+ 4
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
+ 4
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...
+ 4
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 ...
+ 4
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...
+ 3
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.
+ 3
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.
+ 2
RESONANCE :P I've been in your shoe before and it's not a good situation. If you're so interested about app development, you will end up wasting time on kivy and the likes cos you will always find reasons to use Android studio with kotlin or swift.
Also at the early stage, you need to really be platform specific (android, iOS, Android tv, iwatch, car ui etc)
For app development, python isn't the go-to language. Get discouraged now that it's early before investing time in what won't help you
+ 2
Thanks RuntimeTerror for your suggestion, I really appreciate your answer. You can suggest me or you can give a roadmap for app development.
I wanted to kindly request to Sololearn to add a course based on app development.
Thanks.
+ 2
Roadmap to app development is very easy so far you're walking through the kotlin/swift path.
I will suggest you learn a bit of kotlin from "Head first kotlin" book then take the series of codelabs on Android studio website
+ 2
RuntimeTerror
good reality check.
RESONANCE :P
reality is Kivy can't really compete with Java, Kotlin or even js-native frameworks. not even close. it's target demographic is mostly Python hobbyists and enthusiasts.
I will not go as far as to call time invested in learning it as wasted, though.
You still level up your Python skills and if you just want a simple ui. it's a good fast way to create a working prototype for control interface for Arduino apps, for example.
But yes, if you're going to make lots of mobile apps, learn Kotlin, Swift, Java and JS.
As with everything, being versatile and having a wide skillset is always an advantage.
+ 1
RESONANCE :P then on YouTube is Phillip lackner... I would actually recommend his lessons and he have alot of them
+ 1
Thank you all the answerers that is BroFar, Bob_Li and RuntimeTerror for showing me the right path and guiding to it.
I hope that I will invest the same level of energy and time in learning kotlin now (because I found it to be more efficient and available to me than other languages) and I can guarantee that your precious time given to my question will help many people too.
I want to still request to Sololearn to add course related to kotlin and other languages too.
Thanks.