title: Send and Receive request Code Android Activity
body: <p>Good day.I want to send and receive an request code through my own activities without using intents as it will normally be done for example contacts activity or any other external ones.Lets say i got some BuyCoins activity and i start it like this</p>
  
  <pre><code> Intent intent = new Intent(getApplicationContext(), BuyCoins.class);
      startActivityForResult(intent, BUY_COINS_REQUEST_CODE);
  </code></pre>
  
  <p>So by googling everyone was using intents not this way,but i do not want to use intents for such scenario,i want to do it default.
  In buy coins class everyone said i should do something like </p>
  
  <pre><code> setResult(RESULT_OK);
  </code></pre>
  
  <p>But where i get the <code>BUY_COINS_REQUEST_CODE</code>?how do i give back the request code from BuyCoins class?Someone can tell me please?</p>