0

I am opening a second activity using startActivityForResult, I am sending a request code from the main activity that is received by onActivityResult.

but I want to know if it is possible to change that request code in the secondary activity so that I don't have to receive the same code in the main activity?

1 Answers1

0

You should be receiving a result code not a request code in your SecondActivity. The last example code in this source may be consistent with what you are trying to do. If this isn't what you are looking for, try posting your code to give us more context.

Mary X
  • 153
  • 2
  • 15