Something went wrong on our end
-
Peter Joseph De Jonckheere CESM2014 authored
Discovered new sensors which were added as possible strategies.Combinations of these and existing will be used to provide best range of possible strategies for detecting sedentary behaviour. To show framework aspects possibly implement a step counter alone to send notifications on each multiple of 100 steps or at the end of each day? Continued to try to refine the notification setup.
Peter Joseph De Jonckheere CESM2014 authoredDiscovered new sensors which were added as possible strategies.Combinations of these and existing will be used to provide best range of possible strategies for detecting sedentary behaviour. To show framework aspects possibly implement a step counter alone to send notifications on each multiple of 100 steps or at the end of each day? Continued to try to refine the notification setup.
Stimulus.java 550 B
package com.example.stimulus;
import android.content.BroadcastReceiver;
import com.example.notification.Notification;
import com.example.stimulusStrategy.Accelerometer;
import com.example.stimulusStrategy.Clock;
import com.example.stimulusStrategy.StimulusStrategy;
import java.util.Observer;
/**
* Created by pharmacy on 09/01/2018.
*/
public interface Stimulus {
StimulusStrategy defaultStrategy = new Clock();
//Allows the Stimulus Strategy to be used with this stimlus to be chosen
void chooseStrategy(StimulusStrategy s);
}