Creating Multiple Activity In Android - Programming - Nairaland
Nairaland Forum › Science/Technology › Programming › Creating Multiple Activity In Android (1053 Views)
1 Reply
| Creating Multiple Activity In Android by richardwalter(op): 3:48pm On Feb 15, 2017 |
Hello, I am creating an application which has lots of buttons on home screen and upon clicking any button - opens new activity. I would like to know how to code for multiple activity from one single activity. Please help.. Thanks..!! About me: I'm new in this forum, I have worked with multiple firms You can check Marketing automation software video ,one of my work. |
| Re: Creating Multiple Activity In Android by simiolu1(m): 4:17pm On Feb 15, 2017 |
| Re: Creating Multiple Activity In Android by Dekatron(m): 6:05pm On Feb 15, 2017 |
If I can get you right, all you need to do is declare intents. Lets say I have activity A and I want to go to activity B after I click activity A, I will declare an onClick method (actually, Override it. I hope you know what Overriding means in java). button.setOnClickListener(new View.OnClickListener() {That is just a test code. Hope you catch the drift. |
What Programming Language Is Used In Creating Viruses? • Consuming Laravel Api In Android • Gradle Problem In Android Studio • 2 • 3 • 4
In Urgent Need Of A Peer To Peer Site • MATLAB Expert Needed For This Simulation • Learn Mobile App Development