I tried to get data from the second activity so I use startActivity method to achieve this goal.

```
    final EditText editText=(EditText)findViewById(R.id.edit);
    final String text=editText.getText().toString();
    button.setOnClickListener(new View.OnClickListener() {
        @Override
        public void onClick(View view) {
            Intent intent=new Intent();
            intent.setData(Uri.parse(text);
            setResult(RESULT_OK,intent);
            finish();
        }
    });

```

What confuse me is when I put the "text" in Uri.parse(),it doesn't work,so I change to Uri.parse(editText.getText().toString),it just works.

So what exactly is the difference between them?