Alpha Version 3.500

This commit is contained in:
Raz492 2021-06-28 12:02:41 +02:00
parent a4cb71a8f3
commit 5dd5d3c892
3 changed files with 3 additions and 3 deletions

View File

@ -91,7 +91,7 @@ public class EarthquakeMapsActivity extends FragmentActivity implements OnMapRea
setContentView(R.layout.activity_earthquake_maps); setContentView(R.layout.activity_earthquake_maps);
//Database Init //Database Init
db.setMyWaveSpeed(2000); db.setMyWaveSpeed(500);
db.setMyAndroidID(Settings.Secure.getString(this.getContentResolver(), Settings.Secure.ANDROID_ID)); db.setMyAndroidID(Settings.Secure.getString(this.getContentResolver(), Settings.Secure.ANDROID_ID));
WifiManager wm = (WifiManager) getApplicationContext().getSystemService(WIFI_SERVICE); WifiManager wm = (WifiManager) getApplicationContext().getSystemService(WIFI_SERVICE);
int ip = wm.getConnectionInfo().getIpAddress(); int ip = wm.getConnectionInfo().getIpAddress();

View File

@ -35,7 +35,7 @@ public class MainActivity extends FragmentActivity {
if (isServiceOK()){ if (isServiceOK()){
//Für Dantenbank //Für Dantenbank
db.setMyWaveSpeed(2000); db.setMyWaveSpeed(500);
db.setMyAndroidID(Settings.Secure.getString(this.getContentResolver(), Settings.Secure.ANDROID_ID)); db.setMyAndroidID(Settings.Secure.getString(this.getContentResolver(), Settings.Secure.ANDROID_ID));
WifiManager wm = (WifiManager) getApplicationContext().getSystemService(WIFI_SERVICE); WifiManager wm = (WifiManager) getApplicationContext().getSystemService(WIFI_SERVICE);

View File

@ -89,7 +89,7 @@ public class SensorMapsActivity extends FragmentActivity implements OnMapReadyCa
//Database Init //Database Init
db.setMyWaveSpeed(2000); db.setMyWaveSpeed(500);
db.setMyAndroidID(Settings.Secure.getString(this.getContentResolver(), Settings.Secure.ANDROID_ID)); db.setMyAndroidID(Settings.Secure.getString(this.getContentResolver(), Settings.Secure.ANDROID_ID));
WifiManager wm = (WifiManager) getApplicationContext().getSystemService(WIFI_SERVICE); WifiManager wm = (WifiManager) getApplicationContext().getSystemService(WIFI_SERVICE);
int ip = wm.getConnectionInfo().getIpAddress(); int ip = wm.getConnectionInfo().getIpAddress();