Putextras not working
<p>I have multiple variables to pass from one activity to another. </p>

<p>I have this in the first activity:</p>

<pre><code>public void onClick(View v) {
    switch(v.getId()){
    case R.id.bStartGame:
    Intent i = new Intent(StartScreen.this, GameScreen.class);
    Bundle extras = new Bundle();
    extras.putString("Name 0", sName0);
    extras.putString("Name 1", sName1);
    extras.putString("Name 2", sName2);
            .
            .
            .
    i.putExtras(extras);
    StartScreen.this.startActivity(i);
    finish();
    break;
</code></pre>

<p>In the second activity, I have this:</p>

<pre><code> Intent i = getIntent();
 Bundle extras = i.getExtras();
 String name0 = extras.getString("Name 0");

 TextView test = (TextView) findViewById(R.id.tvTEST);
 test.setText(name0);
</code></pre>

<p>However, the textview shows nothing when I do this. How can I fix this?</p>

<p>EDIT: In the first activity I have:</p>

<pre><code> name0 = (EditText) findViewById(R.id.etName0);
 sName0 = name0.getText().toString();
</code></pre>

<p>and the same for all the other names with their relevant references.</p>

<p>Also, just for clarification, name0 is the edittext, sName0 is the string and "Name 0" is the key.</p>
