я пытаюсь отправить два пакета одновременно от одного действия к другому, и мне не повезло .. я могу отправить пакет нормально, но когда я пытаюсь два отправить два, я получаю нулевой указатель.вот мой код:
Activity A,
@Override
protected void onListItemClick(ListView l, View v, int position, long id) {
// TextView name = (TextView) v.findViewById(R.id.label2);
TextView number1 = (TextView) v.findViewById(R.id.label);
Intent i = new Intent(this, options_Page.class);
// Bundle bundle2 = new Bundle();
Bundle bundle1 = new Bundle();
bundle1.putString("title", number1.getText().toString());
// bundle2.putString("title2", name.getText().toString());
i.putExtras(bundle1);
// i.putExtras(bundle2);
startActivity(i);
Activity B,
Bundle bundle1 = this.getIntent().getExtras();
// Bundle bundle2 = this.getIntent().getExtras();
String title = bundle1.getString("title");
// String title2 = bundle2.getString("title2");
((TextView) findViewById(R.id.tvnumber)).setText(title);
// ((TextView) findViewById(R.id.tvname)).setText(title2);
используя этот код, как он есть, он отправляет один пакет (номер) без проблем, если кто-нибудь знает, как я могу отправить другой (имя), это действительно помогло бы мне.Заранее спасибо ...