3

after started new activity for result

Intent intent = new Intent(this, ContactActivity.class);        
startActivityForResult(intent, 1);

how can i take requestCode in ContactActivity? i tried search in bundle but with no result

Bundle bundle = getIntent().getExtras();
Utils.PrintInfo("requestCode : "+bundle.getInt("requestCode"));
Mariusz
  • 1,352
  • 1
  • 16
  • 31

0 Answers0