The steps shown here are going to use the standard LiveCode fields and buttons, but feel free to make your version more attractive!
EasyReminder
, and save it. Other names, such as Simple Reminders
, might be more descriptive, but it would be too long a name if you're using an older iPhone.home
.reminders
, another field named data
, and two buttons named Create Reminder…
and Create Location…
.Delete Location or Reminder
.location
.Enter the latitude and longitude for this location
.latitude
, and longitude
.Set to Current Location
.Enter a name for this location:
.location name
. Note that on older phones with smaller screens, this field location needs to be toward the top of the screen, so that it isn't covered by the keyboard popup.Add Location
and Cancel
.reminder
.Enter a title for this reminder:
and Enter a brief description:
.title
, and description
.Set Related Location
, Set Date
, and Set Time
.location field
, date field
, and time field
.Play Alert Sound
.Add Reminder
and Cancel
.We've made all of the screens needed for the app to function. That was the easy bit. Just wait until you see how much typing you are going to do!
There is quite a bit of code ahead. Describing it feature by feature would require us to jump all over the place, which would add to the existing scripts in some cases and we would easily get lost in this situation. So, instead of doing it that way, we'll look at the code for each card at a time and also at the handlers that go into the stack script. It's shown here in the Time for action section, mainly to give you a break now and then! Without further ado, the stack script…
18.190.160.221