title: Issue in getting device token of android using gcm
body: <p>I can not get my device token and i am using the GCMRegistrar
  I am giving my codes . What is wrong with me i can not understand.</p>
  
  <p>my Manifest file includes </p>
  
  <pre><code>&lt;receiver
          android:name="com.google.android.gcm.GCMBroadcastReceiver"
          android:permission="com.google.android.c2dm.permission.SEND" &gt;
          &lt;intent-filter&gt;
  
              &lt;!-- Receives the actual messages. --&gt;
              &lt;action android:name="com.google.android.c2dm.intent.RECEIVE" /&gt;
              &lt;!-- Receives the registration id. --&gt;
              &lt;action android:name="com.google.android.c2dm.intent.REGISTRATION" /&gt;
              &lt;category android:name="com.example.apnsautodial" /&gt;
          &lt;/intent-filter&gt;
      &lt;/receiver&gt;
       &lt;service android:name=".GCMIntentService" /&gt;
  </code></pre>
  
  <p>my activity includes</p>
  
  <pre><code>GCMRegistrar.checkDevice(this);
  GCMRegistrar.checkManifest(this);       
  regId = GCMRegistrar.getRegistrationId(this);
  if (regId.equals("")) {
      GCMRegistrar.register(this, SENDER_ID);
  }
  </code></pre>
  
  <p>Please help me out </p>
  
  <p>Thanks in adv</p>