How to make a Calculator in Android Studio | 2024

  Рет қаралды 251,055

Easy Tuto

Easy Tuto

2 жыл бұрын

New video for Calculator here 🔥 : • How to make a Calculat...
Presenting brand new video:
In this video you will learn how to make a fully functionable calculator app in Android Studio.
Just follow the steps in the video.
More videos about Android Application Development will uploaded so get in touch with the channel.
So you are no more far.You can be developer.
If you want to support
☕ Buy me a coffee!"☕
www.buymeacoffee.com/bimal
---------------------------------------------------------------------------------------------------------------
Dependency to add
implementation 'com.faendir.rhino:rhino-android:1.5.2'
GITHUB LINK :
github.com/bimalkaf/Android_C...
---------------------------------------------------------------------------------------------------------------
ACCESS THIS IMPORTANT PLAYLIST
• Android Studio 4.0 | A...
---------------------------------------------------------------------------------------------------------------
If you have any queries or doubt Comment below,I will reply.
And Dont forget to Subscribe for more Stuffs.
------------------------------------------------------------------------------------------------------------------------------------------------------
Android Development Course for beginners HINDI
• Android App Series (Fu...
Android Full Project App Development Playlist:
• Playlist
Racing Game Development in Visual Studio Full Playlist:
• RACING GAME DEVELOPMEN...
------------------------------------------------------------------------------------------------------------------------------------------------------
Like Our Facebook Page for regular Updates:
/ easytutoyt
------------------------------------------------------------------------------------------------------------------------------------------------------
INSTAGRAM :
/ easytutoyt

Пікірлер: 329
@EasyTuto1
@EasyTuto1 2 жыл бұрын
implementation 'com.faendir.rhino:rhino-android:1.5.2'
@melanialeonelli5154
@melanialeonelli5154 Жыл бұрын
where?
@EzaZigzag
@EzaZigzag Жыл бұрын
why my number button keypad background not change when i switch to dark mode ? thank you
@naveenpenagaluru4580
@naveenpenagaluru4580 Жыл бұрын
implementation 'com. faendir. rhino:rhino-android:1.5.2'
@m5553
@m5553 Жыл бұрын
hi it is not working please help
@EzaZigzag
@EzaZigzag Жыл бұрын
@@m5553 did you already sync your gradle?
@raghavkr2746
@raghavkr2746 Жыл бұрын
"Say hello to this hello world and delete it", That was smooth af!!💫💫
@akhandnoobgaming3915
@akhandnoobgaming3915 9 күн бұрын
😂😂
@emmanuelreuven7350
@emmanuelreuven7350 Жыл бұрын
You are awsome, thank you. It was so easy to do this with your explanation. I managed to finish it from scratch in 2-3 hours, including finding myself installing Android Studio and the Emulator. Thank you so much.
@EasyTuto1
@EasyTuto1 Жыл бұрын
Thanks
@mrigankadas6684
@mrigankadas6684 Жыл бұрын
🤣🤣say hello to this hello world and delete it. Such a dominance over hello world programs.
@tesfamichaelalmaw
@tesfamichaelalmaw 4 ай бұрын
🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣
@visheshdahiwale748
@visheshdahiwale748 Жыл бұрын
Thank you brother... the way of yours teaching is very simpler....
@user-sm5do6jn3h
@user-sm5do6jn3h 5 ай бұрын
Project done thank you sir👍😊
@ZTechTutorials
@ZTechTutorials Жыл бұрын
kiya bat hay. buht hee umda.. thanks.
@ruduplays8769
@ruduplays8769 Жыл бұрын
THANK YOUUUU because of this video i understood all the basic concepts of android studio! keep making content like this! i love it.
@zo0oi_574
@zo0oi_574 2 жыл бұрын
Very nice Keep going👍🏻
@bromonsterking
@bromonsterking Жыл бұрын
Really you are great, and thank you ❤️
@knightwor
@knightwor 2 жыл бұрын
nice bother keep growing ☺️👍
@history_funy
@history_funy Жыл бұрын
Verry good and easy following speech !!
@Pluto-qi9gh
@Pluto-qi9gh 2 ай бұрын
Just completed this tutorial. Running android studio jellyfish. I used java language but was forced to use kotlin dsl. there were quite a few changes that needed to be made. However, I had chat gpt 4.0 correcting the errors in the code along the way. But, I got it to work. Thanks again for a great video. Only suggestion from me would be to slow down just a little when you complete a few lines of code to make pausing the video a little easier .
@justaregularcat5411
@justaregularcat5411 2 ай бұрын
can we have the source code?
@SIDDHARTHSINGH-nh1us
@SIDDHARTHSINGH-nh1us 10 ай бұрын
I love you sir 💗💗💗💗💗 Success hua So thank you so much ❤️🙏 Gurudev 😊😊😊😊
@moubiswasEdits
@moubiswasEdits Ай бұрын
Thank you for the tutorial
@YogeshJangid986
@YogeshJangid986 Жыл бұрын
Hi, First of all thank you for creating this project. I downloaded the project and tested. It has some bugs, When we minus 100-100 = It's giving wrong value as well as % isn't working. Please check once.
@HussnainAli-so4xq
@HussnainAli-so4xq Ай бұрын
Awesome 👍
@dhruvsharma5786
@dhruvsharma5786 8 ай бұрын
Thanks sir 🙏
@axelmedina8834
@axelmedina8834 Жыл бұрын
Can someone help me? My code does not have errors but the text view does not shows any number when i push any materialbutton
@LancineDiare-ww8xn
@LancineDiare-ww8xn 5 ай бұрын
Thank you a lot.
@cheong34lol35
@cheong34lol35 Ай бұрын
how do you change the libs thing in your gradle part
@alexeymatveev9031
@alexeymatveev9031 Жыл бұрын
Thank you. There are minor problems, like if keeping pressing AC it goes below 0, but this is even better to solve as homework. Thank you very much!
@bobbygraphics
@bobbygraphics Жыл бұрын
Change if statement to while..so while ac is above 0. It must clear
@alexeymatveev9031
@alexeymatveev9031 Жыл бұрын
@@bobbygraphics Thanks a lot. May be you can give me some heads up about the hardware requirements? I've set aside Android because it took like 5 minutes to recompile after every minor change. What is the preferred laptop configurations for this? I have MacAir with 8GB and I suspect there is something wrong about it not with configuration.. It should not be that demanding I guess...🙄🙄
@ashish_more
@ashish_more Жыл бұрын
@@alexeymatveev9031 I also have the same MacBook Air m1 base variant , and android studio is taking 3 gb of ram and the emulator is taking 5gb of ram and java is taking 1.5 gb of ram ! I don't know why it has such a high ram usuage!
@lohithyadav7225
@lohithyadav7225 Жыл бұрын
Good one 👍👍
@ultragameryt1780
@ultragameryt1780 Жыл бұрын
Awesome 👍😊
@q.w.e.r.t.y27
@q.w.e.r.t.y27 6 ай бұрын
u r literally god for me rn..u helped my finish my prject
@EasyTuto1
@EasyTuto1 6 ай бұрын
Thank you
@q.w.e.r.t.y27
@q.w.e.r.t.y27 6 ай бұрын
@@EasyTuto1 it is showing an error on 14:08 for me on the getText and the setText
@asadbekaminboyev3311
@asadbekaminboyev3311 2 жыл бұрын
The implementation in Gradle is working?
@thebhagwabilla
@thebhagwabilla 4 ай бұрын
bhaiya your explanation is always the best among all the people. You own a huge respect and position in my android journey. ❤❤❤
@EasyTuto1
@EasyTuto1 4 ай бұрын
Thank you so much 😀
@catalintudoreanu8880
@catalintudoreanu8880 Жыл бұрын
thanks man, you good dawg
@docps9591
@docps9591 Жыл бұрын
You are amazing
@abuobaidazayed2405
@abuobaidazayed2405 Жыл бұрын
Thank you so much. But, I have a problem. Clicked C button and crash the app when solutionTv is "Empty" . What is the solution?
@sakibtalukqder
@sakibtalukqder 5 ай бұрын
too much helpful,,
@ganeshaprasad3367
@ganeshaprasad3367 Жыл бұрын
Bro, I have added my icon to app, if I create normal apk and install it will show icon, but I have published it to play store but if I download from play store it showing green color Android default icon pls help me to solve
@demstheprogrammer
@demstheprogrammer Жыл бұрын
Thank you for this toturial i hope its work in my compiler when i code this later
@EasyTuto1
@EasyTuto1 Жыл бұрын
Yes it will
@jrstudzinski1986
@jrstudzinski1986 7 ай бұрын
Incrível! Parabéns pelo trabalho! Funcionou perfeitamente! Ganhou mais 1 inscrito brasileiro! 👍👍👍
@EasyTuto1
@EasyTuto1 7 ай бұрын
Muito obrigado pelo apoio entusiasmado! Fico feliz em saber que você gostou e que agora tenho mais um assinante brasileiro incrível! 🎉 Seja muito bem-vindo à comunidade! Estou aqui para ajudar no que precisar. 😊
@AllensanityPlays
@AllensanityPlays Жыл бұрын
Hello @EasyTuto1 is there a way to change the resultTv? because once u choose 2 numbers it adds automatically
@ResolveXpert
@ResolveXpert Жыл бұрын
you are masterpiece bhai. keep it up and keep teaching us.
@EasyTuto1
@EasyTuto1 Жыл бұрын
Thanks
@sithusoe8797
@sithusoe8797 10 ай бұрын
Thanks a lot
@vjsiddhuvlogs_harshath
@vjsiddhuvlogs_harshath 8 ай бұрын
Which version Gradle are you use
@jonthamastersmooth
@jonthamastersmooth Жыл бұрын
Do you have a version for doing this in Kotlin?
@aishee5961
@aishee5961 Жыл бұрын
Thank you so much sir
@zortretim6534
@zortretim6534 Жыл бұрын
Cool!!! Thanks!
@sivanandham8836
@sivanandham8836 Жыл бұрын
nandrigal kodi annaa
@fred2548
@fred2548 Жыл бұрын
help me out im trying to copypaste and they keep overlaping each other how do I get the four buttons below one another
@nwcoder
@nwcoder 2 жыл бұрын
Please upload next part on this calculator app scientific mode...
@user-cy5so1oe6b
@user-cy5so1oe6b 11 ай бұрын
THANK YOU
@hadiuzzamanovi4049
@hadiuzzamanovi4049 Жыл бұрын
Thanks 💝
@Naveen_Kumar0826
@Naveen_Kumar0826 11 ай бұрын
❤❤❤❤❤❤thank you great work
@EasyTuto1
@EasyTuto1 11 ай бұрын
Thanks
@KJ7JHN
@KJ7JHN 3 ай бұрын
@EasyTuto1 do you have a video that uses a keyboard listener?
@jorgemendoza7128
@jorgemendoza7128 11 ай бұрын
I have a problem, when I try it on the virtual device, the C button and others do not work and the app closes many times
@mouaadibnujabal3919
@mouaadibnujabal3919 2 ай бұрын
Thank you bro
@EasyTuto1
@EasyTuto1 2 ай бұрын
Thanks💛
@mohamedrashid1091
@mohamedrashid1091 Жыл бұрын
Bro my all functions are working good but while turn on the dark mode it will not converting in dark theme properly
@gatdet
@gatdet Жыл бұрын
Thank you
@happymiki
@happymiki Жыл бұрын
Nice brother 🎉 😍 😊
@EasyTuto1
@EasyTuto1 Жыл бұрын
Thanks
@krupakarguvvalegi8426
@krupakarguvvalegi8426 Жыл бұрын
bro while i have finished the calci there is a problem occuring like double no are coming while pressing any button can u help me bro
@JesusTeambijnor
@JesusTeambijnor 11 ай бұрын
Brother, where will you publish this on Playstore, please tell me.
@imanonymous02
@imanonymous02 7 ай бұрын
The way you explain it, this was easier than making maggi. 🙇
@EasyTuto1
@EasyTuto1 7 ай бұрын
Happy to hear that!
@arashes620
@arashes620 Жыл бұрын
you amazing bro
@shyamsonswadeep6965
@shyamsonswadeep6965 Жыл бұрын
Sir please resolve my problem If we run the app then it will not run it shows a msg that ''Unfortunately Calculator'' has stopped.
@j.m2312
@j.m2312 Жыл бұрын
there are errors in main. activity. java file. its my first app and i can't solve it. i need help sir 🥺 plz
@someone7307
@someone7307 Жыл бұрын
why the implementation 'com.faendir.rhino:rhino-android:1.5.2' didn't work? it has a new one now?
@lichnguyenviet7314
@lichnguyenviet7314 Жыл бұрын
if i don't use material button how to write onclick function
@luxiouslyrics8617
@luxiouslyrics8617 Жыл бұрын
What could be the problem because when I open the app and click any button, an error message appears saying "App has stopped".
@jampasemp1186
@jampasemp1186 5 ай бұрын
U have to declare ur activity in the androidManifest
@ScaryBeats777_montage_creator
@ScaryBeats777_montage_creator 2 жыл бұрын
My PC not accepting 'JavaScript ' keword showing error at time of importing in main activity Plzz reply...
@PROKASHBISHWASH
@PROKASHBISHWASH Жыл бұрын
facing same problem
@iqrabatool6020
@iqrabatool6020 Жыл бұрын
Me same.
@AagaaCimdeessaa
@AagaaCimdeessaa Жыл бұрын
Pls tell us the solution!
@1muharremyilmaz
@1muharremyilmaz Жыл бұрын
@@AagaaCimdeessaa me same
@talashyzeest
@talashyzeest Жыл бұрын
Is there any solution??
@danielcarvalho-hm2ov
@danielcarvalho-hm2ov 11 ай бұрын
muito bom funcionou tudo aqui parabens grande trabalho em passar conhecimento
@EasyTuto1
@EasyTuto1 11 ай бұрын
Fico feliz que tenha ajudado e obrigado!
@fyft84
@fyft84 10 ай бұрын
Thanks bhai ❤🎉
@EasyTuto1
@EasyTuto1 10 ай бұрын
Thanks
@yourmotivationguy5690
@yourmotivationguy5690 Жыл бұрын
Bro how do we resolve the error of 0 divided by something
@soylent0815
@soylent0815 Жыл бұрын
Any idea how to keep the exact precision when calculating? For example 6.1 multiplied by 3 results in 18.29999999999997. I guess it has something to do with the floating point numbers, but I can't figure out how to handle this problem in the code from this video... Apart from that - great tutorial! 👍
@heterawasmapreha
@heterawasmapreha Жыл бұрын
second that
@Kamal-cn6kk
@Kamal-cn6kk Жыл бұрын
Use BigDecimal class rather than floating point numbers to get accurate values.
@TANISHQTHUSE
@TANISHQTHUSE 6 ай бұрын
I once saw in a tutorial for addition of dollar. This error occurs because computers are poor in storing decimal number in form of binary. Convert 6.1 to 61 and 3 to 30. Multiply them , divide by 10. This should solve the issue. Simple and easy solution. Else you can always use relevant libraries in the language you are using.
@wiam7182
@wiam7182 Жыл бұрын
thank you
@muneesff5549
@muneesff5549 2 жыл бұрын
bro Ac button was not working bro what can i do bro
@tennetialekhya7572
@tennetialekhya7572 Жыл бұрын
It's showing "Err" Whenever I'm trying to use an operator... Plz help
@tushajoshi5186
@tushajoshi5186 Жыл бұрын
If the result actually has .0 in the value it will also be replaced by empty string ?
@navneetjasrotia
@navneetjasrotia Жыл бұрын
no, not the whole result. Only .0 will get replace by the empty string
@naveen1001
@naveen1001 Жыл бұрын
Sir, How can i use these calculator in my android 11
@lenovopc4257
@lenovopc4257 Жыл бұрын
My app didn't not give result what will I do
@ralphsantiago850
@ralphsantiago850 2 жыл бұрын
the part of import org.mozilla.javascript.Context; import org.mozilla.javascript.Scriptable; is not working for me
@PhoenixYT00223
@PhoenixYT00223 Жыл бұрын
error showing during javascript writing??
@anhque3767
@anhque3767 Жыл бұрын
Thank you,sir.
@EasyTuto1
@EasyTuto1 Жыл бұрын
You are most welcome
@lenovopc4257
@lenovopc4257 Жыл бұрын
non-static method 'setoptimizationlevel(int)' cannot be referenced from a static context .....this error show! What will I do
@hemavarshinikommoju8885
@hemavarshinikommoju8885 4 ай бұрын
Yeah me to
@virtual_space399
@virtual_space399 Жыл бұрын
Bro kya hum apne android phone se calculator app bna skte h ....
@iamsaqeebpathan
@iamsaqeebpathan 8 ай бұрын
what happend if i click only C?? the app is crashed
@AndreasWegerer-kz1sg
@AndreasWegerer-kz1sg Жыл бұрын
How i can Duplikate the Buttons? Layout?
@growwithaman9085
@growwithaman9085 Жыл бұрын
if i Click c times it show the mozila javascript and some othrer things how to solve this please comment any one know
@abhimaueya28
@abhimaueya28 Жыл бұрын
Bro you haven't explain dependency not full but at least you should give some over View and the working also...
@imhassan4119
@imhassan4119 Жыл бұрын
Please sir how can I import JavaScript?
@samirmortada2097
@samirmortada2097 Жыл бұрын
Brother can u please make the code pdf or anything inorder to make copy and paste without wasting time thank you
@mikebledig7208
@mikebledig7208 Жыл бұрын
Very interesting and easy to follow. Can we have some more? Please?
@EasyTuto1
@EasyTuto1 Жыл бұрын
Sure
@Aakash983
@Aakash983 18 күн бұрын
How to open in Design Model?
@user-fz5hx4xd1b
@user-fz5hx4xd1b 3 ай бұрын
супер
@shyamjiverma5467
@shyamjiverma5467 Жыл бұрын
bro. my C button is not working and showing as pressing it.
@syedfaisal417
@syedfaisal417 10 ай бұрын
Hi brother I am from Pakistan, When I press C button for multiple times and at the end when there is no value and I press C button then the application gets close automatically and I see the library name of JavaScript in Text view. Please provide the solution. Thanks
@EasyTuto1
@EasyTuto1 10 ай бұрын
Yeah you can just add condition when there is no value.
@techbrotherstb6891
@techbrotherstb6891 Жыл бұрын
My Button Colour Is Not Changing Please Help
@SADIQLLC
@SADIQLLC 6 ай бұрын
Thanks bro I have created it for same like your work but the plus button just works other all not working like minus multiplay divide, please guide me how to solve it...
@EasyTuto1
@EasyTuto1 6 ай бұрын
Something is wrong in the code. Try resolving. ❤️
@antaryamidas3319
@antaryamidas3319 Жыл бұрын
Why u use a relative layout at starting 0:55 ?
@priyas_lifestyle09
@priyas_lifestyle09 27 күн бұрын
Nice But app download kese kre?
@babraksohail6965
@babraksohail6965 Жыл бұрын
Brother Could You Explain in depth About Rhino implementation u did in your project like the purpose of using script, context.setOptimizationLevel (-1) , In short, the whole portion of try. Eagerly Awaiting for your reply ! thanks :) Love Your Work :)
@felixmaundu3891
@felixmaundu3891 Жыл бұрын
Did you get an explanation?
@babraksohail6965
@babraksohail6965 Жыл бұрын
@@felixmaundu3891 no brother
@ronp1436
@ronp1436 Жыл бұрын
the function gets values between -1 to 9 and what it means is that higher levels of optimization can improve the performance of the JavaScript code but may also increase the time it takes to compile the code. So for this calculator simple app it really doesn't matter
@kaminipal7248
@kaminipal7248 10 ай бұрын
Same problem
@kaminipal7248
@kaminipal7248 10 ай бұрын
Please reply
@shyamjiverma5467
@shyamjiverma5467 Жыл бұрын
i cant import org.mozilla javascript ?
@Shashank-pu1qo
@Shashank-pu1qo Жыл бұрын
Import org. Mozilla. JavaScript. Context... Giving me error😭
@hexagaming9170
@hexagaming9170 Жыл бұрын
Mai apka problem fix kar sakta hu Contact karo mujhe mere about section me Whats app no. hai
@theconfusingriddle
@theconfusingriddle 2 жыл бұрын
Brother I am facing problem in solution Text View it's not getting clear😞😞
@neerajcmb
@neerajcmb Жыл бұрын
Write v
@Abbaskhan-qv5xd
@Abbaskhan-qv5xd Жыл бұрын
Multiply option is not working
@frennardenddy8763
@frennardenddy8763 5 ай бұрын
HOW MUCH I NEEDED YOU FOR THE COLLEGE X'D
@vedantgadge2979
@vedantgadge2979 Жыл бұрын
My calculator app is crashing when i press the C or AC button.Can someone help please?😢😢
How to Build a Calculator with Jetpack Compose - Android Studio Tutorial
43:24
Sigma Kid Hair #funny #sigma #comedy
00:33
CRAZY GREAPA
Рет қаралды 40 МЛН
Fast and Furious: New Zealand 🚗
00:29
How Ridiculous
Рет қаралды 45 МЛН
IQ Level: 10000
00:10
Younes Zarou
Рет қаралды 11 МЛН
Why The Windows Phone Failed
24:08
Apple Explained
Рет қаралды 224 М.
Most overpowered way to build mobile apps?
8:33
Beyond Fireship
Рет қаралды 754 М.
Build this JS calculator in 15 minutes! 🖩
15:20
Bro Code
Рет қаралды 457 М.
Android App Development in Java All-in-One Tutorial Series (4 HOURS!)
3:54:35
Nvidia CEO: "We're Completely F**ked & Nobody Realizes It..."
13:47
Nvidia Latest News
Рет қаралды 7 М.
Creating First Application In Android Studio in 2023 - For Beginners
7:42
TutorialMadeSimple
Рет қаралды 121 М.
How To Make A Calculator Using HTML CSS And JavaScript
19:01
GreatStack
Рет қаралды 824 М.
Sigma Kid Hair #funny #sigma #comedy
00:33
CRAZY GREAPA
Рет қаралды 40 МЛН