Even without a GPS

and without a compass, this application will help you find the Qiblah direction correctly, so through the sun's position you will know the Qiblah direction.
Just place the device in landscape mode, and then rotate the device until the Sun icon points to the direction of the sun's position in the sky then the symbol of the Qiblah is in the direction of the Qibla.

tip: To find the direction of the sun correctly place your finger vertically on a horizontal surface. The shadow direction will be in the opposite direction of the sun.