Check gps status

This is not true Arman. See the topic * Check Internet Connection In App Inventor at Imagnity for availability of Internet for a Blocks solution.

There are two ways for finding if the GPS turned on. One is to check for device settings using the ActivitySensor Gps enabled / disabled, but does it work? - #4 by SteveJG to determine if the device allows Location;

the other way is to check if LocationSensor1.Enabled is true to see if the LocationSensor is enabled or not..