Below is the how to from google to register for GCM. Where in the second line of code do I put my appid? Comme to think about it is the appid the name of my project on the Google App Engine?
sender is the ID of the account authorized to send messages to the application, typically the email address of an account set up by the application's developer. app is the application's ID, set with a PendingIntent to allow the registration service to extract application information. For example:
Intent registrationIntent = new Intent("com.google.android.c2dm.intent.REGISTER");
registrationIntent.putExtra("app", PendingIntent.getBroadcast(this, 0, new Intent(), 0)); // boilerplate
registrationIntent.putExtra("sender", "someemail@oo.com");
startService(registrationIntent);