Mobile Notification

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
ferhan24badshah
Posts: 35
Joined: Sun Feb 02, 2014 12:20 am

Mobile Notification

Post by ferhan24badshah » Thu Feb 20, 2014 1:02 am

I've successfully created an alarm function which notifies the user every single day at the desired time set by the user. The user also has the ability to cancel the notification.

I'm trying to implement multiple separate alarms and am not sure how to allow the user to cancel a specific alarm without canceling the other alarms.
the code that cancels a notification is ....mobileCancelAllLocalNotifications

that cancels all of the alarms...but how would i code it so only a specific alarm is canceled?

also i want separate notification received for each alarm. the code for that is localNotificationReceived...but i want different local notification for each alarm .


thanks

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: Mobile Notification

Post by Simon » Thu Feb 20, 2014 3:17 am

I'm sure you've seen this by now
mobileCancelLocalNotification
Look it up, save your id's from mobileCreateLocalNotification.

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

Post Reply