notifications

New Line in C# Notification (Compact Framework)

Hi, I'm trying to use a Notification control in a smart device C# project, but I can't seem to get a new line - I have tried using \n, \r\n and System.Environment.NewLine and none of these work - everything is still showing up on a single line in the standard Visual Studio 2008 emulator. How do I get a new line to show up? ...

MSN Messenger like notification - Do you know any examples in .NET VB .NET or C#?

I'm looking to write a notification application where I'd like to provide popup notifications from the taskbar similiar to the ones in MSN Messenger or most other chat programs. Are there any good examples using VB .NET or C#, ideally without using Win32 calls? Thanks. ...

How can I send a notification message from server to all clients in WCF (broadcast you can say)?

I want to send notification message every second from net tcp WCF service to all clients, Broadcast you can say? After the helpful answers I wrote the following method that will send notifications (heartbeat) to all connected users foreach (IHeartBeatCallback callback in subscribers) { ThreadPool.QueueUserWorkItem(delegate(object st...

How does Stackoverflow do the "You earned a new badge" window?

Possible Duplicates: Notify panel similar to stackoverflows How to show popup message like in stackoverflow How does Stackoverflow do the "You earned a new badge" window? (the orange one that pops up at the top of the screen, I believe its the one that shows you the FAQ when your not logged in). Anyone have a code sample to ...

Eclipse 3.4+ - No more notifying a breakpoint in taskbar

Hello. This question may sound silly, but I was wondering if someone ever had that problem too. I was using Eclipse 3.2 to develop, earlier. Recently I changed to Eclipse 3.4 (ganymede), and I have a problem, concerning debugging. Before, whenever the debugger was hitting a breakpoint, Eclipse would blink in the windows taskbar, to noti...

Rails users: What exception notification software do you use?

I have seen Ryan Bates talk about exception_logger and exception notification. Are there any other good ones to consider? What do you like and dislike about these? Also, do these exception notifiers log exceptions if you catch them? Thanks! ...

Do you know which library Firefox 3 uses for the "download completed" info?

It's the window that shows up when you set showAlertOnComplete = true. about:config browser.download.manager.showAlertOnComplete = true I want to add notification messages in my applications and I need to find a good open source library for that task. ...

Progress notifications from HTTP/REST service

I'm working on a web application that submits tasks to a master/worker system that farms out the tasks to any of a series of worker instances. The work queue master runs as a separate process (on a separate machine altogether) and tasks are submitted to the master via HTTP/REST requests. Once tasks are submitted to the work queue, clie...

Get notification when NSOperationQueue finishes all tasks

NSOperationQueue has waitUntilAllOperationsAreFinished, but I don't want to wait synchronously for it. I just want to hide progress indicator in UI when queue finishes. What's the best way to accomplish this? I can't send notifications from my NSOperations, because I don't know which one is going to be last, and [queue operations] migh...

Comment notification to users in rails?

Hi, my webapp has registered users and it has articles, blog posts, gossips too. For all these resources I've a polymorphic Comment model which is listed below. id content commentable_id commentable_type user_id created_at updated_at 1 Frist comment 2 Article 1 .... 2 Second comment 3...

NSNotificationCenter selector won't work with its NSNotification

I'm working on a Cocoa project with some C in it (I know, objc contains C...) and am trying to understand NSNotificationCenters. Here's the situation: I have a struct declared as typedef struct {/*code here*/} structName; In my - (id)init method, I have [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(selName...

Enforcing that a class posts a particular NSNotification?

Is there any way to ensure that a class posts a particular NSNotification? (I have a set of classes, and I would like to enforce at compile-time (if possible) that the class posts a required NSNotification). Alternatively, if that is not possible, is there any workaround? ...

iPhone - notification posted twice after memory warning

Hi I am using notifications to pass data from a detail view controller to the rootviewcontroller in my app. The methods work fine until there is a memory warning. The notification is handled twice after any memory warnings. I pass data back to the rootviewcontroller when the user selects a row in the DetailViewController. The didSelec...

How can I test Apple Push Notification Service without an iPhone?

Is it possible test the Apple Push Notification Services without an iPhone application? (Creating an emulator on windows?) If isn't, how could I test that? Is there a free sample application compiled to do that? I created the Server provider, but I need test the functionallity. ...

Framework/approach to use for 'alerter' type applet?

A client has a lashed-together 'alerter' system based around batch files and 'NET SEND' commands. He edits the batch files (adding/removing users) as necessary. His requirements are getting a bit more complex now; he wants users to be able to drop in and out of the notifications, during the day. I got to thinking about some kind of tray...

How would I create an asynchronous notification system using RESTful web services?

I have a Java application which I make available via RESTful web services. I want to create a mechanism so clients can register for notifications of events. The rub is that there is no guarantee that the client programs will be Java programs and hence I won't be able to use JMS for this (i.e. if every client was a Java app then we coul...

Facebook Java API, sending app-to-user notification

I'm trying to get this to work. This is my utility method for sending an app-to-user notification to a single user. Session id is not needed for that. public Collection<String> notifyUser(String user, String msg) throws FacebookException { FacebookJsonRestClient fbkClient = new FacebookJsonRestClient(FacebookUtil.appApiKey, FacebookUti...

Keep iPhone keyboard-aligned toolbar visible through first responder change?

I'm using the method described by Josh in this question to add a toolbar to the top of the iPhone's keyboard. Basically, the idea is: Add the view controller as an observer for the notifications UIKeyboardWillShowNotification and UIKeyboardWillHideNotification in its initialization method Whenever those notifications are posted, animat...

Growl Notifications from a Web Server

Hi, I notice that Growl allows for the possibility of Growl notifications from a website. Has anyone tried implementing this? If so, what form did it take? Did you implement multi user support? And, can you provide any code examples (C# or Objective-C would preferable but I'm not that fussed)? Rich ...

NSTextDidEndEditingNotification causing error

Hi. I'm have a TextViewCell with a text field that that I'm using in a tableview. I need the current view controller to be the delegate. Nothing worked and in my searches I found the code below, which I implemented in my initWithNib method: NSNotificationCenter *nc = [NSNotificationCenter defaultCenter]; [nc addObserver:self selec...