Page 1 of 1

Local Notification - ID Capture

Posted: Thu Jun 14, 2012 8:38 pm
by Tester2
I assume that every local notification has an ID assigned to it, correct? From using the "mobileGetRegisteredNotifications" function, I'm assuming it is just an incremental number (i.e.: first notification is 1, second is 2, etc)

Based on this, how would I trap that ID into a field or variable.

If I set all my parameters and then create a local notification ( mobileCreateLocalNotification tAlertBody, tAlertButtonMessage, tAlertPayload, tAlertTime, tSound, tBadge )

then the Release Notes say to use "get mobileGetNotificationDetails(tNotificationID)"

However, where/how is this "tNotificationID" set or how can it be captured?

Thanks so much.

-Tester2

Re: Local Notification - ID Capture

Posted: Thu Jun 14, 2012 11:16 pm
by Dixie
Tester 2...

In one of your earlier posts I seem to remember that what you are trying to do is to have a notification sent every 24 hours... I don't think that you will achieve this using 'localNotifications', you are going to have to use 'pushNotifications'...

be well

Dixie