Skip to content

Commit

Permalink
Enabled KSAS doInBackground.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertoCasasOrtiz committed Aug 18, 2021
1 parent d5c3be0 commit 409c238
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 20 deletions.
6 changes: 6 additions & 0 deletions .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .idea/jarRepositories.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 9 additions & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 0 additions & 12 deletions .idea/runConfigurations.xml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -241,13 +241,13 @@ public void onAccuracyChanged(Sensor sensor, int i) {
@Override
protected Boolean doInBackground(Void... voids) {
// Follow mCMARR framework inside the loop.
/*while(!finish()) {
while(!finish()) {
giveIndications();
captureMovements();
float[][][] model = modelMovements();
int recognizedMovement = analyzeMovements(model);
giveFeedback(recognizedMovement);
}*/
}
// Give final indications. Reports would be here.
ActivityFunctions.speak(activity.getString(R.string.errors_commited) + " " + errorsCommitted.getTotalNumberOfErrors() + " " + activity.getString(R.string.errors), tts, true);

Expand Down
9 changes: 4 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@
buildscript {
repositories {
google()
jcenter()

mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.0.0'
classpath 'com.android.tools.build:gradle:4.0.2'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand All @@ -17,8 +16,8 @@ buildscript {
allprojects {
repositories {
google()
jcenter()

mavenCentral()
maven { url 'https://jitpack.io' }
}
}

Expand Down

0 comments on commit 409c238

Please sign in to comment.