For example, you pressed the spacebar, but it turned out "_"?
Source:
o = (EditText)findViewById(R.id.mainEditText); (findViewById(R.id.mainButton)).setOnClickListener( new OnClickListener() { @Override public void onClick(View v) { startActivity( new Intent(Intent.ACTION_VIEW, Uri.parse("мой текст"+o.getText() )));}}); And after that, words go through the space in EditText or "o", but you need to put "_" instead of a space