I\'m wondering if I am understanding the concepts of requestCode correectly. What is this integer for and does it matter what integer I set it to in:
Using an integer out of the range will raise a "java.lang.IllegalArgumentException: Can only use lower 16 bits for requestCode" exception.
So keep in mind that request is not just any positive integer but an integer of 16 bits, so from 0 to 65535.
Similarly, validateRequestPermissionsRequestCode in FragmentActivity requires requestCode to be of 8 bits, so between 0 and 255.