use of sugar.free.sightparser.handling.SightServiceConnector in project SightRemote by TebbeUbben.
the class AlertService method onStartCommand.
@Override
public int onStartCommand(Intent intent, int flags, int startId) {
serviceConnector = new SightServiceConnector(this);
serviceConnector.connectToService();
serviceConnector.setConnectionCallback(this);
return Service.START_STICKY;
}
use of sugar.free.sightparser.handling.SightServiceConnector in project SightRemote by TebbeUbben.
the class TimeSynchronizationService method onCreate.
@Override
public void onCreate() {
alarmManager = (AlarmManager) getSystemService(ALARM_SERVICE);
serviceConnector = new SightServiceConnector(this);
serviceConnector.addStatusCallback(this);
serviceConnector.connectToService();
}
Aggregations