Android – Starting an Activity PART 2

Android – Starting an Activity PART 2

You can read PART 1 here. You can launch activities on demand with startActivity() and startActivityForResult() startActivity() Launches a new activity and it does not return any information when the activity exits. It has one argument, an intent to start. You can read more here. startActivityForResult() Launches an activity and you will get a result when the activity finished. It can take up to 3 arguments, the intent to start, the request code (int) that identifies the request to the 2nd activity and options as a bundle. At the 1st…

Android – Starting an Activity PART 2 Read More