/** * @see android.app.Service#onCreate() */ @Override public void onCreate() { super.onCreate(); // create a binder that will let the Activity UI send // commands to the Service mqttServiceBinder = new MqttServiceBinder(this); // create somewhere to buffer received messages until // we know that they have been passed to the application messageStore = new DatabaseMessageStore(this, this); }
/** * @see Service#onCreate() */ @Override public void onCreate() { super.onCreate(); // create a binder that will let the Activity UI send // commands to the Service mqttServiceBinder = new MqttServiceBinder(this); // create somewhere to buffer received messages until // we know that they have been passed to the application messageStore = new DatabaseMessageStore(this, this); }
/** * @see android.app.Service#onCreate() */ @Override public void onCreate() { super.onCreate(); // create a binder that will let the Activity UI send // commands to the Service mqttServiceBinder = new MqttServiceBinder(this); // create somewhere to buffer received messages until // we know that they have been passed to the application messageStore = new DatabaseMessageStore(this, this); }