get requestCode in oncreate android code example Example: get requestcode from intent android getIntent().getAction();