Page 1 of 1

mobileGetNotificationDetails

Posted: Wed Jun 06, 2012 8:48 pm
by Tester2
Can someone give me an example of how the mobileGetNotificationDetails function works.

I found the following in the Dictionary:

get mobileGetNotificationDetails(tNotificationID)

put mobileGetNotificationDetails(tID) into tNotificationDetails
put tNotificationDetails["body"] into field "text"

However, I have a few questions...

Say I create two different local notifications with mobileCreateLocalNotification. One is going to go off in 1 minute, and the other in 5 minutes. Once the 5 minute notification pops up and I click it, I use "on localNotificationReceived tMessage" to perform an action. Can I use "get mobileGetNotificationDetails(tNotificationID)" to tell me that notification's ID? (i.e.: It would say "2") Or is the "tNotificationID" something that I need to set?

Sorry if this sounds confusing, I have just been banging my head against a wall trying to figure out how to capture various Notification's IDs and am hoping this is the solution. :?

Thanks a ton!

-Tester2