Open New Activity from Android Button Click

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ม.ค. 2025

ความคิดเห็น • 232

  • @pappy8942
    @pappy8942 7 ปีที่แล้ว

    10 different pages I visited... read a ton... copied code...
    But all I really needed was THIS VIDEO!!
    You're the man. Thanks much!

    • @codesolutionz6842
      @codesolutionz6842  7 ปีที่แล้ว

      glad it help...remember to share it with someone who might also be having that issue

  • @v_b_r_1996
    @v_b_r_1996 8 ปีที่แล้ว

    Thanks very much bro! Searched a lot for triggering new activity on button click but all were hard to understand but you broke it down clearly! Thank you very much!

  • @Taimurkhanhaider
    @Taimurkhanhaider 7 ปีที่แล้ว

    Very useful lesson. I appreciate it.

  • @juliocvelarde
    @juliocvelarde 8 ปีที่แล้ว

    Great tutorial...very clear and concise

  • @paulsemler950
    @paulsemler950 7 ปีที่แล้ว

    I've been looking for a tutorial on this exact topic for a while. Thanks so much for the helpful video and clear explanations. Awesome video, it helped me out greatly and I learned a lot. You are good at explaining!

    • @codesolutionz6842
      @codesolutionz6842  7 ปีที่แล้ว +1

      thanks..comments like yours,make the effort worthwhile,thank you too paul

  • @gabrielgutierrez2915
    @gabrielgutierrez2915 8 ปีที่แล้ว

    Thank you, I already Subscribed and hit the thumbs up. The button just didnt work, now it works thanks to you

  • @jeetnegi4422
    @jeetnegi4422 7 ปีที่แล้ว

    thank you bro its awesome & its help me a lot to complete my collage project.....

  • @randyhammer7777
    @randyhammer7777 7 ปีที่แล้ว

    Great tutorial.
    First one that worked for me and was explained well. (except for the inti(); after the Override)
    Although the startActivity(toy); line threw me....until I watched the ENDING of the video ;-)
    Thanks. This really helped!

  • @perfectlyfantastic
    @perfectlyfantastic 8 ปีที่แล้ว

    i closed the video onces it was on emulator
    and when it didnt worked came back
    "Ooo god forgot to mention "
    Start
    i wouldn't forget start in my life
    lolz
    Nice video
    loved it

  • @SasitornRodpon
    @SasitornRodpon 8 ปีที่แล้ว

    Very good tutorial thank you so much.

  • @MacFilmsmain
    @MacFilmsmain 8 ปีที่แล้ว

    Great Video i enjoyed it and helped

  • @lindatxia
    @lindatxia 8 ปีที่แล้ว

    Nice, straightforward tutorial. This helped me past a few errors I've been running into -- thank you!

  • @mgoullee
    @mgoullee 7 ปีที่แล้ว

    I have been struggling to find a solution all day for this! Great vid thanks!

  • @丁丁-j1v
    @丁丁-j1v 5 ปีที่แล้ว

    I found what I've wanted, you are the best! keep it up!

  • @soulinvestormusic9908
    @soulinvestormusic9908 7 ปีที่แล้ว

    Thank you, it was easier than most of the tutorials I saw :D

  • @nigelpallatt
    @nigelpallatt 8 ปีที่แล้ว +4

    I don't like this video I LOVED it! Nice and simple, 2 other videos I looked at were so hard to understand. Looking forward to catching your next. Thank you!

  • @rekersXXIX29
    @rekersXXIX29 8 ปีที่แล้ว +8

    This is so good. I would just like to suggest that you should zoom in the screen when you're typing the codes; that way we can easily see the codes. Thanks!!!

    • @Md_976
      @Md_976 8 ปีที่แล้ว +1

      yes I agree with you!

  • @chrismorris5241
    @chrismorris5241 7 ปีที่แล้ว

    I got scared before that correction just glad it works. Thank you.

  • @scottdhartman
    @scottdhartman 7 ปีที่แล้ว

    Yea mon!!! Dat is a righteous video, mon! Irie!!!

  • @abdohajar908
    @abdohajar908 7 ปีที่แล้ว

    Many thanks sir, It was very helpful

  • @khuloodal-alawi6907
    @khuloodal-alawi6907 8 ปีที่แล้ว

    thank you so much. clear explanation and work will with me

  • @unitedforever37
    @unitedforever37 8 ปีที่แล้ว

    I like your video. I think u from Ethiopia

  • @tonycardinal413
    @tonycardinal413 7 ปีที่แล้ว

    you really are the best!!! Are you in New York? Do you do any tutoring ?

  • @TripicaLHustleR
    @TripicaLHustleR 8 ปีที่แล้ว

    Chilled and simple, I like your style

  • @nabilabamusa4560
    @nabilabamusa4560 6 ปีที่แล้ว

    thank you code solutions u saved me big time God bless. and for those who are saying the video is too long, the least u could do is be appreciative.

  • @xelionizer
    @xelionizer 8 ปีที่แล้ว

    Hey man;D Great video, helped me out and got me one step further in my app development;) Maybe you could use a lower res so it would be easier to read your code next time? Thanks, big thumbs up!

  • @esnareshnetha
    @esnareshnetha 8 ปีที่แล้ว

    interesting stuff it helped me a lot cheers

  • @WAQARALAMLIVE
    @WAQARALAMLIVE 8 ปีที่แล้ว

    love from
    hobbytomake & waqaralam
    brother....
    WAQAR here...

  • @gasvel7679
    @gasvel7679 9 ปีที่แล้ว

    nice tutorial, thanks

  • @MiAniMoSiTy
    @MiAniMoSiTy 7 ปีที่แล้ว +3

    Good video man, nice to see someone from the West Indies, like myself, making great videos like this one!

    • @achrafhassine7314
      @achrafhassine7314 6 ปีที่แล้ว

      you have serious mental issues if you think this is great

  • @Robb2430
    @Robb2430 4 ปีที่แล้ว

    Good video. Thank you. You earned a like and a sub.

  • @musak6969
    @musak6969 8 ปีที่แล้ว

    Best video for learning this!

  • @osteen4x
    @osteen4x 7 ปีที่แล้ว

    Really helpful. I am making an app so i am gonna need your help as i do that. Thank you for this.God bless

    • @codesolutionz6842
      @codesolutionz6842  7 ปีที่แล้ว

      i will help in whatever way i can,once i have the time

    • @osteen4x
      @osteen4x 7 ปีที่แล้ว

      Thank you

  • @ivanal123
    @ivanal123 7 ปีที่แล้ว

    Thank you! This was really helpful! Easy and fast!

  • @JAMthejamer
    @JAMthejamer 8 ปีที่แล้ว

    well i realised those are tehe names of the activitys XD i fixed it thanks dude it help me allot

  • @raymondmiles7315
    @raymondmiles7315 8 ปีที่แล้ว

    Great video!

  • @abdulkhalid1156
    @abdulkhalid1156 8 ปีที่แล้ว

    Very Very helpful
    Thanks

  • @cheery_siren
    @cheery_siren 8 ปีที่แล้ว

    You are the best!

  • @akkq8524
    @akkq8524 7 ปีที่แล้ว

    Helped a lot Thanks.

  • @edyganrich264
    @edyganrich264 7 ปีที่แล้ว

    Thank you really professional guide

  • @manikantansrinivasan5261
    @manikantansrinivasan5261 5 ปีที่แล้ว

    awesome video!!!

  • @Guav3a
    @Guav3a 7 ปีที่แล้ว

    You are the best! :)

  • @arana3645
    @arana3645 8 ปีที่แล้ว

    Thanks!This video was really helpful.

  • @thebiskut09
    @thebiskut09 6 ปีที่แล้ว

    thank you, good tutorial...i managed to do it on my apps.nice one!

  • @faruk3431
    @faruk3431 8 ปีที่แล้ว

    Thank you very much. Much love from Turkey

  • @elins4143
    @elins4143 7 ปีที่แล้ว

    You could have explained how to make a lot of buttons but good enough...

  • @HpLegend1
    @HpLegend1 8 ปีที่แล้ว

    Thanks for the great tutorial!

  • @alfredogo88
    @alfredogo88 9 ปีที่แล้ว +1

    This was really helpful thank you!

  • @bigmax1839
    @bigmax1839 8 ปีที่แล้ว

    yo bless up yaad mon!

  • @andrewdunbar1006
    @andrewdunbar1006 8 ปีที่แล้ว

    Excellent!

  • @thilinaliyanage4484
    @thilinaliyanage4484 6 ปีที่แล้ว

    great.. this is useful

  • @arhamvoice4039
    @arhamvoice4039 8 ปีที่แล้ว

    many many thanks!!!
    i was looking for this from weeks

  • @chaosgames5648
    @chaosgames5648 5 ปีที่แล้ว

    Thank you very much bro !! great vid:)

  • @murtaza8779
    @murtaza8779 7 ปีที่แล้ว

    Great

  • @jagrutjadhav3846
    @jagrutjadhav3846 7 ปีที่แล้ว

    thank you soo much. That was simple.

  • @huibrechthancox1343
    @huibrechthancox1343 8 ปีที่แล้ว +1

    Do you have a video for multiple buttons. e.g. two on the main screen that goes to the next screen

  • @vloggeur9412
    @vloggeur9412 6 ปีที่แล้ว +1

    Thank's man for your vidéo i Like your vidéo 💪👍

  • @ambiahossain314
    @ambiahossain314 6 ปีที่แล้ว

    It was very helpful. Thanks a lot buddy :D

  • @imakegames1163
    @imakegames1163 8 ปีที่แล้ว

    Just what i needed, really well made !

  • @luisantos1986
    @luisantos1986 6 ปีที่แล้ว

    Beautiful, i don't need to extend any class or define any method to connect my java file to my activity

  • @heavestern
    @heavestern 7 ปีที่แล้ว

    thanks babe first window =)

  • @sj847
    @sj847 8 ปีที่แล้ว

    Helped me out greatly

    • @daveolaes9806
      @daveolaes9806 8 ปีที่แล้ว +1

      how about the second button? what should i do?

    • @ahmadnazimyahya9859
      @ahmadnazimyahya9859 8 ปีที่แล้ว

      i have same problem like you

  • @dberkane1943
    @dberkane1943 8 ปีที่แล้ว

    thanks for your help

  • @PutuAdi_id
    @PutuAdi_id 7 ปีที่แล้ว

    Hi, is possible to call activity from webview? can you share how to do it in video demo please.
    Thank you.

  • @HamdanSoft
    @HamdanSoft 8 ปีที่แล้ว

    thank you brother :) , this video help me

  • @Adrelyr
    @Adrelyr 7 ปีที่แล้ว

    Nice tutorial ! :D It works very well ^^

  • @ahmadnazimyahya9859
    @ahmadnazimyahya9859 8 ปีที่แล้ว

    Yah thanks man ,you amazing

  • @panpita9763
    @panpita9763 7 ปีที่แล้ว

    Why you have 216 subscribes you are very Good

  • @basmaradadi9155
    @basmaradadi9155 8 ปีที่แล้ว

    very helpfull thnks dude it works ! ^^

  • @huibrechthancox1343
    @huibrechthancox1343 8 ปีที่แล้ว

    do you have a video to show if you want to add more than one button

  • @harinhapuarachchi9490
    @harinhapuarachchi9490 8 ปีที่แล้ว

    Thanks a lot! was very helpful!

  • @RainBow-me4fx
    @RainBow-me4fx 8 ปีที่แล้ว

    Thanks for this cool tutorial . could you make a video on how to call an second activity from javascript that is loaded within webview ?

  • @whereisnitish
    @whereisnitish 7 ปีที่แล้ว

    very help full bro thanks

  • @brainiacbuddy
    @brainiacbuddy 8 ปีที่แล้ว

    thankyou so much...it helped alot :)

  • @varunramachandran381
    @varunramachandran381 5 ปีที่แล้ว

    Thank you very much the code works perfect.

  • @JigslyProduction
    @JigslyProduction 7 ปีที่แล้ว

    Hey Dude Its Work Boy Thankyou

  • @pappy8942
    @pappy8942 7 ปีที่แล้ว

    Image Button: if you're new like me, it might help to know this code works for an image button, too. If you drag an ImageButton on to your layout (and put the corresponding image in your res-->drawable folder), the only difference in the code is that you use ImageButton in the code each time instead of Button.

  • @winryDove
    @winryDove 8 ปีที่แล้ว

    Thank you!

  • @ahmadnazimyahya9859
    @ahmadnazimyahya9859 8 ปีที่แล้ว

    hi , i want ask something . if i want add another project , where i can type that code?
    example . first.activity to second.activity . second.activity to third.activity ...

  • @그게나야-j2v
    @그게나야-j2v 8 ปีที่แล้ว

    Thank you so much!! This video helped me out! Keep it up, man :)

  • @bigdaddyaleep8417
    @bigdaddyaleep8417 8 ปีที่แล้ว

    hey, i doing a project. a navigation drawer project. and i was wondering if i make a button in a fragment. how should i write this code in? the main activity.java or the fragment.java? could you explain to me about this?

  • @GrooveBox_music
    @GrooveBox_music 7 ปีที่แล้ว

    Thank you !!

  • @Skaimuse
    @Skaimuse 7 ปีที่แล้ว

    love your accent!!!!!!!!!!

  • @bonjai1234
    @bonjai1234 8 ปีที่แล้ว +1

    Your accent is awesome man... good tutorial btw :D ...

  • @ibetyoucandoit2717
    @ibetyoucandoit2717 5 ปีที่แล้ว

    Great bro, Can we make like, when A botton is clicked one like subway surfers apk app need to be installed, if B botton is clicked candy crush apk need to be installed and if C botton is clicked some other apk app need to be installed, Can we make in this way bro, please help me on this

  • @eaitreinador
    @eaitreinador 7 ปีที่แล้ว

    It work's! Thank you very much!

  • @lamoboos
    @lamoboos 8 ปีที่แล้ว

    you saved me, thank you

  • @gauravk0709
    @gauravk0709 7 ปีที่แล้ว

    Thank you so much... It helped a lot.... :)

  • @yasirkhan5507
    @yasirkhan5507 6 ปีที่แล้ว

    so cool mate (y)

  • @STUNT285
    @STUNT285 7 ปีที่แล้ว +1

    You must also add to your android manifest Regards.

  • @burungdara5787
    @burungdara5787 8 ปีที่แล้ว

    thanks so much man, you just saved my ass.
    God bless you

  • @TJ-ox7wm
    @TJ-ox7wm 8 ปีที่แล้ว +1

    thanks for the video :) but i had a few issues. The 'R' in R.id.but1 is red and says 'cannot resolve symbol R'. 'toy' and 'main' (i named my first activity main), also have the same problem. What should I do?

  • @YasithaIshantha
    @YasithaIshantha 8 ปีที่แล้ว

    great thank u !

  • @abrahamzunigabotello4412
    @abrahamzunigabotello4412 7 ปีที่แล้ว

    thank you bro :)

  • @DavidMakingSauce_Beats
    @DavidMakingSauce_Beats 8 ปีที่แล้ว

    i am from colombian and you the programmers
    should be speak more slowly please. thankyou very much.

  • @apsakare2088
    @apsakare2088 8 ปีที่แล้ว

    Thank you so much (y)

  • @baggern
    @baggern 8 ปีที่แล้ว +1

    Great, this really helped me

  • @ludovico1997sa
    @ludovico1997sa 7 ปีที่แล้ว

    Grandi padelle bro. :*

  • @TECHNOLOGYGEAR
    @TECHNOLOGYGEAR 6 ปีที่แล้ว

    Thanx, but i have a question.
    If i want to come back on first page tgen how we come back......
    And how we can see all pages are opend... like any browser...
    Please reply

    • @codesolutionz6842
      @codesolutionz6842  6 ปีที่แล้ว

      the back button on the user's device will normally work however you can also create a button that will bring you back to the user's previous activity

    • @programmingtutorial5352
      @programmingtutorial5352 6 ปีที่แล้ว

      codesolutionz
      How user can see all tabs.(means previous and new both at screen like chrome)

  • @jerrymond6713
    @jerrymond6713 8 ปีที่แล้ว

    Thanks a lot man ! ;D