Hi I am new to android. In my application if user selects the button in the alertDialog I need to open a new screen and I have to display some message on that screen. How to open a new screen?
You open a new activity (i.e screen) by creating and firing off a new intent:
Intent intent = new Intent(this, YourNewActivity.class)
startActivity(intent)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With