Browse Source

merge Kommunikationcopie Version 1.7 UDP Socket

Kommunikationcopie
Miguel Siebenhaar 1 year ago
parent
commit
35d52088aa

+ 1
- 1
app/src/main/java/com/example/ueberwachungssystem/MainActivity.java View File

@Override @Override
protected void onPause() { protected void onPause() {
super.onPause(); super.onPause();
communication.stopCommunication();
//communication.stopCommunication();
} }
private String getLocalIpAddress() throws UnknownHostException { private String getLocalIpAddress() throws UnknownHostException {
WifiManager wifiManager = (WifiManager) getApplicationContext().getSystemService(WIFI_SERVICE); WifiManager wifiManager = (WifiManager) getApplicationContext().getSystemService(WIFI_SERVICE);

Loading…
Cancel
Save