Lines Matching refs:ID
54 registration ID), and a broadcast receiver to receive messages sent by GCM.
90 application can send the registration ID to the 3rd party server.</li>
248 messages. When an app registers, it receives a registration ID, which it can then
265 * Substitute you own sender ID here. This is the project number you got
268 String SENDER_ID = "Your-Sender-ID";
309 registration ID stored in shared preferences:</p>
312 * Gets the current registration ID for application on GCM service.
316 * @return registration ID, or empty string if there is no existing
317 * registration ID.
326 // Check if app was updated; if so, it must clear the registration ID
342 // This sample app persists the registration ID in shared preferences, but
348 <p>If the registration ID doesn't exist or the app was updated,
368 <p>If there isn't a valid existing registration ID, {@code DemoActivity} calls the
378 * Stores the registration ID and app versionCode in the application's
391 msg = "Device registered, registration ID=" + regid;
393 // You should send the registration ID to your server over HTTP,
422 <p>Once you've received your registration ID, send it to your server:</p>
425 * Sends the registration ID to your server over HTTP, so it can use GCM/HTTP
435 registration ID in shared preferences for future use. This is just one way of
439 * Stores the registration ID and app versionCode in the application's
443 * @param regId registration ID
639 <li>Follow the instructions in <a href="gs.html">Getting Started</a> to get your sender ID and
646 your sender ID and API key.