IOS app running in the background
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
IOS app running in the background
I would like to have an app running on an iPhone which would send an alert at a designated interval of time. For example, if someone needed to take medication at a four hour interval, then the app would *beep* every four hours. This would require the LiveCode app to be running in the background. Is this possible?
If that's not possible, I could write a LiveCode application that ran on a dedicated computer (whose monitor would be in sleep mode to prevent burn-in.) The app would, at the specified interval, send a text to the user's iPhone or other device reminding the user to take the medication. Is this do-able?
Any assistance or ideas would be appreciated!
--Jack
If that's not possible, I could write a LiveCode application that ran on a dedicated computer (whose monitor would be in sleep mode to prevent burn-in.) The app would, at the specified interval, send a text to the user's iPhone or other device reminding the user to take the medication. Is this do-able?
Any assistance or ideas would be appreciated!
--Jack
Re: IOS app running in the background
Hi Jack,
LC does not support iOS apps running in the background!
But maybe you could create "local notifications"? Sounds like this is a job for them
Check "mobileCreateLocalNotification" in the dictionary, that will also work if your app is closed!
Best
Klaus
LC does not support iOS apps running in the background!
But maybe you could create "local notifications"? Sounds like this is a job for them

Check "mobileCreateLocalNotification" in the dictionary, that will also work if your app is closed!
Best
Klaus
Re: IOS app running in the background
Thank you, Klaus. I'm looking at a tutorial on the subject right now. I appreciate your help.
--Jack
--Jack
Re: IOS app running in the background
Okie Dokie
Be sure to come back when you get stuck!

Be sure to come back when you get stuck!
Re: IOS app running in the background
I've never programmed anything without getting stuck a million times, Klaus, so I ~will~ be back. Thanks again!
Re: IOS app running in the background
Hallo Klaus,Klaus wrote: LC does not support iOS apps running in the background!
FYOI, we are few here who managed to run LC-iOS apps in the background.
But as you said, no official support from runrev..
Regards,
Thierry
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!
Re: IOS app running in the background
Hi regex Master,
Are you saying that you can run an alarm clock full-time (not just mergex 10 min) in an iOS app?
Is it that plist trick?
Simon
Are you saying that you can run an alarm clock full-time (not just mergex 10 min) in an iOS app?
Is it that plist trick?
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!