merge Kommunikationcopie Version 1.7 UDP Socket

This commit is contained in:
Miguel Siebenhaar 2023-06-20 21:06:51 +02:00
parent ee61f7042b
commit 35d52088aa

View File

@ -91,7 +91,7 @@ public class MainActivity extends AppCompatActivity {
@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);