Intent intent = new Intent(); intent.putExtra("A", "x"); intent.putExtra("A", 1); // value of key A will be int 1 finally. // So if i want to get the String from key A it will have error! String a = intent.getStringExtra("A");
沒有留言:
張貼留言