Android Beginner Tutorial #3 - Buttons [click buttons to execute actions]

preview_player
Показать описание
Android Beginner Tutorial #3 - Buttons [click buttons to execute actions]

By the end of this video you will know:
1) how to add a button to a layout file
2) how to execute actions with your buttons
3) how to print a message on the screen after clicking a button (a toast message)

➤Android SQLite Course:

➤Source Code:

➤My Keyboard:

➤My Microphone:

➤Check out our website:
Рекомендации по теме
Комментарии
Автор

This series is EXCELLENT! Haven't found anything as comprehensive anywhere else online! Thank you so so much, you make the concepts really easy to understand :D

SillanStudios
Автор

Mitch listen I was looking for a decent guide on Android Studio but there werent any good sources. There were some guys whose when I tried to listen to them, their pronunciation wasnt good enough or there was some sound issure. In your case.. You have skills, very big talent of learning, just amazing to listen. Im glad that I found out your channel. Thanks for doin videos like this!

kristians
Автор

This is the most up to date and easiest to follow series for Android development. You explained everything very clearly and very well (You actually explained what a Toast was before showing it!). I just have one question: What is the difference between saying "MainActivity.this" vs just saying "this" when creating your Toast? I've seen code samples just pass "this" in for when a method asks for a Context, so I'm a bit confused. Thanks again!

sonickk
Автор

1:14 Hello, how do you do so that when you add the buttons you don't get on top of each other? in the video you put them and there is one button below the other, but when I do it in Android Studio 3.4 the buttons overlap when I put them. Also in the box where you put the text, I get a dialog in orange "Hardcoded string" BUTTON ", I should use @string resource, and when I put the text for the button in the next box, if you show it to me and I do not get error

tsuki_shiroi
Автор

One of last good american tutorials on youtube I could find, youtube is flooded with Indian tutorials :(

Northener
Автор

I watched all 6 tutorials so far and they're great!

samopper
Автор

Great videos! Could you make a video on how to fetch data from API, and how to parse it and populate into listview? Thank you!

kunxue
Автор

This is day one for me, so complete noob atm, I tried following your video but as soon as I open the emulator it stacks all of my buttons in the top left of the screen, even with the design showing them all in the middle : / I checked the text side I have Y: 204dp for one button and Y 120dp for the other. any idea why it isnt showing up in the right place ?

Anything other than the Hello world box ends up in the top left check boxs, radio buttons ect

foxfirerage
Автор

No matter what I do, I cannot get this construct to work: button.setOnClickListener(new View.OnClickListener() ...using the capital O in the second instance doesn't do anything.

northernowl
Автор

i am having a problem in getting "clicked button one " displayed!!!! what could be the reason

chiragverma
Автор

Thanks. I'm going through your tutorials....PEACE

DavidLeeMenefee
Автор

Hi, just began your tutorial. Love them so much and they're so well thought out. Can you explain to me how Log.d works and findViewById? I know you explained them in the video, but some reason I couldn't understand what they're used for and what their syntax is.


Liked and Subscribed! Keep it up! :)

sven--
Автор

Hi, How can I control the space between button one and button two? thanks for your time

tsuki_shiroi
Автор

can you make a video on in app billing

AviPars
join shbcf.ru