Browse Source

Pre-AlphaV3

EpiTest
Raz492 3 years ago
parent
commit
022ecd94a6
1 changed files with 3 additions and 7 deletions
  1. 3
    7
      app/src/main/java/de/edotzlaff/detection/MainActivity.java

+ 3
- 7
app/src/main/java/de/edotzlaff/detection/MainActivity.java View File

@RequiresApi(api = Build.VERSION_CODES.O) @RequiresApi(api = Build.VERSION_CODES.O)
@Override @Override
public void onClick(View v) { public void onClick(View v) {
for (int i=1; i<=5; i++)
{
System.out.println("Ready to Detect");
mShakeDetectionIsActive = true;
mShakeDetected = false;
btnReadyToDetect.setEnabled(false);
}
mShakeDetectionIsActive = true;
mShakeDetected = false;
btnReadyToDetect.setEnabled(false);
} }
}); });
} }

Loading…
Cancel
Save