Use GCM funtion to get the registration Id for the device:
gcmInstance = GoogleCloudMessaging.getInstance(MainActivity.this);
regId = gcm.register("SenderId");
SenderId should be obtained from Google development portal where the app was created. Use the same package name as of the app while creating project in Google dev portal.
Then pass this regId to Teamchat SDK