registration id is null from gcm in android 2.3.3, 2.3.5 but it is not null and working in android 2.3.4, 4.0.4.
<pre><code>private void registerClient()      
{  
try    {      
    GCMRegistrar.checkDevice(this);  
    GCMRegistrar.checkManifest(this);  
    regId = GCMRegistrar.getRegistrationId(this);      
    if (regId.equals(""))   
    {      
       registrationStatus = "Registering...";                
       GCMRegistrar.register(this, "1074338555805");  
       regId = GCMRegistrar.getRegistrationId(this);  
       registrationStatus = "Registration Acquired";     
       sendRegistrationToServer();  
     }   
     else   
     {  
        registrationStatus = "Already registered";  
     }  
 } 

catch (Exception e)   
 {  
        e.printStackTrace();  
        registrationStatus = e.getMessage();  
 }

}
</code></pre>

<p>registration id is null from gcm in android 2.3.3, 2.3.5 but it is not null and working in android 2.3.4, 4.0.4.</p>
