I want to build an app for iphone and android that includes a database of short messages. I'd like the app to display one randomly to the user throughout the day as if it were a text message. Can this be done without using Push notifications? what is this called? I understand Apple doesn't allow 3rd party apps to run in the background, so how is this accomplished? are there local alerts/notifications that apps can send on a predefined schedule?
I'm hoping Push notifications are not the only way an app can display a SMS-like message to the iOS user when the app is closed.
- 10-19-2010, 02:49 PM #2
- 10-19-2010, 03:06 PM #4
there is a difference between alerts and push notifications
push would be something coming from a remote server (like previously mentioned NGmoco games that tell you when you can play again)
Alerts would be like Alarm Clock apps that can still go off even when the app isn't open (off the top of my head i can think of AlarmTunes)- these work by setting a date and time similar to what the calendar app does and then activates the alert when the date or time roles around.
- 10-19-2010, 03:50 PM #5
iOS 4 supports Local Notifications
Apple - iPhone 4 - Multitasking done the right way
"Receive push and local notifications.
Third-party apps and services can send alerts and messages directly to your phone. So you can get sports scores, news updates, game requests, reminders, alarms, and more the moment they happen, without having to open the app thatís providing the notification."
There are currently Reminder apps that have local Notifications, no Push required.