Android Build an Interactive Story App Intents and Multiple Activities Getting Data from an Intent

prosper nyamukondiwa
prosper nyamukondiwa
656 Points

getting data from an intent

am blank on this one anyone to assist

FlightActivity.java
import android.os.Bundle;

public class FlightActivity extends AppCompatActivity {

    public int fuelLevel = 0;

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

        // Add your code below!

    }
}