In Android, request codes help identify intents and their corresponding results. The best place to declare a request code is in a separate file that holds all your constants.