Calculator Project using Android Studio: Step by Step Tutorial
ฝัง
- เผยแพร่เมื่อ 25 ก.ย. 2024
- #androistudio #calculatorproject #rakeshroshan
Calculator Project using Android Studio: Step by Step Tutorial ....
**********************************************************************************************
Download Android app of Learn TechToTech from PlayStore by click on the below link:
on-app.in/app/h...
**********************************************************************************************
Thanks for Watching my Channel “Learn TechToTech”. Please subscribe my channel for getting first updates after uploading video.Social Media pages of Channel are:
1. My Website : www.learnfromrakesh.com
2. My Twitter: / learntechtotech
3. Facebook Page: / learntechtotech
4. Blogger : learntechtotec...
5. Google+ : learntechtotec...
6. Pinterest : / learntechtotech
7. LinkedIn: / learntechtotech
Playlist of Different Technology:
1. MCA Entrance Preparation: goo.gl/g7117X
2. Placement and Interview Tips : goo.gl/4vMdNS
3. MCA Entrance Notification : goo.gl/x1Zhxf
4. Operating System : goo.gl/q6SfrW
5. Python Programming Language : goo.gl/L8b5dc
6. C Language : goo.gl/SwvDu9
7. C language for Placement: goo.gl/AaQBa4
8. Java: goo.gl/M8F2uy
9. MySql : goo.gl/vdJbHQ
10. Android Mobile Application Development: goo.gl/M6woaT
11. Kotlin Programming Language : goo.gl/GXE5cd
12. Go Programming: goo.gl/Ua3xYW
13. Internet of Things(IoT): goo.gl/f2afkY
14. Oracle 11g : goo.gl/zds8r2
15. C++ : goo.gl/C1psMT
16. R Programming: goo.gl/6pDrsb - วิทยาศาสตร์และเทคโนโลยี
Excellent, i have never seen anyone explain in this way.. hats off !!! 🙏🙏🙏
Thank you so much 😀
Sir I became fan of your teaching.
thank you sir,i just try this program it's successfully run...your explanation is very good and simple anyone can understandable....
Thanks keep watching and sharing with friends
Dear sir your explanation is very clear and appreciated.
I have some requirement to fill in. That the number input should be from right and should have decimal. For example, when click '4','7' and '8'. The panel have to show value 4¢, 47¢ and then RM4 and 78¢. Hence, I have tried the option Number (Decimal) from Text palette instead of Plain Text. However, the decimal is not showing in the display sir. Moreover, we could not permit to design Dot button as well sir. Is there any method for it sir? Kindly please provide assistance sir. Thanks in advance.
How to select the buttons sir??
Sir everything works perfectly fine...just when I click any button the the application automatically get closed.....why sir?
sir I genionly respect you❤ bcz nobody teach like these in TH-cam. very great sir
and one more thank you sir for your time and my assignment❤🙏
I dont want to save input in result1 i want to show on screen what i do?
Sir ap ny buttons ki select Kia hy Un ko horizontal chain main lany k Lia to mera question ye hy k ap ny select kesy Kia hy
Main select krti hn pr nahi hota
I rechecked the code sir....my app closes when equal pressed....pls help
Very nice video Sir👍 , but there is a small change you have to make , you have to use else if statements instead of if, otherwise only division operation will be performed when you click on any button.
This is for you understanding ....now you can improve it...
bahut badhiya sir....ek ek cheez bahut achhe se explain kiya aapne..!(last k 6 - 7 second mein badhiya rap kiya 😍😂)
Thanks keep watching and sharing with friends
Use if else in sub div and multiply choices instead of if if if if for each nahi to application equal k button k click pr bnd ho jati hy
Sir does it work if user wants 3 digit like this
1+2+3...
Can you help me out of this problem.
Everything is correct no error as well as it installed in my decice.
But whenever i click any button it close the whole app.
Please give me any solution for it.
I think bugs in app ..try to reinstall
in our mobile android calculatro display the output without using browser so output display purpose which one used in our mobile in calculator .it used UI that execute browser ui page display the text using browser app calculator where to display outpiut without browser help
Sir
If i want to calculate likewise
9+1-5*6/2 at one go where to change in code please ??
Try to change in the calculation part...think some logic
Thank you sir...it was very helpful😊🙏🙏
Welcome... keep watching and sharing with friends
Sir, maine ye app banaya aur jab iska apk install kiya toh sab properly work kar rha tha lekin jab mai ÷, ×, =, -, + click karta hu bina koi no. Type kiye toh app crash ho jata h. Please help karea.isko thik karne ke liye code bataea eik video banake. Sabko yahi problem h
use *try* and *catch* error method it prevents your app to crash
Good
Lekin is may ik problem hai.
Agr ap ik number per click karty awr per add button pe click krtu hai pir dusry number ke bajayi equal pe click krty hai ap ka app band hujata hai
This is just one simple app... improve according to your requirements
nice video...good for beginners
Thanks...keep watching and Sharing with friends..
I want to get the output without pressing equals button.The default calculator app provided by android OS provides this feature. i mean it show output 2+2 directly 4 without pressing equals button
event handle karna hoga....
sir i have tried same as you did in design and code. app is complete, but its crash, its not opening..what should I do?
Same here
Please check code again
I don't want my history to clear, I want it to be like a real calculator where until and unless I complete the task I'll see all the values entered. For this how should I manipulate. Example if I want to add 1+2, I want this two value to stay there and go away only when their Ans is to be displayed
You have to write logic there
@@LearnTechToTech In which part of the code?
hello sir add,sub,mul,div button are not working after use one time.If we are use those button one time we can't use second time.
Thank you sir for making a good video you explained perfectly
Thanks ...Keep Watching and Sharing with friends
How do you select buttons to make horizontal chain?
Practice
@@LearnTechToTech Sir like how to select it the command??
@@karthikshetty3851 shift and select
well done Sir Bohat acha Samjhaya aap nay
Thanks... keep watching and sharing with friends
In the last step of division method sir please mention there is a Div=false;
Sir,you write there Add=false;
Sir ,I am not able to connect multiple buttons and because of this my layout doesn't look like an calculator what should I do ??
Try karo ho jayega...
sir thanku very much for this greAt video but as my open my application it closes itself and android studio shows app run successfully, sir pls help me what to do
Check code properly
@@LearnTechToTech ok
Sir how did you select all 4 buttons
Button select kese kare
thank you so much Allah bless you....
Welcome keep watching and sharing with friends
Thank you
Welcome keep watching and sharing with friends
Sir i do it properly following your video. Display comes nicely but when i click any button, this app just turn off automitic.
Check code
Use if else in sub div and multiply function instead of if if if if for each
It's so useful we can use it in eeclipse also
bro amazing tutorial... learned something new today...... Can you please create another tutorial for creating a simple pdf viewer application
lets try
Sir I am not able to make chains of buttons
Thoda dekkhna hoga accha se...
Very nice and simple Explanation
Thanks sir
how to change calculator coding in mobile
Equal karne se last me jo hai uskai result show ho raha hai, man lijie maine last me division ka code kia aur jab me run karke emulator me add ya sub ya multiple kar raha sab me division kai result show ho raha hai, plz suggest me.Thank You
how will we add the bodmas rule in the java file
thank u sir...it was very helpful
Welcome keep watching and sharing with friends
where do u have the code? Is it downloadable?
sir mera Mul ka and Div ka button work ni kr rha.. means koi output ni dy rha.. Can you plz tell me?
Just check the code throughly...
I have created this..
But totally wrong work..
Check these calculations.
380*2=760-1000=760000.0
It should be
380*2=760-1000=-240.
This is not complete....Now improve as per your requirement...
@@LearnTechToTech where is updated version video
Sir mein jb dot operator use KR RHA hun toh kabhi output mein Shi dikha rha hai kabhi galat . Like
2.3*6=13.79999 ara hai
3.3*6=19.8 ara hai
1.3*6=7.79997 ara hai
Aise kyun and what to do ? Please answer
Check the code properly...
Sab samajh aa gaya .
Sir maine video dekhakar app and code to achhe run kr diye but mobile me run nahi ho raha hai kisi bhi button par click krne par app close ho ja rahi hai q sir plz help me plz sir 🙏
Try to load the apk again...
@@LearnTechToTech sir maine bhut try kiya app mere mobile install ho ja rahi hai but kisi button par click krne par app close ho ja rahi hai plz sir thoda achhe se guide kijiye plz plz sir 🙏❤️
hello me it's Othniel in Ivory Coast I downloaded your application but I don't have an Indian number how do I register in this case?
Very Good!
Sir I'm getting error,(error: incompatible types: Button cannot be converted to EditText)
Sir plz me
debug the code...
Great video sir, 🙌🙏
Would you please demonstrate how to create an qr code scanner application in Android
Ok....Keep Watching and Sharing with friends...
@@LearnTechToTech thank you soo much ☺🥰💛
Thanks sirji this tutorial helpful for us
So nice of you
Sir value jo hide hori hai ager hm ye kren k ye hide na ho to kia krna hga
History का बटन कैसे add करे
IN THIS VIDEO AS PER YOUR CALCULATOR IF WE ENTER 1ST VAL AS +,-,=,/, THE APP IS GOING TO CRASH HOW TO RESOLVE IT
Try to handle these situation
Sir ji mera Android emulator Nahin a raha hai kya karna padega please reply me
Run karne ke bad no USB device or running emulators detected jabki iske andar Android virtual device download kiya hai fir bhi yaar and aisa bol raha hai ki your cpu does not support vt-x
Yes you have to enable virtualization
After clicking any button... Then app will get closed.... What to do sir???
Check ur code
Use if else in sub div and multiply function instead of if if if if for each
build output me error aa rahi hai kya karu
sir jab koi number input nahi kiya hai aur hum add, sub, multiply aur division ka button dabane par app crash ho jata hai
check your code...
Activity main me design kaise open krna h sir...mere Android studio me kuch code dikha Ra h
Click on Design tab instead of text
Wo design banane k baad run krne se error aara h that no target device found... Virtual device kaise banana h?
Bro amazing tutorial. It's working.bro Make videos on event handling concepts
Ok definitely...
Sir black page ko kaise thik Kare...
Impressive 👍👍👍👍👍👍
Thanks
Hello sir,
when I press on any (+ = * /) buttons then application instantly closed pleased suggest any solution for this error.
check the code properly...
@@LearnTechToTech i did sir it happens when I press these buttons before enter any no.
Sir jis ko masla hai ap unko rply nahi karty Q?
@@syedfahadhussain7743 exactly
Use if else in sub div and multiply function instead of if if if if for each
didn't work for me, says cannot resolve symbol btn2 and some of the others, and says add==false isn't a statement
Check the code throughly
Learn TechToTech all code is correct and installed but the app isn’t showing up on the emulator. Thanks for the reply!
Janab jawa case snsitive hai capital aur small ka b khayal rakna parhta hai
mara v same problem aa raha hai
3+3+3-2/5 then kaise dega ye answer sir plz reply i am working on this project.
very helpful. Thankyou
Equal is not working.
cool🤗
Great work bro
Thank you so much 😀
when I press on any (= ) buttons press then application instantly closed
Try to recheck the code...
Same problem , Could you fix it?
thanks sir for a lovely video i learn new thing today
plaese make a video for Designing Display for app
Ok....also see all the video of Android you definitely like..
Can you made a free app for me.
Excel sheet may aap ko send ker donga, jis may saray formulas may ne laga deay hain
I now subscribe your channel.
Keep watching and sharing with friends
Are sir app app ko kaise use karenge
Aur android me kaise use karenge
Just copy apk file
20:06 view.Onclicklistener not coming!!!helpp
@@JavedIqbal-es1hf try doing capital O
I am getting error
btn1.setOnClickListener(new View.OnClickListener()
@Override
public void onClick(View v) (
ed1.setText(ed1.getText()+"1");
the (View v) ( is red and if i do (View v) { the ed1.setText(ed1.getTexr()+"1" becomes red i need help
24:00 to 30:00 is the real game and brain of calculator.
Yes
how to select ?
Can we use Python language in Android studio
No. Android Studio only supports Java and Kotlin.
Thank you so much sir..;-)
So nice of you
Hey sir
Mene is video ko follow Kiya but mere ek error aa rha h view cannot be converted to button and Mene isko debug bhi Kr liya is there any solution you have then told me I'm waiting
Try to recheck the code....
2:49 par buttons kaise select hote hai ?
Nice
Thanks
Sir isko zip file me kaise save kre
Sir, I'm getting error for else , ( error : illegal start of type)
Try to remove the error
@@LearnTechToTech Sir, your reply isn't very helpful, is it?
Thnx Sir 🙏
Sir can we make it on mobile
I have been facing some problem. Can you please share the source code?
Sorry this is old video....No source code saved in my computer
Thanks Sir
Welcome Keep Watching and Sharing with friends
Hum bhi thaath se bolenge we are students of Mr. Rakesh Roshan
Thanks
@@LearnTechToTech thanks to you sir only an indian can teach this much for free : indian guys on youtube are famous in entire world
Bhot errors hea apk code me Plz renew kren video
issme bhot sari mistakes hea
This code is ok,because it is running properly.
This include basic features , you can improve this by your own logic
भैया जी एंड्रॉयड स्टूडियो में फूल सेटअप कैसे करे
Check my videos
Sir can u plzz give me code??
Sorry Not available now...very old video
I'm getting 'keep stopping' error. Pls suggest
Use if else in sub div and multiply function instead of if if if if for each
many loop holes in the program....
This is just for understanding ...you can improve lot
Please give me the code
Sorry mere paas save nahi hai ab..