pass request code to another activity code example Example: get requestcode from intent android getIntent().getAction();