From e9d75b7ec4a29a630a8ad93dc8285e3ef7c65973 Mon Sep 17 00:00:00 2001 From: Raz492 Date: Sun, 27 Jun 2021 13:04:27 +0200 Subject: [PATCH] AlphaV21 --- .../java/de/edotzlaff/schockwelle/SensorMapsActivity.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/de/edotzlaff/schockwelle/SensorMapsActivity.java b/app/src/main/java/de/edotzlaff/schockwelle/SensorMapsActivity.java index 6028ca3..2786961 100644 --- a/app/src/main/java/de/edotzlaff/schockwelle/SensorMapsActivity.java +++ b/app/src/main/java/de/edotzlaff/schockwelle/SensorMapsActivity.java @@ -148,8 +148,7 @@ public class SensorMapsActivity extends FragmentActivity implements OnMapReadyCa Toast.makeText(this, "Vibration has been stopped", Toast.LENGTH_SHORT).show(); return; } - - Toast.makeText(this, "Ampl: " + amplitude + ", Dur: " + duration, Toast.LENGTH_SHORT).show(); + //Toast.makeText(this, "Ampl: " + amplitude + ", Dur: " + duration, Toast.LENGTH_SHORT).show(); v.vibrate(VibrationEffect.createOneShot(duration,amplitude)); @@ -247,7 +246,7 @@ public class SensorMapsActivity extends FragmentActivity implements OnMapReadyCa currentLocation.setLatitude(breitengrad); currentLocation.setLongitude(laengengrad); } - Toast.makeText(SensorMapsActivity.this, currentTime.toString(), Toast.LENGTH_SHORT).show(); + //Toast.makeText(SensorMapsActivity.this, currentTime.toString(), Toast.LENGTH_SHORT).show(); moveCamera(new LatLng(currentLocation.getLatitude(), currentLocation.getLongitude()),15f); } else{