@Override
 public void onCreate() {
   super.onCreate();
   initGoogleApiClient();
   gson = new Gson();
   mLocationManager = (LocationManager) getSystemService(Context.LOCATION_SERVICE);
 }
  @Override
  public void onCreate() {
    super.onCreate();

    itemReaderDbHelper = new ItemReaderDbHelper(this);
    groupReaderDbHelper = new GroupReaderDbHelper(this);
  }
  @Override
  public void onCreate() {
    super.onCreate();
    Log.d(TAG, "Creating NotificationListener");
    mGoogleApiClient =
        new GoogleApiClient.Builder(this)
            .addApi(Wearable.API)
            .addConnectionCallbacks(this)
            .addOnConnectionFailedListener(this)
            .build();

    PreferenceManager.setDefaultValues(this, R.xml.preferences, false);
    prefs = PreferenceManager.getDefaultSharedPreferences(this);

    registerReceiver(sendMessageReceiver, new IntentFilter(Constants.SEND_MESSAGE_INTENT));
  }
  @Override
  public void onCreate() {
    super.onCreate();
    // initialize the googleAPIClient for message passing

    mApiClient =
        new GoogleApiClient.Builder(this)
            .addApi(Wearable.API)
            .addConnectionCallbacks(
                new GoogleApiClient.ConnectionCallbacks() {
                  @Override
                  public void onConnected(Bundle connectionHint) {}

                  @Override
                  public void onConnectionSuspended(int cause) {}
                })
            .build();
    mApiClient.connect();
  }
  @Override
  public void onCreate() {
    super.onCreate();
    googleClient =
        new GoogleApiClient.Builder(this)
            .addApiIfAvailable(Wearable.API)
            .addConnectionCallbacks(
                new GoogleApiClient.ConnectionCallbacks() {
                  @Override
                  public void onConnected(Bundle bundle) {}

                  @Override
                  public void onConnectionSuspended(int i) {}
                })
            .addOnConnectionFailedListener(
                new GoogleApiClient.OnConnectionFailedListener() {
                  @Override
                  public void onConnectionFailed(ConnectionResult connectionResult) {}
                })
            .build();

    googleClient.connect();
  }
 @Override
 public void onCreate() {
   super.onCreate();
 }
 @Override
 public void onCreate() {
   super.onCreate();
   mApiClient = new GoogleApiClient.Builder(this).addApi(Wearable.API).build();
   mApiClient.connect();
 }