Android Build an Interactive Story App Intents and Multiple Activities Starting a New Activity

Challenge Task 2 of 2 Now start a new Activity using the Intent you just created.

i do not understand question

LaunchActivity.java
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class LaunchActivity extends Activity {

  public Button mLaunchButton;

  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_launch);

    mLaunchButton = (Button)findViewById(R.id.launchButton);
    mLaunchButton.setOnClickListener(new View.OnClickListener() {
      @Override
      public void onClick(View v) {
      Intent intent = new Intent(LaunchActivity.this, FlightActivity.class); 
        startActivity(intent);

      }
    });
  }
}

2 Answers

Thank you