인텐트(Intent) 값 넘기고 받기/보내고 받는 방법
int position = 1; Intent i = new Intent(ListActivity.this, SlideShowActivity.class); i.putExtra("position", position); i.putExtra("txt", "스트링 문자열"); startActivity(i); 받는 곳Intent intent = getIntent(); int idx = intent.getExtras().getInt("position"); String txt = intent.getExtras().getString("txt");