title: How to get RegistrationID using GCM in android
body: <p>I am trying to do push notification in android using GCM. I read the Google docs for GCM and their demo application. I created the client side program mentioned here 
  <code>http://android.amolgupta.in/</code>. But i am not getting registration ID. Also I am not getting some points like:</p>
  
  <ol>
  <li>do i need to server program too with this</li>
  <li>on Google demo app they mention that i need to change api key at "samples/gcm-demo-server/WebContent/WEB-INF/classes/api.key" is it necessary to do it every time as i am creating new project </li>
  </ol>
  
  <p>Can any one provide me proper project other than google provided so that i clear my concepts.</p>
  
  <p>Any help will be appreciated.</p>