Basically all you have to do is:
1. Add the following to your AndroidManifest.xml file:
2. Create the NewActivity class
3. On the button press or whenever you want to see the new activity launched call something like this:
Intent i = new Intent(MainActivity.this, NewActivity.class);
startActivity(i);
That's it!!
2 comments:
Thanks for providing info about opening a new window in Android. We can use this option.I also never knew how to do this.So It is very useful and informative.Thanks.
digital signature
Thanks for the info.
Post a Comment