Android Studio How to start a new activity with a button

Android Studio How to start a new activity with a button

34,970 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@CARSALECHANALcarsale
@CARSALECHANALcarsale - 03.07.2023 00:54

Nyv

Ответить
@marxt1237
@marxt1237 - 05.10.2018 03:08

Is a module an activity? Thanks for the video though.

Ответить
@martynas911
@martynas911 - 08.04.2018 20:01

I have followed tutorial and checked my code Stops Working as soon as you click on the button manifest file looks good any help would be appreciated

Ответить
@boredstudent2492
@boredstudent2492 - 21.01.2018 17:55

Thank you for amazing videos!!! I've learned a lot. Thank you for the knowledge.
-2018 Subscriber.

Ответить
@badformatuk
@badformatuk - 06.12.2017 04:49

Top guy. More Vidz!!!

Ответить
@Broockle
@Broockle - 29.10.2017 02:03

There is something inherent about being Awesome at Programming which tends to make people terrible at teaching. I see this with all these videos and online tutorials, the android studio main page and even my friends that know programming.
I appreciate the work you put into this video, it gives me something to work with. But I wish you wouldn't constantly assume that I understand what we're all looking at on your screen.
I have no idea what the difference between "Button" and "(Button)" is or what advancetoquestiontwo does, or what part of your code are names that you make up and what part is inherent within Java.

"We're gonna set a on click function...." "....here we do some method...."
Clearly stating the intentions with each move would help and communicating what all these details do and then presenting your code in the end to copy.
It's very safe to say that the vast majority of your viewers are complete and total incompoots in terms of programming.

Ответить
@williamburbidge5986
@williamburbidge5986 - 24.10.2017 00:26

This worked great for me, you should state somewhere that people need to import a few of the things above for it to work. Thank you :)

Ответить
@fabiangries2307
@fabiangries2307 - 29.09.2017 23:38

But what happens, if you make on the new site(activity) a button with go back. I can't even use the function on the Site than :/

Ответить
@francescoderuvo93
@francescoderuvo93 - 01.09.2017 00:33

I don't know why but this method and the other method also, are not working to me...

Ответить
@RockyPictures
@RockyPictures - 31.07.2017 10:40

Hi, I have done everything you have said. The app does compile but when I click on the button, it says unfortunately app has stopped. Please Help!

Ответить
@elins4143
@elins4143 - 26.05.2017 02:47

My favorite color is black

Ответить
@redminotekalilinux1738
@redminotekalilinux1738 - 25.05.2017 18:56

Please Make a video to launch​ Button click activity open new activity ..... only once when app is opened for first time If app is opened second time should not open button click activity should open new activity directly How to disable Button Click Activity PLEASE MAKE A VIDEO...................

Ответить
@fofucelly
@fofucelly - 08.04.2017 02:32

Thanks! worked like a charm! :)

Ответить
@GandhiTheGunslinger
@GandhiTheGunslinger - 09.03.2017 01:49

I've tried doing this for multiple buttons and most of them work apart from one because when I name the button it says something like this field has never appeared. I don't suppose you could offer any advice? Thanks in advance :)

Ответить
@dogthatlooksattaxevaders6325
@dogthatlooksattaxevaders6325 - 14.02.2017 14:35

will this work on android studio 2.2 on basic activity as my main activity.java

Ответить
@leonmatt4799
@leonmatt4799 - 05.01.2017 08:55

it doesn't work for me, the app does compile but when i click it crashes "unfortunally app has stop"

Ответить
@Gregouaa
@Gregouaa - 05.12.2016 08:38

my code is almost identical to yours, but i get the message,"Class 'Anonymous class derived from OnClickListener' must either be declared abstract or implement abstract method 'onClick(View)' in 'onClickListener'." how can i fix this?

Ответить
@abdiasnoel1293
@abdiasnoel1293 - 08.09.2016 06:46

Thanks a lot!
Very useful!

Ответить
@ahmadnazimyahya9859
@ahmadnazimyahya9859 - 19.08.2016 11:44

sir, for the 3rd activity where can i put the java.code for Questionthreeactivity?

Ответить
@rekersXXIX29
@rekersXXIX29 - 10.07.2016 07:15

My program won't work with two intents or i don't know. Only one button will go to new activity, the others won't work. Can you help me?

Ответить
@mathew633man
@mathew633man - 10.04.2016 09:24

Dude, you are the best! I've made my first app with button thanks to you. Of course, I had to do additional research as well but your video was very helpful. thanks!

Ответить
@EdwardFinance
@EdwardFinance - 28.12.2015 08:16

Make sure to tell people to import the right things in the beginning of the file. Other than that, it's great! I love these short, straight to the point videos. Thanks!

Ответить
@neominds1590
@neominds1590 - 24.11.2015 22:10

Your tutorial saved my life!
Cheers

Ответить
@gregorhendriks5887
@gregorhendriks5887 - 17.11.2015 11:18

Nice tutorial!
very helpfull thanks

Ответить
@iskarmi
@iskarmi - 23.10.2015 20:49

Thanks!

Ответить
@h.r.hbrandont8369
@h.r.hbrandont8369 - 12.09.2015 04:23

I still cant make mine work . Do you have a solution for me ?

Ответить
@imariotmaker
@imariotmaker - 01.09.2015 03:03

Thanks for the tutorial, very straight forward and easy to understand.
Keep up the good work

Ответить
@TheBUSTON13
@TheBUSTON13 - 05.08.2015 01:36

thank you!!!!

Ответить