notifications

How to override nested C++ objects methods?

Hi all, I didn't figure out a better title for the question. Let me explain it better now: The project I am working on is going to connect to a remote server, encrypt the session and send/receive data packets. I'd like to make it modular enough, so I thought it'd be nice to use 3 distinct classes. These would be: 1) A socket wrapper cl...

Is there a notification when the iPhone spelling correction hint shows/hides?

Is there a notification on the iPhone like UIKeyboardDidShowNotification but for notifying when the spelling correction UI appears/disappears? Same question, but when inputting east asian characters (e.g. Chinese), when the character selection UI appears/disappears? Or is there any other way to detect if these elements are visible? I ...

Android notification doesn't disappear after clicking the notifcation

If got some issues with a notification I want to show in the notification bar. Although I set the notification flag to Notification.DEFAULT_LIGHTS & Notification.FLAG_AUTO_CANCEL the notification doesn't disappear after clicking it. Any ideas what I'm doing wrong? NotificationManager mNotificationManager = (NotificationManager) getSyste...

Android Unable to launch the Inbox from a notification

I have the following code that creates a notification when an SMS message is received by the phone. It displays the notification correctly; however, when the user clicks the notification, nothing happens. It should open up the SMS inbox so the user can view their message. Thanks in advance. mNotificationManager = (NotificationManager)...

user notification while waiting

I am writing a simple win forms app in C#. There is a method call in my method which loads files but is taking a while to respond. Below is the method call Directory.GetFiles(selectedFolder, "*.xml", SearchOption.AllDirectories); I want to notify this to users. Is there a way to show them that file loading is in progress? I want a simp...

Does using ReadDirectoryChangesW require administrator rights?

The MSDN says that using ReadDirectoryChangesW implies the calling process having the Backup and Restore privileges. Does this mean that only process launched under administrator account will work correctly? I've tried the following code, it fails to enable the required privileges when running as a restricted user. void enablePrivilege...

android status bar text instead of an icon

How can you put text in the status bar to stay there when the window is not expanded? kinda like using text instead of an icon? ...

Querying current number of touches on screen without using events on iPhone

I have an application that starts playing a sound when user touches the uiview and changing to different tones as the user slides the finger on the screen. The sound stops when the user lifts the finger. I am using the touchesBegan, Moved and Ended Events for this. My problem is touches Ended (and/or cancelled) is sometimes not fired ...

How to clear a notification in android

Is it possible to clear a notification programatically? I tried it with the NotificationManager but its not working. Is there any other way i can do it? ...

Which network protocol to use for lightweight notification of remote apps?

I have this situation.... Client-initiated SOAP 1.1 communication between one server and let's say, tens of thousands of clients. Clients are external, coming in through our firewall, authenticated by certificate, https, etc.. They can be anywhere, and usually have their own firewalls, NAT routers, etc... They're truely external, not ju...

How to post and receive an notification?

Is there an easy-to-grock pattern how to send a notification and how to receive one? Code snippet? The docs write like 150 pages on the topic. Would like to see a quick example. ...

Show Changes with Files in TeamCity 5.1 Notification

I would like to include a list of changed files in the TeamCity 5.1 email notification which is sent out to my team after a successful or failed build. I have reviewed the Customizing Notifications in TeamCity 5.1 documentation and I have looked at the .ftl template files found within the config\_notifications\email folder, but I haven't...

Progress bar in notification bar

Hello everybody, I would like to put a progress bar in the notification bar. The idea is showing the progress bar while the program uploads a file to a server. Everything else is ok, but I can not figure out how to refresh the progress bar inside the notification. Does anybody knows any pattern to play with? I mean, where I should refre...

How to send a notification to another user with notify-send ? Bash

Hello all, notify-send display a notification box with the message that you want to display on your own machine. Is there a way to use notify-send to send a notification message to another user and display the message on his machine? Thanks ...

Notification doesn't play sound or show lights even though set to

In my android application I have the following code: Notification notification = new Notification(icon, tickerText, when); context = context.getApplicationContext(); CharSequence contentTitle = "UK Radio Guide"; CharSequence contentText = title + " on " + channel_id + " at " + start; Intent notificatio...

Receiving DB update events in .NET from SQLite

I've recently discovered the awesomeness of SQLite, specifically the .NET wrapper for SQLite at http://sqlite.phxsoftware.com/. Now, suppose I'm developing software that will be running on multiple machines on the same network. Nothing crazy, probably only 5 or 6 machines. And each of these instances of the software will be accessing an...

Cocoa document-based app: Notification not always received by observer

Hi, I hope somebody can help with my notification problem. I have a notification which looks to be set up correctly but it isn’t delivered as expected. I am developing a document based app. The delegate/ document class posts the notification when it reads from a saved file: [[NSNotificationCenter defaultCenter] postNotificationName:n...

How to bring up list of available notification sounds on Android

I'm creating notifications in my Android application, and would like to have an option in my preferences to set what sound is used for the notification. I know that in the Settings application you can choose a default notification sound from a list. Where does that list come from, and is there a way for me to display the same list in my ...

An "elegant" way of identifying a field?

Hi. I'm writing a system that underlies programmer applications and that needs to detect their access to certain data. I can mostly do so with properties, like this: public class NiceClass { public int x { get; set; } } Then I go in and tweak the get and set accessors so that they handle the accesses appropriately. However this r...

Where to add an observer to the NotificationCenter in a UITableViewController

I want to send a notification from a UITableViewController-A to UITableViewController-B. I was adding the observer in the initwithCoder of the UITableViewController that is supposed to catch the notifications. The classes are correlated as folows RootViewController ===NavigationController-A =====UITableViewController-A ===Navigati...