Browse Source

AlphaV21

master
Raz492 3 years ago
parent
commit
e9d75b7ec4

+ 2
- 3
app/src/main/java/de/edotzlaff/schockwelle/SensorMapsActivity.java View File

@@ -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{

Loading…
Cancel
Save