J JonB New Member Licensed User Longtime User Aug 29, 2012 #1 Can i determine if my application has been launched by clicking on the notification? (I am using the advanced notification lib) Thanks. Jon.
Can i determine if my application has been launched by clicking on the notification? (I am using the advanced notification lib) Thanks. Jon.
NJDude Expert Licensed User Longtime User Aug 29, 2012 #2 You could set a variable in Process Globals, if TRUE then was launched from a notif. Just an idea. Upvote 0
thedesolatesoul Expert Licensed User Longtime User Aug 29, 2012 #3 Or you can look at StartingIntent. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Aug 30, 2012 #4 Activity.GetStartingIntent will return the intent that started the activity. You can attach an arbitrary string to the intent by calling Notification.SetInfo2. The string will be added as an "extra" with the key: Notification_Tag Upvote 0
Activity.GetStartingIntent will return the intent that started the activity. You can attach an arbitrary string to the intent by calling Notification.SetInfo2. The string will be added as an "extra" with the key: Notification_Tag
J JonB New Member Licensed User Longtime User Aug 30, 2012 #5 Erel said: Activity.GetStartingIntent will return the intent that started the activity. You can attach an arbitrary string to the intent by calling Notification.SetInfo2. The string will be added as an "extra" with the key: Notification_Tag Click to expand... Thanks, that works a treat. Upvote 0
Erel said: Activity.GetStartingIntent will return the intent that started the activity. You can attach an arbitrary string to the intent by calling Notification.SetInfo2. The string will be added as an "extra" with the key: Notification_Tag Click to expand... Thanks, that works a treat.