@@ -91,7 +91,7 @@ public class EarthquakeMapsActivity extends FragmentActivity implements OnMapRea | |||
setContentView(R.layout.activity_earthquake_maps); | |||
//Database Init | |||
db.setMyWaveSpeed(2000); | |||
db.setMyWaveSpeed(500); | |||
db.setMyAndroidID(Settings.Secure.getString(this.getContentResolver(), Settings.Secure.ANDROID_ID)); | |||
WifiManager wm = (WifiManager) getApplicationContext().getSystemService(WIFI_SERVICE); | |||
int ip = wm.getConnectionInfo().getIpAddress(); |
@@ -35,7 +35,7 @@ public class MainActivity extends FragmentActivity { | |||
if (isServiceOK()){ | |||
//Für Dantenbank | |||
db.setMyWaveSpeed(2000); | |||
db.setMyWaveSpeed(500); | |||
db.setMyAndroidID(Settings.Secure.getString(this.getContentResolver(), Settings.Secure.ANDROID_ID)); | |||
WifiManager wm = (WifiManager) getApplicationContext().getSystemService(WIFI_SERVICE); |
@@ -89,7 +89,7 @@ public class SensorMapsActivity extends FragmentActivity implements OnMapReadyCa | |||
//Database Init | |||
db.setMyWaveSpeed(2000); | |||
db.setMyWaveSpeed(500); | |||
db.setMyAndroidID(Settings.Secure.getString(this.getContentResolver(), Settings.Secure.ANDROID_ID)); | |||
WifiManager wm = (WifiManager) getApplicationContext().getSystemService(WIFI_SERVICE); | |||
int ip = wm.getConnectionInfo().getIpAddress(); |