개인공부
Intent
hackee
2013. 4. 20. 22:24
Intent intent = new Intent(현재액티비티.this, 이동할액티비티);
Intent intent = new Intent(this,SecondActivity.class);
인텐트시 값을 전달할 경우
intent.putExtra("전달내용을 대표하는 키값",전달내용");
값을 전달받는 경우 ( SecondActivity.class입장에서)
Intent intent = getIntent();
String msg = intent.getStringExtra("전달할 키");