-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFallActivity.java
More file actions
39 lines (39 loc) · 1.13 KB
/
Copy pathFallActivity.java
File metadata and controls
39 lines (39 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//package com.example.jason.ptosis;
//
//import android.support.v7.app.AppCompatActivity;
//import android.os.Bundle;
//import android.widget.Button;
//import android.widget.TextView;
//import android.widget.Toast;
//
////this class is triggered when a fall is detected
//
//public class FallActivity extends AppCompatActivity {
//
// @Override
// protected void onCreate(Bundle savedInstanceState) {
// super.onCreate(savedInstanceState);
// setContentView(R.layout.activity_fall);
//
// CountDownTimer(); //tin kalei apo katw
//
// }
//
//}
//
//public abstract class CountDownTimer extends Object{
// new CountDownTimer(15000, 1000) {
//
// public void onTick(long millisUntilFinished) {
// mTextField.setText(millisUntilFinished / 1000 + " δευτερόλεπτα πριν την κλήση"); //edw na mpei opou mTextField to Button
// }
// public void onFinish() {
// mTextField.setText("Αυτόματη κλήση βοήθειας"); ////edw na mpei opou mTextField to Button
// //edw mpainei kai i automati klisi gia voitheia
//
// }
// }
// .start();
//}
//
//