protected void onActivityResult(int requestCode, int resultCode, Intent data) { super.onActivityResult(requestCode, resultCode, data); if(requestCode == 1 && resultCode == 2){ String num = data.getStringExtra("data"); //int b = Integer.parseInt(num); //String a = (String) View.getText(); //char c = a.charAt(b); //input.setText(c); } }
到String num都是对的! 一转int 输出b都是错什么鬼啊
xleon
星箜下
BlueFishQ
Corbie亚东
慕先生4653473
蜂之谷
一条小咸鱼