如何在意圖中獲得微調器選定位置並將其作爲參數傳遞給其他活動?如何在意圖中獲得選定的微調器值?
spinner sp;
if (position==1) {
do this
} if (position==2) {
do this
}
Intent i = new Intent(this.getApplicationContext(), AgAppMenu.class);
Bundle bundle = new Bundle();
bundle.putString("mno", mobile.getText().toString());
bundle.putString("pinno", pin.getText().toString());
bundle.putLong("CODE",sp.getSelectedItemPosition());
接受Answer.by滴答右記號吧。 – Harish