How to Start Another Activity on Button Click | Navigating to Activity | Android | Java

Опубликовано: 15 Апрель 2026
на канале: TechSparks
76
3

In this video tutorial. We will add some code

To create a login page
Validate the fields in a login page

Navigate to the home activity once the validate is successful.



Subscribe to TechSparks:    / @techsparks4834  
Sections:
Intro: (0:00)
Start: (0:28)
Create New Activity: (0:49)
Adding Table Layout: (1:49)
Adding Code to MainActivity: (5:45)
Adding OnItemClickListener: (7:09)
Validating Form Fields: (7:55)
Navigation to the Second Activity From First Activity: (9:32)
Retrieving Values in the Second Activity: (10:36)
Adding TextView to display User Name in Second Activity: (11:00)
Demo: (12:35)


navigate between screens android | Start another activity | Make a button open an activity
Android Course | Beginner | Starter | Material | Android Studio Tutorial
#android
#TechSparks
#navigation
#howto
#login
#tutorial
#beginner
© TechSparks 2020