An addition to activate GPS:
It should also be ensured that the app from the mobile phone has authorization to use GPS.
In my case, the authorization was deactivated and I had to allow it in the GPS settings on my phone for my app.