title: startActivityForResult with an enum
body: <p>I am writing an android app, and I have a home screen that starts different playing modes (different activites). I want to start each activity for a result using
  <code>startActivityForResult()</code> with the requestCode being equal to some constant for each type of the game (easy, medium, hard). I was trying to do this with an enum, but eclipse is telling me <code>startActivityForResult(Intent i, int request code) is not applicable for arguments (Intent, [name of my enum class])</code>. I tried to implement this with an inner class, but it does not work. </p>
  
  <p>I was hoping to utilize enums so that the code is more readable in onActivityResult() (i.e. checking if resultCode == EASY rather than resultCode == 1).</p>
  
  <p>From my understanding, Enums act the same as integers. Correct me if I am wrong.</p>
  
  <p>Can anyone help?</p>