Android Tutorial for Beginners 7 # Adding Two Numbers App (Simple Calculator)

preview_player
Показать описание
In this Android Video Tutorial we will see How to create an Android Application to Add two numbers or create a very simple basic Calculator. Adding two numbers in android using android studio will give you an actual feel of how the code logic works in Android.
We will write the Add Two Number Source code code to add two numbers. Android Application Development of Addition of Two number will not be very difficult. We will also see How to take input from users and add 2 numbers in android.
★★★Top Online Courses From ProgrammingKnowledge ★★★

★★★ Online Courses to learn ★★★

★★★ Follow ★★★

DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
Рекомендации по теме
Комментарии
Автор

This video helped me getting started developing android apps :) Thanks!

NoDraw
Автор

Finally got it to work, I had to enter the code before putting the button and text fields in because Andriod kept trying to help and added onButtonClick of it's own. Thanks ProgrammingKnowledge!

nigelpallatt
Автор

Finally a sample I can use... I hope the rest of your videos are like this. I've learnt more in 10mins than I have in the past few days.... THANK

kutubemuggeridge
Автор

You are the best teacher ever i have seen in youtube

DilanTharaka
Автор

My app also crashed and I managed to fix it with the following steps:

1.Go to the activity_main.xml file and in the bottom choose Text so that you can see your xml code

2. in the <Button> tag, or where the code for the button is, replace the existing (Main Activity)"
with


This made my app work flawlessly. I think the problem in the previous example occurred because when you paste your button from the Palette with different attributes and change the button`s properties in the right window, the xml code in the activity_main.xml file is automatically changed and written by AndroidStudio by default and this can lead to slight alterations between what you have written and what AndroidStudio has done.

I hope I was helpful :)

victoriadobreva
Автор

Very clear presentation to this confusing android world. Thank you !

tolokat
Автор

Wow! Amazing job! I guess you could say that it's right at my level. Although not every single basic thing is explained, nearly everything that I needed to know was thoroughly explained. The text was large and clear. You didn't just write a novel and pretend that we understood, but rather, you explained what things do and how they link up. Thanks a lot! I'll continue to the next app tutorial in your series. I look forward to trying more!

rwill.
Автор

Thankyou very much. i made my first working app with your help.

shabinp
Автор

FOR ANYONE WHO HAS ALL THE BOTTONS AND TEXT IN THE TOP LEFT
To solve this you need to do the following...
You will know that you have this problem because if you go to the text version of the xml, it will show that <EditText (or <WIDGET whatever the widget happens to be) will be underlined red
Right-click widget-in-question > Constraint Layout > Infer Constraints:

this will fix the problem.
Enjoy!

y
Автор

Thank you so much for these videos! They are fantastic!

rockymountain
Автор

Very good video. I really appreciate the help.

redbeardhomes
Автор

sir your videos are awesome, thanks for giving us such free tutorials

avigeek
Автор

Hi, thanks so much for sharring your knowledge! Its helping me a lot!

romulobianchin
Автор

You are so awesome:D honour for you because of this series

schmidtpeti
Автор

it is going well for me. really useful for me, thanks

aljohanimajed
Автор

Hi First Class tutorial I would suggest perhaps as an addition the code you use to be added to the comments . Thanks for the instruction very useful

davidpalmer
Автор

just following up with you bro
nice 1
GOD bless you fore me

g-ownproperties
Автор

very very pleasure for this helping hand!

krishnamurti
Автор

oh man i really enjoy your tutorial until this far!! man you are awesome!!

mynameiskranz
Автор

your videos are really great .
can u please help me in showing the result without button click

vittal