Locational services allow applications to use information gathered from networks (Wi-Fi, cellular, and GPS) to determine the device's location. This information can be used in a variety of ways to include mapping and providing the user with locality-relevant information.
Let's use an advanced feature with another pop up. We'll determine the location of the mobile device and display the results in a standard pop-up dialog.
The first thing we need to do is to make a copy of the original Hello Planet! LiveCode file. You can name the copied file
With the LiveCode source file open, add the following code at the stack level:
on preOpenStack local theLocation if mobileSensorAvailable("location") ...