I've tried to make the app mor precise and added some lines of code. Now the problem is, that the client won't connect to the server anymore. There is no client logged in and the changes do not work either.
I added only the following part:
if (location != null && location.getAccuracy() < 5 in the file PositionProvider.java at the function
public void onLocationChanged