728x90

보내는쪽

Intent intent=new Intent(login.this,findlocation.class);
intent.putExtra("TextIn",mid.getText().toString());
startActivityForResult(intent,ACT_EDIT);

받는쪽

Intent intent=getIntent();
String getid="";
getid=intent.getStringExtra("TextIn");

TextView textview=(TextView)findViewById(R.id.textView1);
textview.setText(getid);

728x90

+ Recent posts