Browse Source

Alpha Version 3.500

master
Raz492 3 years ago
parent
commit
5dd5d3c892

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

@@ -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();

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

@@ -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);

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

@@ -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();

Loading…
Cancel
Save