notifications

How shall I setup user event notifications in my code?

Hi, I'm coding a team collaboration web app in PHP, and I have a few events that users get notified about through email and/or SMS. The current way I'm doing it is as follows: Every user has his notification settings in the database as boolean variables. Say users would be notified when someone comments on the team's page. When the fu...

Placing my Ongoing Notification on the top of all Notifications.

I want my Ongoing Notification to be placed on top of all the notifications in the Notification Drawer. I've seen it in Advanced Task Killer. How do I achieve the same? ...

How to clear a notification if activity crashes?

In my app, I'm creating a notification with the FLAG_ONGOING_EVENT flag set as such.. Notification notification = new Notification(iconId, text, System.currentTimeMillis()); notification.flags |= Notification.FLAG_ONGOING_EVENT; I'm cancelling the notification in onDestroy, but if my app crashes before calling onDestroy, is there an...

Sink JSF 2.0 Composite Component Event in Parent Page Backing Bean

Hi All, I have a conceptual mind-block around the use of a JSF 2.0 composite component within a parent page. I understand how to implement an ActionListener (and others) for a composite component's action but how is this wired-up for the parental page to consume? For example, I want my login composite component to perform authentication...

Drupal Notifications API: notifications_user_get_subscriptions

This is the signature per Acquia's documentation: notifications_user_get_subscriptions($uid, $event_type, $oid, $object = NULL, $refresh = FALSE) I have used this method before to get node-level subscriptions for a user. I cannot figure out what to pass for parameter 4 if I want to get subscriptions for a specific content type ...

Sending mail or SMS after the query has been executed

Hi, Currently I am dealing with a large dataset and some queries are executing several hours. In the meantime I am doing other things. In order to use time efficiently I have been thinking about implementing the logic to send email or SMS message after the query is complete so I can analyze the data. I know how to do it by writing cust...

Get Itunes Notification after syncing with iPhone

My app has a feature for File Sharing through iTunes, and I want to get a notification/a method call after the process of syncing with iTunes is finished, so that I can reload my Table View with new data from iTunes. I have tried to override - (void)viewWillAppear: but it doesn't seem to run. Anybody knows how to do this? ...

Notification: pass data

I'm trying to pass data from notification to activity: btnShedule.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { NotificationManager notificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE); Intent notificationIntent = n...