I have some trouble with my texview, when I use m button in my first activity I want to open I second activity and display my texview with a information that I get from my first activity. But when I use `ID.setText(intent_nom.getStringExtra("nom"));` my application doesn't work anymore. Can you help me please, thanks.

here my first activity 

```
package com.maze.maze;

import androidx.appcompat.app.AppCompatActivity;

import android.content.res.AssetManager;
import android.os.Bundle;
import android.view.View;
import android.widget.EditText;
import android.widget.RadioButton;
import android.widget.RadioGroup;
import android.widget.Button;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.content.res.Resources;
import android.graphics.Canvas;
import android.graphics.Color;
import android.widget.ImageView;
import java.io.InputStream;
import java.io.IOException;
import android.content.Context;
import android.graphics.drawable.Drawable;
import android.graphics.drawable.BitmapDrawable;

public class MainActivity extends AppCompatActivity {

    RadioGroup radiogroup;
    Button button_val;
    EditText e_prenom;
    EditText e_nom;
    private static final String SAVED_TEXT_KEY = "some_key";

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

        button_val=findViewById(R.id.button_v);
        radiogroup=findViewById(R.id.radiogroup);
        e_prenom=findViewById(R.id.e_prenom);
        e_nom=findViewById(R.id.e_nom);

        button_val.setOnClickListener(new View.OnClickListener() {
            @Override

            public void onClick(View view){

                int  laby =0;
                switch (radiogroup.getCheckedRadioButtonId())
                {
                    case R.id.radio_1: laby=1; break;
                    case R.id.radio_2: laby=2; break;
                    case R.id.radio_3: laby=3; break;
                    case R.id.radio_4: laby=4; break;
                    case R.id.radio_5: laby=5; break;
                }
                Intent intent_laby= new Intent();
                intent_laby.putExtra("num_labyrinth",laby);
                Intent intent_nom= new Intent();
                intent_nom.putExtra("nom", e_nom.getText() );
                Intent intent_prenom= new Intent();
                intent_prenom.putExtra("prenom", e_prenom.getText() );
                startActivity(new Intent(MainActivity.this, Activity_labyrinth.class));
            }

        });

    }

}

```

here my second activity 

```
package com.maze.maze;
import java.io.InputStream;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Bundle;
import android.content.res.Resources;
import android.widget.EditText;
import android.widget.TextView;

public class Activity_labyrinth extends AppCompatActivity {

    TextView ID;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        ID=findViewById(R.id.ID);

        Intent intent_nom  = getIntent();
        ID.setText(intent_nom.getStringExtra("nom"));

        setContentView(R.layout.activity_labyrinth);
    }
}

```

here my the xml file of my second activity

```
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:visibility="visible"
    tools:context=".Activity_labyrinth"
    tools:visibility="visible">

    <TextView
        android:id="@+id/ID"

        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:background="#ffffffff"
        android:gravity="center_horizontal"
        android:textColor="#000"
        android:textSize="50dp"
        android:visibility="visible" />
</androidx.constraintlayout.widget.ConstraintLayout>

```