Note that there are some explanatory texts on larger screens.

plurals
  1. POerror when create GCMIntenetService class
    text
    copied!<p>I followed this topic <a href="http://developer.android.com/guide/google/gcm/gs.html#libs" rel="nofollow">http://developer.android.com/guide/google/gcm/gs.html#libs</a> to create GCM I did all steps well but when I am going on create class GCMIntenetService I had more errors on the class some of errors "cannot be resolved to type" , "return type of the method missing ..." ... please if any one help.</p> <p></p> <p>package com.example.elarabygroup;</p> <p>public class GCMIntenetService extends GCMBaseIntentService {</p> <pre><code>private static final String LOG_TAG = "GetAClue::GCMIntentService"; public GCMIntentService() { super( GCM_SENDER_ID ); // TODO Auto-generated constructor stub Log.i( LOG_TAG, "GCMIntentService constructor called" ); } @Override protected void onError( Context arg0, String errorId ) { // TODO Auto-generated method stub Log.i( LOG_TAG, "GCMIntentService onError called: " + errorId ); } @Override protected void onMessage( Context arg0, Intent intent ) { // TODO Auto-generated method stub Log.i( LOG_TAG, "GCMIntentService onMessage called" ); Log.i( LOG_TAG, "Message is: " + intent.getStringExtra( "message" ) ); } @Override protected void onRegistered( Context arg0, String registrationId ) { // TODO Auto-generated method stub Log.i( LOG_TAG, "GCMIntentService onRegistered called" ); Log.i( LOG_TAG, "Registration id is: " + registrationId ); } @Override protected void onUnregistered( Context arg0, String registrationId ) { // TODO Auto-generated method stub Log.i( LOG_TAG, "GCMIntentService onUnregistered called" ); Log.i( LOG_TAG, "Registration id is: " + registrationId ); } </code></pre> <p>}</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload