You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 10, 2017. It is now read-only.
Log.d(TAG, className.toString() + " service is bound");
130
132
isServiceBound = true;
131
133
service = ((AbstractGatewayService.AbstractGatewayServiceBinder)binder).getService();
132
134
service.setContext(MainActivity.this);
133
135
Log.d(TAG, "Starting the live data");
136
+
service.startService();
134
137
135
138
}
136
139
140
+
// This method is *only* called when the connection to the service is lost unexpectedly
141
+
// and *not* when the client unbinds (http://developer.android.com/guide/components/bound-services.html)
142
+
// So the isServiceBound attribute should also be set to false when we unbind from the service.
0 commit comments