How to make a Calculator in Android Studio | 2024
HTML-код
- Опубликовано: 21 май 2022
- 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
implementation 'com.faendir.rhino:rhino-android:1.5.2'
where?
why my number button keypad background not change when i switch to dark mode ? thank you
implementation 'com. faendir. rhino:rhino-android:1.5.2'
hi
it is not working
please help
@@m5553 did you already sync your gradle?
"Say hello to this hello world and delete it", That was smooth af!!💫💫
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 .
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.
Thanks
Thank you brother... the way of yours teaching is very simpler....
THANK YOUUUU because of this video i understood all the basic concepts of android studio!
keep making content like this! i love it.
🤣🤣say hello to this hello world and delete it. Such a dominance over hello world programs.
🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣
Project done thank you sir👍😊
Very nice
Keep going👍🏻
kiya bat hay. buht hee umda.. thanks.
u r literally god for me rn..u helped my finish my prject
Thank you
@@EasyTuto1 it is showing an error on 14:08 for me on the getText and the setText
nice bother keep growing ☺️👍
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!
Change if statement to while..so while ac is above 0. It must clear
@@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...🙄🙄
@@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!
Really you are great, and thank you ❤️
Verry good and easy following speech !!
Good one 👍👍
Incrível! Parabéns pelo trabalho! Funcionou perfeitamente! Ganhou mais 1 inscrito brasileiro! 👍👍👍
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. 😊
Thanks sir 🙏
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.
Awesome 👍😊
@EasyTuto1 do you have a video that uses a keyboard listener?
bhaiya your explanation is always the best among all the people. You own a huge respect and position in my android journey. ❤❤❤
Thank you so much 😀
I love you sir 💗💗💗💗💗
Success hua
So thank you so much ❤️🙏
Gurudev 😊😊😊😊
Thank you a lot.
Thank you so much.
But, I have a problem. Clicked C button and crash the app when solutionTv is "Empty" .
What is the solution?
thanks man, you good dawg
Please upload next part on this calculator app scientific mode...
Can someone help me? My code does not have errors but the text view does not shows any number when i push any materialbutton
Thank you for this toturial i hope its work in my compiler when i code this later
Yes it will
you are masterpiece bhai.
keep it up and keep teaching us.
Thanks
Which version Gradle are you use
You are amazing
The implementation in Gradle is working?
❤❤❤❤❤❤thank you great work
Thanks
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
Thank you bro
Thanks💛
Hello @EasyTuto1 is there a way to change the resultTv? because once u choose 2 numbers it adds automatically
Brother, where will you publish this on Playstore, please tell me.
The way you explain it, this was easier than making maggi. 🙇
Happy to hear that!
Do you have a version for doing this in Kotlin?
too much helpful,,
muito bom funcionou tudo aqui
parabens grande trabalho em passar conhecimento
Fico feliz que tenha ajudado e obrigado!
Thanks a lot
Nice brother 🎉 😍 😊
Thanks
THANK YOU
Thanks 💝
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
help me out im trying to copypaste and they keep overlaping each other
how do I get the four buttons below one another
Bro my all functions are working good but while turn on the dark mode it will not converting in dark theme properly
Thank you so much sir
there are errors in main. activity. java file.
its my first app and i can't solve it.
i need help sir 🥺 plz
Sir please resolve my problem
If we run the app then it will not run it shows a msg that ''Unfortunately Calculator'' has stopped.
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
you amazing bro
Thank you
Very interesting and easy to follow. Can we have some more? Please?
Sure
if i don't use material button how to write onclick function
Brother can u please make the code pdf or anything inorder to make copy and paste without wasting time thank you
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! 👍
second that
Use BigDecimal class rather than floating point numbers to get accurate values.
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.
Bro kya hum apne android phone se calculator app bna skte h ....
Thanks bhai ❤🎉
Thanks
bro Ac button was not working bro what can i do bro
Why u use a relative layout at starting 0:55 ?
nandrigal kodi annaa
Thank you,sir.
You are most welcome
Sir, How can i use these calculator in my android 11
Bro how do we resolve the error of 0 divided by something
Cool!!!
Thanks!
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...
Something is wrong in the code.
Try resolving. ❤️
Please sir how can I import JavaScript?
number keeps repeating like 11, 22, 33 etc and after pressing c it does'nt clear it shows some links.
. pls solve the problem.
thank you
error showing during javascript writing??
How i can Duplikate the Buttons? Layout?
It's showing "Err" Whenever I'm trying to use an operator... Plz help
if i Click c times it show the mozila javascript and some othrer things how to solve this please comment any one know
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 :)
Did you get an explanation?
@@felixmaundu3891 no brother
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
Same problem
Please reply
Bro you haven't explain dependency not full but at least you should give some over
View and the working also...
say hello to this "hello world" and delete it xD
What could be the problem because when I open the app and click any button, an error message appears saying "App has stopped".
U have to declare ur activity in the androidManifest
My app didn't not give result what will I do
bro. my C button is not working and showing as pressing it.
what happend if i click only C?? the app is crashed
How to add SDK keys ?
Backend code is not working. Any button not work.please help me sir....
why the implementation 'com.faendir.rhino:rhino-android:1.5.2' didn't work? it has a new one now?
non-static method 'setoptimizationlevel(int)' cannot be referenced from a static context .....this error show! What will I do
Yeah me to
Multiply option is not working
My PC not accepting 'JavaScript ' keword showing error at time of importing in main activity
Plzz reply...
facing same problem
Me same.
Pls tell us the solution!
@@AagaaCimdeessaa me same
Is there any solution??
If the result actually has .0 in the value it will also be replaced by empty string ?
no, not the whole result. Only .0 will get replace by the empty string
Bro jabhi koi operator click kar Raha hu to Err hi show kar raha hai?
супер
My Button Colour Is Not Changing Please Help
thanks bhai
Thanks
Hello, you didn't solve the dot button it concatenates more than one
i cant import org.mozilla javascript ?
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
Yeah you can just add condition when there is no value.
the part of import org.mozilla.javascript.Context;
import org.mozilla.javascript.Scriptable; is not working for me
Only addition is working in my calculator and C is not working it types C in the solutionTv when I press C. And it gives Err in resultlTv when I press + but addition works after I press = but only addition is working.
Import org. Mozilla. JavaScript. Context... Giving me error😭
Mai apka problem fix kar sakta hu
Contact karo mujhe mere about section me Whats app no. hai