Create a Calculator App in Minutes - Android Studio Tutorial

  Рет қаралды 79,829

Codes Easy

Codes Easy

Жыл бұрын

In this tutorial, you'll learn how to create a calculator app in minutes using Android Studio. By the end, you'll have a working app that you can test on your phone or device.
This calculator app tutorial is a great way to get started with Android development! In this video, we'll take you through the entire process of creating a calculator app in Android Studio. This app can be used by students throughout the world, so be sure to give it a try!
Download Source Code: youtube.codeseasy.com/2023/si...
########## For Doubts (ask it here) #########
Discord: / discord
Whatsapp group: whatsappgroup.codeseasy.com
#####################################
########## For Business Queries ##########
Contact us for any business queries:
Email: mail@codeseasy.com
Phone number: +918281536333
WhatsApp: whatsapp.codeseasy.com
####################################
Find us on Social Media:
Website: www.codeseasy.com
Telegram: t.me/CodesEasyOfficial
Facebook: / codeseasy
Instagram: / codeseasy
Twitter: / codeseasyblog

Пікірлер: 108
@user-dg7fu8he9n
@user-dg7fu8he9n 2 ай бұрын
thank you so much, Everything was clear and simple, (I had a problem with the switch but it worked with if)
@Account-user
@Account-user Ай бұрын
Sir it is showing error running app no target device found when I am running the mainactivity... What to do??
@pop-os9yk
@pop-os9yk 3 ай бұрын
which version of android studio are you using?
@muhammadardialfianto6493
@muhammadardialfianto6493 8 ай бұрын
1:39 you type in your code in this arrangement : android:layout_gravity="center" android:textStyle="bold" android:textSize="30sp" It should be in that order ? Or we can put it in randomly ? And, does this code work for Android Studio Giraffe ?
@CodesEasy
@CodesEasy 8 ай бұрын
You can put it to the element you want to apply these properties, any order is fine
@saurabhgaming1197
@saurabhgaming1197 11 ай бұрын
Thanks sir for this video
@CodesEasy
@CodesEasy 11 ай бұрын
Most welcome
@user-px5pj7ux5k
@user-px5pj7ux5k 9 ай бұрын
Its very nice, but please don't rush the teaching, it's better to thoroughly explain each step for what and how it works. ❤
@CodesEasy
@CodesEasy 9 ай бұрын
Ok, thank you
@autofast8835
@autofast8835 Жыл бұрын
i use it for my homework thanks❤
@CodesEasy
@CodesEasy Жыл бұрын
You're welcome 😊
@muhammadasyraf3584
@muhammadasyraf3584 Жыл бұрын
hello sir thanks for sharing the education, i have question for you, why you use linear layout instead use constraint layout? imo constraint layout more option for layout, thanks for answer
@CodesEasy
@CodesEasy Жыл бұрын
You can use constraint layout, for this a constraint layout will be a better option too. It's just easier for beginners to understand with linear layout
@muhammadasyraf3584
@muhammadasyraf3584 Жыл бұрын
i see, thank you very much for answer. it's nice tutorial, keep it work!
@sonvenasushil2139
@sonvenasushil2139 Жыл бұрын
How to remove error Case R.id.btn Constant expression required
@CodesEasy
@CodesEasy Жыл бұрын
What is the error message.
@user-uq5ux2bx3v
@user-uq5ux2bx3v 5 ай бұрын
I also get the same error. Anyone who knows to solve this without using if else, please reply!!
@dcm6267
@dcm6267 5 ай бұрын
same error. how to fix it?
@nidhipote2730
@nidhipote2730 3 ай бұрын
Same error!!
@Account-user
@Account-user Ай бұрын
I was getting the same error but then I switched to the if structure, it's working now.
@safwenyahyaoui2821
@safwenyahyaoui2821 5 ай бұрын
sir i cant allign the buttons , am having them vertically any solutions ?
@RadhikaKapoor-co3bl
@RadhikaKapoor-co3bl 11 ай бұрын
Such a great tutorial for beginner. Really appreciate. I am unable to download source code ,kindly help to get code for practice.
@CodesEasy
@CodesEasy 11 ай бұрын
Check the description for source code
@AbhayKumar-ks7fh
@AbhayKumar-ks7fh 11 ай бұрын
@@CodesEasy the link to the source code is not working.
@xdgogo5231
@xdgogo5231 Жыл бұрын
How to resolve the error "Constant expression required" on case R.id.btn_add:?
@CodesEasy
@CodesEasy Жыл бұрын
This happens if you use Resources from a Library project. In that case, the the ids in the R class are not really constants and thus cannot be used in a switch statement.
@xdgogo5231
@xdgogo5231 Жыл бұрын
@@CodesEasy and how can I fix it?
@TheRNB
@TheRNB Жыл бұрын
@@xdgogo5231 Well, I also got that error so I converted the switch statements into if-else statements instead.
@tnspeedy6444
@tnspeedy6444 Жыл бұрын
How to change switch to if statement
@n-aera
@n-aera Жыл бұрын
@@tnspeedy6444 right click on "switch" and use the context menu to translate the switch to if statements
@nandhini55
@nandhini55 2 ай бұрын
Sir i got constant expression required error in swicth case what to do sir?
@humbertodx
@humbertodx Ай бұрын
Me too :(
@YAMAHA_FAN_BOi_95
@YAMAHA_FAN_BOi_95 7 ай бұрын
Sir i need to make a app having 4 custom put values arithmetic answers
@CodesEasy
@CodesEasy 7 ай бұрын
Ok. You can ask if you have any doubts on our discord or WhatsApp group
@user-kd4nk4fi8n
@user-kd4nk4fi8n 4 ай бұрын
I am getting error Constant expression required 4 times because of cases you used how can i fix it i think we need to import something can i get the import code
@dhruvgadhavi843
@dhruvgadhavi843 4 ай бұрын
same i ve problem if you solved just reply me back
@humbertodx
@humbertodx Ай бұрын
same error!! you resolved?
@manyalajagadeesh3310
@manyalajagadeesh3310 8 ай бұрын
great work
@CodesEasy
@CodesEasy 8 ай бұрын
Thanks!
@abdulrahman9795
@abdulrahman9795 Жыл бұрын
can i get thee complete code ?? front end and back end bothj ??
@CodesEasy
@CodesEasy Жыл бұрын
Check the description
@harshildave3621
@harshildave3621 5 ай бұрын
idk why i am having error in switch case, errors are coming in all line which contain case. The error is Constant Expression required. Can anybody help me out pls
@CodesEasy
@CodesEasy 5 ай бұрын
change switch to if else
@md.ziaurrahman1452
@md.ziaurrahman1452 8 ай бұрын
how to show . 33 after divided 2 decimal place code pls
@CodesEasy
@CodesEasy 8 ай бұрын
You can format it
@SumitKumar-wo5jq
@SumitKumar-wo5jq 5 ай бұрын
It is showing constant expression requires
@anjanprajapati6642
@anjanprajapati6642 4 ай бұрын
Hello Sir I Have A Error And it is a constant expression required error on case R.id.button . how to solve it sir .?
@aminaayadi4384
@aminaayadi4384 3 ай бұрын
I have the same issue
@codevillain7756
@codevillain7756 7 ай бұрын
@CodesEasy i am getting error like Constant expression required in the place of swith case
@CodesEasy
@CodesEasy 7 ай бұрын
Use if else
@varunsai1129
@varunsai1129 6 ай бұрын
Hello sir, how can we export these apps into realtime??
@CodesEasy
@CodesEasy 6 ай бұрын
You mean how to generate apk files. Go to menu, build and click generate apk
@kaga846
@kaga846 9 ай бұрын
sorry but my answers is not showing up in the textview
@CodesEasy
@CodesEasy 8 ай бұрын
Check the code, you should have made a mistake
@Laid_gaming
@Laid_gaming 6 ай бұрын
Getid() showing error?
@CodesEasy
@CodesEasy 6 ай бұрын
Check the code
@shalinichoudhary3259
@shalinichoudhary3259 Ай бұрын
sir i'm facing an error regarding switch statement it shows the constraint expression of R.id... is incorrect
@itbiriyani
@itbiriyani 27 күн бұрын
Yeah mee too
@CodesEasy
@CodesEasy 27 күн бұрын
Change the switch to an if else statement - use chatgpt for help if needed
@tyanad
@tyanad 7 ай бұрын
please how do i add square root and power
@CodesEasy
@CodesEasy 7 ай бұрын
You can add 2 more buttons and get the inputs and do the calculation in a function. Try chatgpt for help, you can also join our groups
@abhisaragarwal9084
@abhisaragarwal9084 Жыл бұрын
Sir I am getting gradle sync error in Android studio how can I fix it pls tell I want to do Android development Also tell if I can do Android development in intellij idea pls
@CodesEasy
@CodesEasy Жыл бұрын
Need more details to help you with this error. Also you can use any ide but android studio makes your life a lot easier
@bimarshkhatri3244
@bimarshkhatri3244 Жыл бұрын
took me 1 week to fix the gradle sync problem.
@jayavardhanp280
@jayavardhanp280 6 ай бұрын
2 errors its saying "Touch target size too small" for enter the number text both
@CodesEasy
@CodesEasy 6 ай бұрын
EditText height might be less than minimum required one, set it above 50dp or above.
@jayavardhanp280
@jayavardhanp280 6 ай бұрын
​@@CodesEasy if i do that the layouts for my project is going wrong and it's not stop throwing errors even after changing
@torsti4791
@torsti4791 4 ай бұрын
is this gradle or kotlin?
@Optropicraft
@Optropicraft 3 ай бұрын
Android Studio uses Gradle as a build tool. Kotlin is a language that you can use in Android Studio but this video appears to use Java
@JahnaviVaduguru
@JahnaviVaduguru 8 ай бұрын
which app
@CodesEasy
@CodesEasy 8 ай бұрын
What's it ?
@software_engineer_harish
@software_engineer_harish 5 ай бұрын
which langauge is this
@CodesEasy
@CodesEasy 5 ай бұрын
Java
@prishabmanandhar7117
@prishabmanandhar7117 10 ай бұрын
im having with the case step...
@CodesEasy
@CodesEasy 10 ай бұрын
Try converting switch to if condition
@technicalakahir
@technicalakahir Жыл бұрын
sir mere pass error aa rha hai kase fix hoga plz btao
@CodesEasy
@CodesEasy Жыл бұрын
What is the error message?
@technicalakahir
@technicalakahir Жыл бұрын
@@CodesEasy sir android studio ka video aache se bnao pura smj me aaye
@CodesEasy
@CodesEasy Жыл бұрын
Yes, we will soon be releasing a complete course in android soon.
@technicalakahir
@technicalakahir Жыл бұрын
@@CodesEasy kab tak aayega
@CodesEasy
@CodesEasy Жыл бұрын
This week we will be publishing a complete food delivery app (restaurant dashboard, customer app, delivery executive app). So the complete android studio course will be most probably by the end of February.
@Mrtopnotchforex
@Mrtopnotchforex 10 ай бұрын
Hello sir I'm having an error at the end saying constant expression expected 😢😢
@CodesEasy
@CodesEasy 10 ай бұрын
Where did you see this error, check the error message for details
@malaikahameed9588
@malaikahameed9588 2 ай бұрын
Mera to answer ka ho error aarha wo call out nahi huab
@CodesEasy
@CodesEasy 2 ай бұрын
?
@malaikahameed9588
@malaikahameed9588 2 ай бұрын
@@CodesEasy text view py jh py answer likha tha wh py hi run k time error aarha
@malaikahameed9588
@malaikahameed9588 Ай бұрын
Plz answer kardy mery question ka
@user-yr9nf9sb4r
@user-yr9nf9sb4r 6 ай бұрын
10 months later and somehow the formats have changed yet again. Why is Android Studio so difficult.
@CodesEasy
@CodesEasy 6 ай бұрын
Yes, some layouts of android studio have changed. Nothing about the coding part will change.
How ChatGPT Built My App in Minutes 🤯
8:28
Website Learners
Рет қаралды 2,1 МЛН
I wish I could change THIS fast! 🤣
00:33
America's Got Talent
Рет қаралды 128 МЛН
когда повзрослела // EVA mash
00:40
EVA mash
Рет қаралды 4,3 МЛН
ОСКАР vs БАДАБУМЧИК БОЙ!  УВЕЗЛИ на СКОРОЙ!
13:45
Бадабумчик
Рет қаралды 4,8 МЛН
Simple GUI Calculator in Python
22:51
NeuralNine
Рет қаралды 250 М.
How to make a Calculator in Android Studio | 2024
21:24
Easy Tuto
Рет қаралды 247 М.
How to make a calculator in Android Studio 2020 | Part 1
15:38
Practical Coding
Рет қаралды 157 М.
Most overpowered way to build mobile apps?
8:33
Beyond Fireship
Рет қаралды 735 М.
Flutter Calculator App Tutorial for Beginners
1:03:21
Shohruh AK
Рет қаралды 25 М.
Simple Login App | Android Studio | 2024
11:01
Easy Tuto
Рет қаралды 142 М.
Samsung Z Flip/Fold 6, Watch Ultra, Buds Pro and Ring Impressions!
11:02
Marques Brownlee
Рет қаралды 2,6 МЛН
Calculator App - Android Java
28:09
Dr. Parag Shukla
Рет қаралды 73 М.
I wish I could change THIS fast! 🤣
00:33
America's Got Talent
Рет қаралды 128 МЛН