notifications

How to implement push notification for multiple Android apps?

Our products still target OS 1.5+, so C2DM in Froyo is not an option. I think wrap a persistent TCP connection in a service would be feasible. But I'm still wondering how to use one service to receive notifications for multiple applications. I don't want to create service and connection for each of my apps. Should I try to register the...

Hidden, un-cancellable local notifications on iPhone?

During app development, I created 2 local notifications that repeat every day (one in the morning and one in the evening). I am trying to cancel them (and all others) via a call to [[UIApplication sharedInstance] cancelAllLocalNotifications] but they are still occurring at the scheduled times. When I query for the list of scheduled no...

PHP to apple push notifications on production problem

Hi guys, i used an example to build an push notification service....it worked greate on the development version, but now that my application is in production, i can not get it to work....i have rebuild my .pem file with production certificates, but by now...,nothing....heres my code in PHP to push: <?php $token = '504e06eeeeee26b82c084a...

PendingIntent works correctly for the first notification but incorrectly for the rest

protected void displayNotification(String response) { Intent intent = new Intent(context, testActivity.class); PendingIntent pendingIntent = PendingIntent.getActivity(context, 0, intent, Intent.FLAG_ACTIVITY_NEW_TASK); Notification notification = new Notification(R.drawable.icon, "Upload Started", System.currentTimeMillis(...

Detecting whether a process starts and finishes with notifications in cocoa

Hi everyone, I was wondering if there was a way that I could get notifications of when a system process from /usr/sbin starts and finishes. Is it possible to attach NSTask to the running process without launching a new one? Preferably without polling please :! ...

Chrome Extension: How do I poll RSS Feeds to see if there is new content and display that as a number on the extension icon

I wonder if you could help a little. I want to have a simple Extension, that shows the number of new items in a RSS feed since the extension was clicked. It would poll every 2-3 mins for example and if the RSS feed is updated it should display a count of how many new items there are. I assume it has to set the setBadgeText field. An...

Notification number does not display on all phones

I'm having issues with using the number property of the notificationmanager. It works on the emulator and other phone I've used. However, it does not seem to display on my Droid Incredible. ...

How to reset notificationmanager number on notification clear

What's the best way to clear the notification number when the user clicks on the notification? I say the best way, but really I haven't found ANY way. I'm launching a built in activity when the user clicks on the notification, not something I wrote so I can't clear it that way. I've got the notification manager's flag set to clear ...

Android Pending intent started from notificaion does'nt replace the last

I've read many posts on the same topic and tried all the given solutions without getting the result I want. The program should start an intent with extras from a notification: NotificationManager mNotificationManager = (NotificationManager)context.getSystemService(Context.NOTIFICATION_SERVICE); Intent notificationIntent = new Intent(...

Notification of changes to the iPhone's /Documents directory

Hello We have an app that uses file sharing. UIFileSharingEnable is set etc. and it all seems to work fine, but I'm looking for some sort of notification of when files have been added/deleted on the iPhone side. Can anyone advise? Cheers in advance. ...

Iphone MPMoviePlayer Notification

Hi, I am using a MpMoviePlayerController To play video in my aap. I want to handle the notification sent by tapping the control button displayed in the red circle in below image. Can any one help me out which notification does this control button fires??? UPdates: I tried it in this way, NSString * filePath = [[NSBundle mainBundle] ...

Is there an NSWindow notification/delegate method like "willShowWindow"?

Hi, I cannot seem to find it in the documentation but I'm looking for a way to run a method whenever a window is displayed on screen after launch of my app or after it has been closed and then reopened again. ...

Accessing ringer mode does not work inside a service

I have an application that creates a notification with sound when a specific text comes in. To do this, I detect the current ringerMode, change the ringerMode to normal, play the sound, and then quickly return the ringer back to its original setting. Here is the code: public static AudioManager audio; audio = (AudioManager) this.ge...

local notification "didReceiveLocalNotification" calls twice

Hi, I am handling local notification using - (void)application:(UIApplication *)app didReceiveLocalNotification:(UILocalNotification *)notif To schedule local notification - (void)scheduleNotificationWithInterval:(int)minutesBefore { UILocalNotification *localNotif = [[UILocalNotification alloc] init]; if (localNotif == nil) ...

screenshot-grabbing email tool

I have a web site with various graphs embedded in it that are generated externally. Occasionally those graphs will fail to generate and I would like to catch that when it happens. These graphs are embedded in multiple pages and I would rather not check each page manually. Is there any kind of tool or perhaps a browser addon that could...

How to create a notification in swing

Using Java and Swing, is there any (convenient) way to create a notification? By notification, I mean something like: , , or (Is there a more correct term for that?). It would be nice if it worked cross-platform, but I'm mainly concerned with it working under Ubuntu with Gnome. If at all possible, I would like to avoid having an...

notification when program is in background iOS 4

Hello all, We are looking for a way to timeout an iPhone application, and have tried several methods: NSTimer that resets after an action LocalNotification that resets after an action Both are close, but suffer from unique issues: NSTimer: When the phone sleeps, the timer will not fire LocalNotification: When the app is in the backg...

how to to pop up and ask for user input on android after receiving broadcast

hey, im new to android development and trying to make my first application. What im trying to implement is a feature i've seen in Handcent SMS: the popup notification. So far, my application has a broadcast receiver that uses Toast to display an incoming SMS message. However, instead of a Toast notification, I want to make a pop up wi...

How do you handle a user notification popup "ribbon" - similar to SO's?

In my asp.net MVC app, I'm planning a user notification system similar to SO's. Here's the table structure I'm thinking of: Message table -------------------------------- PK MsgId BigInt FK UserId UniqueIdentifier Body nvarchar(200) IsRead TinyInt DateSent DateTime First, does this DB structure look ok? i...

Good Sample .Net Windows service to report an error

Hi all, I am writing a windows service that will be doing a lot of network communication (copy many many files in shared folders and modify database). I need a way to notify a user (if logged on) of any exceptions/errors. My issue is do group to errors for send it (by email) to administrator address. I am aware of event logging neithe...