Browse Source

Dateien hochladen nach „app/src/main/java/de/edotzlaff/schockwelle“

master
Aron Abdulajev 3 years ago
parent
commit
7345a35d97
1 changed files with 1 additions and 3 deletions
  1. 1
    3
      app/src/main/java/de/edotzlaff/schockwelle/MainActivity.java

+ 1
- 3
app/src/main/java/de/edotzlaff/schockwelle/MainActivity.java View File

@@ -108,8 +108,6 @@ public class MainActivity extends FragmentActivity {
@Override
public void onClick(View v) {
getDataBaseValuesNoListener();
btnEarthquake.setEnabled(true);
btnSensor.setEnabled(true);
btnMuster.setEnabled(true);
btnLeer.setEnabled(true);
}
@@ -140,7 +138,7 @@ public class MainActivity extends FragmentActivity {
public void deviceInitDataBase()
{
mDatenbank = FirebaseDatabase.getInstance().getReference();
Devices d1 = new Devices("10.00.00.000", false, Calendar.getInstance().getTimeInMillis(), 52.51624237821577, 13.37683380067744, 1000, LocalDateTime.now().toString(), ""); //Berlin 52.51624237821577, 13.37683380067744
Devices d1 = new Devices("10.00.00.000", false, Calendar.getInstance().getTimeInMillis(), 49.58967957913626, 11.011387124069765, 1000, LocalDateTime.now().toString(), ""); //Erlangen 49.58967957913626, 11.011387124069765
Devices d2 = new Devices("20.00.00.000", false, Calendar.getInstance().getTimeInMillis(), 48.7560280895443, 11.425157702952347, 200, LocalDateTime.now().toString(),""); //Ingolstadt 48.7560280895443, 11.425157702952347
Devices d3 = new Devices("30.00.00.000", false, Calendar.getInstance().getTimeInMillis(), 48.16958655466396, 11.617418429524394, 30, LocalDateTime.now().toString(),""); //München 48.16958655466396, 11.617418429524394
Devices d4 = new Devices("40.00.00.000", false, Calendar.getInstance().getTimeInMillis(), 45.55620112204013, 12.342516140205387, 4, LocalDateTime.now().toString(),""); //Venedig 45.55620112204013, 12.342516140205387

Loading…
Cancel
Save