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

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

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

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

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

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

Loading…
Cancel
Save