Kindly look at the written tutorial for better understanding: obsidiansofteducation.blogspot.com/p/calculator-in-mit-app-inventor.html The aia project file is also given in this tutorial.
Hi, I followed your tutorial and programmed a calculator, but when I click on an operator first and then a number and equals, it shows an error. Could you help me modify it so that, except for the minus sign, an operator cannot be entered first? Thank you.
In our equal button click event, in the very beginning, we check that our second number is not empty by comparing the second number with an empty text block. Similarly, you will have to add a check in your operator button click events that the first number is not empty.
Can you please explain the problem further? Do you mean that the decimal point is not showing when you press the button or decimal operations are not being performed?
@ObsidianSoftEducation Me when I was testing this app tomorrow I have Small doubt that When we put any operation before first global number like [ -7+6 ] Then it shows error What is the solution of it mam 🙏
@VinodSharma-hg2id when any of the operators buttons are clicked, check that firstNimber isn't empty. Allow operator to be set only if first number isn't empty.
I don't understand why every operation is dividing the numbers. I even compared my coding with yours but still I'm not able to find my mistake. Can you plz help me... it's urgent.
This means that there is something wrong with your operator comparison in your equaltobtn click event. this is why you are going inside the else block which does the division. Make sure that there are no spaces. for example, global operator =" + " is not the same as global operator = "+" Check carefully what is being put inside the operator variable when any of the operator buttons are clicked. For example, when multiply button is clicked, you might be setting operator to be * and in the equalbtn click event you might be checking for x instead of *.
@@ObsidianSoftEducation Hi Thanks for the reply Everything is fine but the equal sign doesn’t bring the value after the calculation if add 2+3 and then press the equal sign I can’t get the answer.
@@aminjan80 are you able to see 2+3 written on the screen? if yes, then the problem could be inside the equal button click event. Have a look at it again. If you are still unable to solve it, send me a screenshot of equal button click event at obsidiansoftc@gmail.com
First of all, check whether you have given a different color to second number. The default color is black so if background is also black, you will not be able to see the second number. Secondly, check the code for missing code. A number is considered a second number if the user has pressed any of the operator buttons. Please check whether you are setting the operator variable whenever an operator button such as +,-,/ or x is pressed. Also, all number keys should check for operator variable in an if else condition. This is how we differentiate between first and second number. I have shared the aia file too. You can import it too and compare with your code.
@SternritterA you don’t unzip it. You import it in mit app inventor. Please follow steps mentioned here: obsidiansofteducation.blogspot.com/p/mit-app-inventor-projects.html
Can you please explain your comment more? I have uploaded my project too. The link. is in the video description but posting here too. obsidiansofteducation.blogspot.com/p/mit-app-inventor-projects.html
Hello. Are you having a problem with the decimal button code? This is to avoid the entry of numbers like 5.89.2 (more than one decimal point in a number)
im watching this video in 2024 and as a student it helped me out so much thank u for making this video explained this much :)
Glad it helped!
I don't have decimal btn
@@AlexandraATITILA I didn't understand your question. You have to add all the buttons yourself in the designer view including the decimal button.
As a teacher, I could say your explanation are really awesome and helpful. Thank you so much.
Thank you for the wonderful feedback 😊
I've been waiting for part-2 to completely learn all calculator App functions. Thank you for uploading useful tutorial.
Thank you for uploading part 2 so quickly...was eagerly waiting
Big thanks mrs. , from Indonesia
Most welcome 😊
Ma sha Allah so talented 👏
Zabardast this app is performing all basic sums...
Incredibly well explained tutorial! This helped me a ton!
Thank you 😊
Thank you so much your explanations made the tutorial very easy to understand like why we have to do this and it was purely amazing!!!
You're welcome! Glad you found it helpful.
Thank you for publishing part 2. I was waiting for this part to complete my calculator app.
Hope you enjoyed it!
Never stop😊
Wow Amazing Video Definitely Subscribing
Thank you 😊
Amazing app series you are adding. With understandable way
Your video is so helpful. Thank you Obsidian soft, God bless you.
Most welcome 😊
Amazing app design .. for basic maths calculation...
the calculator turned out quite nice
That's such a tremendous effort behind making a single application 👌 amazingly done ✅
Thanks a lot 😊
Your all tutorials are worth trying, love your channel ❤
You have encouraged me to try my hands at it . You explained it really well.
Me too
Thank you thank you!
most welcome :)
Hey if you're still here i can't getmy equal button to work can you make a video about just the equal button?
Kindly look at the written tutorial for better understanding: obsidiansofteducation.blogspot.com/p/calculator-in-mit-app-inventor.html The aia project file is also given in this tutorial.
Very interesting calculator operations being taught. You're always very clear about concepts & app construction.
Hi, I followed your tutorial and programmed a calculator, but when I click on an operator first and then a number and equals, it shows an error. Could you help me modify it so that, except for the minus sign, an operator cannot be entered first? Thank you.
In our equal button click event, in the very beginning, we check that our second number is not empty by comparing the second number with an empty text block. Similarly, you will have to add a check in your operator button click events that the first number is not empty.
your lectures are always very detailed and interesting .. one can easily develop interest in these learning videos
Thanks for giving us deep details.
Thanks 4 sharing informative video...waiting 4 more👍
Wooow another great job dear..👌🏼👌🏼
You explain so well thanks for sharing informative video
You explain so well
Love your videos
this was helpful , but I noticed that instead of the "call MakeQuestion" block mine says call procedure? will this still work?
You have to give name to procedure yourself.
@@ObsidianSoftEducation how do you do this, i tried to look online but couldnt figure it out, thanks so much for your reply
@pinkrll when you drag the procedure block onto the screen, you click on its name and start typing.
good luck for your work
Thanks, you too!
Very well done keep it up great job 👍👍👍
wow very nice useful tutorial Thanks for sharing
i tried this and my decimal is not working, what should i do?
Can you please explain the problem further? Do you mean that the decimal point is not showing when you press the button or decimal operations are not being performed?
Its an amazing app to make such projects
Thanks for this detailed tutorial of how to input buttons and perform sums on it 👌 great work 🙂
Thank you mam 🙏
App is Done and completed 👍
Good job 👏 and most welcome 😊
@ObsidianSoftEducation
Me when I was testing this app tomorrow I have Small doubt that
When we put any operation before first global number like [ -7+6 ] Then it shows error
What is the solution of it mam 🙏
@VinodSharma-hg2id when any of the operators buttons are clicked, check that firstNimber isn't empty. Allow operator to be set only if first number isn't empty.
@@ObsidianSoftEducation Okhhh
I will try it mam 🙏
Thanks for the information
Thanks once again for teaching hard things in such a easy manner.
Informative and interesting sharing
Awesome tutorial, keep up the good work
I do not know that there is a second part I was delete it before I found this part thank you so much I took a badge for 30 points
Most welcome 😊
I don't understand why every operation is dividing the numbers. I even compared my coding with yours but still I'm not able to find my mistake.
Can you plz help me... it's urgent.
This means that there is something wrong with your operator comparison in your equaltobtn click event. this is why you are going inside the else block which does the division. Make sure that there are no spaces. for example, global operator =" + " is not the same as global operator = "+" Check carefully what is being put inside the operator variable when any of the operator buttons are clicked. For example, when multiply button is clicked, you might be setting operator to be * and in the equalbtn click event you might be checking for x instead of *.
Hi There Thanks alot for the demo, i have an issue with the equal sign it is not working
Hello. What is the error?
@@ObsidianSoftEducation
Hi Thanks for the reply
Everything is fine but the equal sign doesn’t bring the value after the calculation if add 2+3 and then press the equal sign I can’t get the answer.
@@aminjan80 are you able to see 2+3 written on the screen? if yes, then the problem could be inside the equal button click event. Have a look at it again. If you are still unable to solve it, send me a screenshot of equal button click event at obsidiansoftc@gmail.com
@@ObsidianSoftEducation Hi dear.
yeah now it works perfectly and i have learnt alot from it
thank you so much
@@aminjan80 most welcome :)
Wat an easy way to teach us great video dear
Very informative and helpful video
Mashallah another great video. Keep posting
Very Informative content for learning web development series .....
Thanks for sharing, great details x
so clearly explained
very well explained .. every concept is clear :)
This was sooooo helpful i liked it
Thank you!
The second number doesn't display on the screen, it's just the first number and the output
First of all, check whether you have given a different color to second number. The default color is black so if background is also black, you will not be able to see the second number. Secondly, check the code for missing code. A number is considered a second number if the user has pressed any of the operator buttons. Please check whether you are setting the operator variable whenever an operator button such as +,-,/ or x is pressed. Also, all number keys should check for operator variable in an if else condition. This is how we differentiate between first and second number. I have shared the aia file too. You can import it too and compare with your code.
I can't unzip the aia file
@SternritterA you don’t unzip it. You import it in mit app inventor. Please follow steps mentioned here: obsidiansofteducation.blogspot.com/p/mit-app-inventor-projects.html
Thanks it works just fine.
Glad to hear that it works now.
Very interesting tutorials u are sharing .... These are quite helpful to develop on our own ....
Very detailed explanation as always👍
thankyou for making this video
Most welcome! 😊
Thank you for this video best video
Most welcome 😊
Thanks for sharing so informative video
great tutorial
Very nice and informative
Well explained & really useful video!
I do the same as you but there is 14 wrong How ?
14? I have shared my aia project file. Try importing it and comparing code.
I don't have decimal btn
the screen design was done in part 1 of this tutorial in which you had to make the number buttons, decimal btn, equal to btn and operator buttons.
When I ask my question it's not giving the answer
kindly compare code with my project aia file. link given in video description.
thanks very much
You're welcome!
THX FOR THE VIDEO, MY LANGUANGE IS VERY BAD BUT IM ARGENTINE STUDENT, BUT I LOVE THIS VIDEO!!1
Most welcome 😊
Good informative video
why it didnt work
Kindly compare your code with shared aia file or go through the written tutorial
Show the final result
Can you please explain your comment more? I have uploaded my project too. The link. is in the video description but posting here too. obsidiansofteducation.blogspot.com/p/mit-app-inventor-projects.html
The demo is in part 1 of this video at the beginning of the tutorial. th-cam.com/video/DM_KJbit0mM/w-d-xo.html
1:04
😔😔😔😔😔 1:27
Hello. Are you having a problem with the decimal button code? This is to avoid the entry of numbers like 5.89.2 (more than one decimal point in a number)
دوااتددلل
are you pakistani