Demo of using Android Studio to create a simple application with a button which generates a log message and a toast.
1. Launch Android Studio; create simple hello-world app.
2. See XML and .java code for activities
3. Add a button, change name, see XML
4. Java code to access button: View.OnClickListener
5. Generate a log message when button is clicked.
6. Generate a toast when button is clicked.
7. Show where to find the compiled R class.
Nguồn:https://wijstaanvooronzegrondrechten.org/
Xem Thêm Bài Viết Khác:https://wijstaanvooronzegrondrechten.org/cong-nghe
It says that my computer is missing the following “ features” but it doesn’t say what features. Also says “Emulator: hardware-accelerated emulation may not work properly”
add this instead (in XML & Java replace "doAction" with your name that you like but XML onClick attribute name must not differ than the one in Java)
XML (inside Button element):
android:onclick="doAction"
———————————————
Java:
public void doAction() {
// Replace this note with your Java command
}
—————————————-
Hello very good video
A query that code is added to the decrease button so that it does not decrease when the clicks reach zero?
Thank you so much
Hey my ver of android studio is 3.5.3 help im trying to find the buttons area
thank you very much, nice and helpful Intro
Great Video. Thank you so much!
Everything on my screen looks completely different.
What if it doesn't appear to me the R class is? in source for me it only appears the buildConfig folder
thanks
Thank you, helped me understand typecasting
I just love you! If, by any chance, you are in Kyiv (Ukraine) some day, I will be sooooo glad to meet you!! THE moust informative video ever! and the way you speak! just the best!
I hate android studio
Nice Video .
this was completly useless disliked
Hey brin i have little bit problem
Coz i want 2 make 1 txt view at center then below that 2 buttons horizontally and one more same like above so plz tell me wat kind of alignment ,and which layout should i use when i use relative and use layout below then its not working properly I think layout blow nt working with relative layout
Well I was following along great but then the .show made an error that couldn't be resolved. Suggestions?
I still dont understand why you all don't use just a method and call the View, it's more simple as that and you don't need the fking setOnClickListener I'm just don't get it
very good example ! thank you !
it took me a week to find somebody whou would explain those proppety's instead of just naiming everything button and moving along without explaining it…
i cannot drag and drop buttons / text?
amazing man thank you so much
it's obsolet
doesn't working
android studio how to run your app on phone
0:36 / 18:25
الفيديو التالي
تشغيل تلقائي
3:22
How to Make a Button Open a New Activity – Android Studio Tutorial
Coding in Flow
55 ألف مشاهدة
6:12
TextView and Button onCLick | Android Studio Tutorial (Beginners) HD | All About Android
Easy Tuto
44 ألف مشاهدات
12:38
Open New Activity from Android Button Click
codesolutionz
195 ألف مشاهدة
1:11:37
باربي فيلم الأميرة والفقير – الجزء الثالث كامل بالعربي
youtube منوعات
فيديوهات مقترحة
7:41
Create beautiful login screen|Android Studio Tutorial|Android Apps|Login Screen
Inside Android
244 ألف مشاهدة
1:59:03
Android Studio Tutorial For Beginners – 1 | Android Tutorial | Android App Development | Edureka
edureka!
279 ألف مشاهدة
3:32
OnClickListener for Multiple Buttons – Android Studio Tutorial
Coding in Flow
12 ألف مشاهدة
19:48
Simple Login App Tutorial Using Android Studio 2.3.3 (NEW)
Professor DK
222 ألف مشاهدة
21:51
Labels, Text box, Buttons in Android
Murad Iqbal
31 ألف مشاهدة
13:11
Calculator App Tutorial E01 – Creating a Simple Calculator Layout in Android Studio 2.3
Professor DK
71 ألف مشاهدة
5:07
Floating Text Button in Android App | Android Studio 2.3.3 | Android Libraries Tutorials
Sabith Pkc Mnr
18 ألف مشاهدة
14:20
TextView and strings.xml: Android Programming
DrBFraser
18 ألف مشاهدة
12:35
Android button alignment tutorial
Coding Demos
29 ألف مشاهدة
11:05
Making Magic Button in Android Studio
Quoc Nguyen
41 ألف مشاهدة
22:18
Java Eclipse GUI Tutorial 1 # Creating First GUI Project in Eclipse
ProgrammingKnowledge
فيديوهات مقترحة
4:30
How to play sound with button click Android Studio
John's Android Studio Tutorials
65 ألف مشاهدات
12:55
Basic ListView Demo: Android Programming
DrBFraser
188 ألف مشاهدة
10:25
Android Studio Tutorials – 44 : Custom ListView in Android
rams android
106 ألف مشاهدة
14:21
Android Studio Tutorial – Grid Layout and CardView
EDMT Dev
129 ألف مشاهدة
9:10
I Adopted Rich People’s Habits, See How My Life Changed
BRIGHT SIDE
1.9 مليون مشاهدة
Creating a Button: Android Programming
54,735 مشاهدة
360
23
مشاركة
DrBFraser
تم نشره في 09/01/2017
Demo of using Android Studio to create a simple application with a button which generates a log message and a toast.
1. Launch Android Studio; create simple hello-world app.
2. See XML and .java code for activities
3. Add a button, change name, see XML
4. Java code to access button: View.OnClickListener
5. Generate a log message when button is clicked.
6. Generate a toast when button is clicked.
7. Show where to find the compiled R class.
Listing of videos: http://www.cs.sfu.ca/CourseCentral/27...
33 تعليقًا
Abu_Arqob
إضافة تعليق عام…
Abu_Arqob
Abu_Arqob
قبل ثانية واحدة
android studio how to run your app on phone
15:05 / 18:25
الفيديو التالي
تشغيل تلقائي
3:22
How to Make a Button Open a New Activity – Android Studio Tutorial
Coding in Flow
55 ألف مشاهدة
6:12
TextView and Button onCLick | Android Studio Tutorial (Beginners) HD | All About Android
Easy Tuto
44 ألف مشاهدات
12:38
Open New Activity from Android Button Click
codesolutionz
195 ألف مشاهدة
1:11:37
باربي فيلم الأميرة والفقير – الجزء الثالث كامل بالعربي
youtube منوعات
فيديوهات مقترحة
7:41
Create beautiful login screen|Android Studio Tutorial|Android Apps|Login Screen
Inside Android
244 ألف مشاهدة
1:59:03
Android Studio Tutorial For Beginners – 1 | Android Tutorial | Android App Development | Edureka
edureka!
279 ألف مشاهدة
3:32
OnClickListener for Multiple Buttons – Android Studio Tutorial
Coding in Flow
12 ألف مشاهدة
19:48
Simple Login App Tutorial Using Android Studio 2.3.3 (NEW)
Professor DK
222 ألف مشاهدة
21:51
Labels, Text box, Buttons in Android
Murad Iqbal
31 ألف مشاهدة
13:11
Calculator App Tutorial E01 – Creating a Simple Calculator Layout in Android Studio 2.3
Professor DK
71 ألف مشاهدة
5:07
Floating Text Button in Android App | Android Studio 2.3.3 | Android Libraries Tutorials
Sabith Pkc Mnr
18 ألف مشاهدة
14:20
TextView and strings.xml: Android Programming
DrBFraser
18 ألف مشاهدة
12:35
Android button alignment tutorial
Coding Demos
29 ألف مشاهدة
11:05
Making Magic Button in Android Studio
Quoc Nguyen
41 ألف مشاهدة
22:18
Java Eclipse GUI Tutorial 1 # Creating First GUI Project in Eclipse
ProgrammingKnowledge
فيديوهات مقترحة
4:30
How to play sound with button click Android Studio
John's Android Studio Tutorials
65 ألف مشاهدات
12:55
Basic ListView Demo: Android Programming
DrBFraser
188 ألف مشاهدة
10:25
Android Studio Tutorials – 44 : Custom ListView in Android
rams android
106 ألف مشاهدة
14:21
Android Studio Tutorial – Grid Layout and CardView
EDMT Dev
129 ألف مشاهدة
9:10
I Adopted Rich People’s Habits, See How My Life Changed
BRIGHT SIDE
1.9 مليون مشاهدة
Creating a Button: Android Programming
54,735 مشاهدة
360
23
مشاركة
DrBFraser
تم نشره في 09/01/2017
Demo of using Android Studio to create a simple application with a button which generates a log message and a toast.
1. Launch Android Studio; create simple hello-world app.
2. See XML and .java code for activities
3. Add a button, change name, see XML
4. Java code to access button: View.OnClickListener
5. Generate a log message when button is clicked.
6. Generate a toast when button is clicked.
7. Show where to find the compiled R class.
Listing of videos: http://www.cs.sfu.ca/CourseCentral/27...
33 تعليقًا
Abu_Arqob
إضافة تعليق عام…
Abu_Arqob
Abu_Arqob
قبل ثانية واحدة
Has been disabled
Abu_Arqob
Abu_Arqob
قبل ثانية واحدة
Has been disabled
Abu_Arqob
Abu_Arqob
قبل ثانية واحدة
Has been disabled
Abu_Arqob
Abu_Arqob
قبل ثانية واحدة
Has been disabled
Abu_Arqob
Abu_Arqob
قبل ثانية واحدة
Has been disabled
Abu_Arqob
Abu_Arqob
قبل ثانية واحدة
Has been disabled
Abu_Arqob
Abu_Arqob
قبل ثانية واحدة
Has been disabled
Abu_Arqob
Abu_Arqob
قبل ثانية واحدة
Has been disabled
Abu_Arqob
Abu_Arqob
قبل ثانية واحدة
Has been disabled
Abu_Arqob
Abu_Arqob
قبل ثانية واحدة
Has been disabled
Abu_Arqob
Abu_Arqob
قبل ثانية واحدة
PhlamenFqWho is reading this
Abu_Arqob
Abu_Arqob
قبل ثانية واحدة
PhlamenByeIamGoing
Abu_Arqob
Abu_Arqob
قبل ثانية واحدة
PhlamenOkIamComing
Abu_Arqob
Abu_Arqob
قبل ثانية واحدة
PhlamenGo
PhlamenWait
Abu_Arqob
Abu_Arqob
قبل ثانية واحدة
Android
Abu_Arqob
Abu_Arqob
قبل ثانية واحدة
Deer
Abu_Arqob
Abu_Arqob
قبل ثانية واحدة
Near
Abu_Arqob
Abu_Arqob
قبل ثانية واحدة
Eear
Abu_Arqob
Abu_Arqob
قبل ثانية واحدة
Fear
Abu_Arqob
Abu_Arqob
قبل ثانية واحدة
Swear
Abu_Arqob
Abu_Arqob
قبل ثانية واحدة
Dolphin!
Abu_Arqob
Abu_Arqob
قبل ثانية واحدة
Section
Abu_Arqob
Abu_Arqob
قبل ثانية واحدة
Configuration!
Abu_Arqob
Abu_Arqob
قبل ثانية واحدة
Congratulations!
Abu_Arqob
Abu_Arqob
قبل ثانية واحدة
Introduction!
KZ11
KZ11
قبل 11 شهرًا
Wow, someone who isn't 20 years old Indian who sounds like 10yo kid! Thanks.
22
Germán Gomez
Germán Gomez
قبل سنة واحدة
Hey dude, this tutorial is awesome, could you keep up?
4
A_Guy_in_Orange
A_Guy_in_Orange
قبل 5 أشهر
i haven't watched the video and no clue if hes helpful, but i already subscribed you Coding Bob Ross you, that voice is godly
2
lucksy bb
lucksy bb
قبل 7 أشهر
Very helpful, thank you!
1
Wilfried Maier
Wilfried Maier
قبل شهرين (2)
Finally a tutorial which isnt made for people, who are using a PC the 1st time – thanks!
1
Shadowcanon
Shadowcanon
قبل 9 أشهر
Thx mate, best explaination i found so far, well done 😀
1
That One Weirdo
That One Weirdo
قبل سنة واحدة
Very helpful, you saved me so much time and hair tearing out.
Sivarajan sam
Sivarajan sam
قبل سنة واحدة
Thanks Dude
mehmet esgel
mehmet esgel
قبل 8 أشهر
I have never seen a teacher like you !!
Thank you so much, Even my main language is Turkish. your video is easy to understand thanks
M.S G
M.S G
قبل 7 أشهر
nice instructions ,, and nice lesson
thanks
Achyuth
Achyuth
قبل 9 أشهر
bro how can we indicate the heading in scrolling activity plz help me
Doodle
Doodle
قبل سنة واحدة
Thanks for making these videos! I'm just starting to learn Android Dev. These are really helpful! You've earned a sub 😀
Futuro Esta
Futuro Esta
قبل 9 أشهر
Great Tutorial! Thank you SIR!!!
AAKASH SINGH
AAKASH SINGH
قبل شهرين (2)
whic
Has be
android studio how to run your app on phone
15:05 / 18:25
الفيديو التالي
تشغيل تلقائي
3:22
How to Make a Button Open a New Activity – Android Studio Tutorial
Coding in Flow
55 ألف مشاهدة
6:12
TextView and Button onCLick | Android Studio Tutorial (Beginners) HD | All About Android
Easy Tuto
44 ألف مشاهدات
12:38
Open New Activity from Android Button Click
codesolutionz
195 ألف مشاهدة
1:11:37
باربي فيلم الأميرة والفقير – الجزء الثالث كامل بالعربي
youtube منوعات
فيديوهات مقترحة
7:41
Create beautiful login screen|Android Studio Tutorial|Android Apps|Login Screen
Inside Android
244 ألف مشاهدة
1:59:03
Android Studio Tutorial For Beginners – 1 | Android Tutorial | Android App Development | Edureka
edureka!
279 ألف مشاهدة
3:32
OnClickListener for Multiple Buttons – Android Studio Tutorial
Coding in Flow
12 ألف مشاهدة
19:48
Simple Login App Tutorial Using Android Studio 2.3.3 (NEW)
Professor DK
222 ألف مشاهدة
21:51
Labels, Text box, Buttons in Android
Murad Iqbal
31 ألف مشاهدة
13:11
Calculator App Tutorial E01 – Creating a Simple Calculator Layout in Android Studio 2.3
Professor DK
71 ألف مشاهدة
5:07
Floating Text Button in Android App | Android Studio 2.3.3 | Android Libraries Tutorials
Sabith Pkc Mnr
18 ألف مشاهدة
14:20
TextView and strings.xml: Android Programming
DrBFraser
18 ألف مشاهدة
12:35
Android button alignment tutorial
Coding Demos
29 ألف مشاهدة
11:05
Making Magic Button in Android Studio
Quoc Nguyen
41 ألف مشاهدة
22:18
Java Eclipse GUI Tutorial 1 # Creating First GUI Project in Eclipse
ProgrammingKnowledge
فيديوهات مقترحة
4:30
How to play sound with button click Android Studio
John's Android Studio Tutorials
65 ألف مشاهدات
12:55
Basic ListView Demo: Android Programming
DrBFraser
188 ألف مشاهدة
10:25
Android Studio Tutorials – 44 : Custom ListView in Android
rams android
106 ألف مشاهدة
14:21
Android Studio Tutorial – Grid Layout and CardView
EDMT Dev
129 ألف مشاهدة
9:10
I Adopted Rich People’s Habits, See How My Life Changed
BRIGHT SIDE
1.9 مليون مشاهدة
Creating a Button: Android Programming
54,735 مشاهدة
360
23
مشاركة
DrBFraser
تم نشره في 09/01/2017
Demo of using Android Studio to create a simple application with a button which generates a log message and a toast.
1. Launch Android Studio; create simple hello-world app.
2. See XML and .java code for activities
3. Add a button, change name, see XML
4. Java code to access button: View.OnClickListener
5. Generate a log message when button is clicked.
6. Generate a toast when button is clicked.
7. Show where to find the compiled R class.
Listing of videos: http://www.cs.sfu.ca/CourseCentral/27...
33 تعليقًا
Abu_Arqob
إضافة تعليق عام…
Abu_Arqob
Abu_Arqob
قبل ثانية واحدة
Has been disabled
Abu_Arqob
Abu_Arqob
قبل ثانية واحدة
Has been disabled
Abu_Arqob
Abu_Arqob
قبل ثانية واحدة
Has been disabled
Abu_Arqob
Abu_Arqob
قبل ثانية واحدة
Has been disabled
Abu_Arqob
Abu_Arqob
قبل ثانية واحدة
Has been disabled
Abu_Arqob
Abu_Arqob
قبل ثانية واحدة
Has been disabled
Abu_Arqob
Abu_Arqob
قبل ثانية واحدة
Has been disabled
Abu_Arqob
Abu_Arqob
قبل ثانية واحدة
Has been disabled
Abu_Arqob
Abu_Arqob
قبل ثانية واحدة
Has been disabled
Abu_Arqob
Abu_Arqob
قبل ثانية واحدة
Has been disabled
Abu_Arqob
Abu_Arqob
قبل ثانية واحدة
PhlamenFqWho is reading this
Abu_Arqob
Abu_Arqob
قبل ثانية واحدة
PhlamenByeIamGoing
Abu_Arqob
Abu_Arqob
قبل ثانية واحدة
PhlamenOkIamComing
Abu_Arqob
Abu_Arqob
قبل ثانية واحدة
PhlamenGo
PhlamenWait
Abu_Arqob
Abu_Arqob
قبل ثانية واحدة
Android
Abu_Arqob
Abu_Arqob
قبل ثانية واحدة
Deer
Abu_Arqob
Abu_Arqob
قبل ثانية واحدة
Near
Abu_Arqob
Abu_Arqob
قبل ثانية واحدة
Eear
Abu_Arqob
Abu_Arqob
قبل ثانية واحدة
Fear
Abu_Arqob
Abu_Arqob
قبل ثانية واحدة
Swear
Abu_Arqob
Abu_Arqob
قبل ثانية واحدة
Dolphin!
Abu_Arqob
Abu_Arqob
قبل ثانية واحدة
Section
Abu_Arqob
Abu_Arqob
قبل ثانية واحدة
Configuration!
Abu_Arqob
Abu_Arqob
قبل ثانية واحدة
Congratulations!
Abu_Arqob
Abu_Arqob
قبل ثانية واحدة
Introduction!
KZ11
KZ11
قبل 11 شهرًا
Wow, someone who isn't 20 years old Indian who sounds like 10yo kid! Thanks.
22
Germán Gomez
Germán Gomez
قبل سنة واحدة
Hey dude, this tutorial is awesome, could you keep up?
4
A_Guy_in_Orange
A_Guy_in_Orange
قبل 5 أشهر
i haven't watched the video and no clue if hes helpful, but i already subscribed you Coding Bob Ross you, that voice is godly
2
lucksy bb
lucksy bb
قبل 7 أشهر
Very helpful, thank you!
1
Wilfried Maier
Wilfried Maier
قبل شهرين (2)
Finally a tutorial which isnt made for people, who are using a PC the 1st time – thanks!
1
Shadowcanon
Shadowcanon
قبل 9 أشهر
Thx mate, best explaination i found so far, well done 😀
1
That One Weirdo
That One Weirdo
قبل سنة واحدة
Very helpful, you saved me so much time and hair tearing out.
Sivarajan sam
Sivarajan sam
قبل سنة واحدة
Thanks Dude
mehmet esgel
mehmet esgel
قبل 8 أشهر
I have never seen a teacher like you !!
Thank you so much, Even my main language is Turkish. your video is easy to understand thanks
M.S G
M.S G
قبل 7 أشهر
nice instructions ,, and nice lesson
thanks
Achyuth
Achyuth
قبل 9 أشهر
bro how can we indicate the heading in scrolling activity plz help me
Doodle
Doodle
قبل سنة واحدة
Thanks for making these videos! I'm just starting to learn Android Dev. These are really helpful! You've earned a sub 😀
Futuro Esta
Futuro Esta
قبل 9 أشهر
Great Tutorial! Thank you SIR!!!
AAKASH SINGH
AAKASH SINGH
قبل شهرين (2)
which gladly you use in android studio
Jeff P
Jeff P
قبل شهرين (2)
thank you
eehab samara
eehab samara
قبل 11 شهرًا
can u help me pls
when i drag button and place it in anywhere it only showed on the top of the screen
what can i do to change it
Sanal Kv
Sanal Kv
قبل سنة واحدة
great video bro , expecting more nd more videos on creating basic android apps with explanation of every keywords and app permissions thats being used inside the class . keep up the work . video on an intro to java programming willl be helpfull too.
Talissa Jondral
قبل سنة واحدة
When I dragged the button onto the screen, it came up with an error. It said:
Warning: [I18N] Hardcoded string "Button", should use `@string` resource
How do I fix it?
BlackZero Rs
قبل شهرين (2)
In fact, if you first time in android development, but before that you work as PHP programmer, you actually wonder "How meny minutes you must spand to do codes for one god damn button!???" I can build whole coding structure in PHP to identify device, set parameters, SQL requests and whole HTML coding for one website in 18 minutes! OMG! Java is to complicated to code… why people creating complex stuff in programming languages like this?
Houssara Khul
قبل سنة واحدة
Very good and clear. Thank's
Has been disabled
Has been disabled
Has been disabled
Has been disabled
PhlamenFqWho is reading this
PhlamenByeIamGoing
PhlamenOkIamComing
PhlamenGo
PhlamenWait
Fear
Swear
Dolphin!
Section
Congratulations!
Introduction!
I appreciate your hardwork
its good but i have a sugesstion for you
kindly Mention at starting an overview of what this video is about
mention a short demo about the purpose of this video
in my perspective it wold be more helpful for subscribers
I've watched a ton of videos and read a ton of articles on building java apps and this video has taught me more in 20 minutes than the hours I've spent on other resources. Thank you so much! This is the best video I've seen out there for teaching how to build a functioning button with java in android studio.
In fact, if you first time in android development, but before that you work as PHP programmer, you actually wonder "How meny minutes you must spand to do codes for one god damn button!???" I can build whole coding structure in PHP to identify device, set parameters, SQL requests and whole HTML coding for one website in 18 minutes! OMG! Java is to complicated to code… why people creating complex stuff in programming languages like this?