notifications

Android Notification NullPointer

I want to create a notification and I have this bit of code that worked before but now gives me a null pointer at the last line. Any ideas as to what may cause this? I know it may be hard with this bit of code that I have provided, I just need a hint as to what could possibly cause this. private void showNotification() { CharS...

Getting Extra Information From WinAPI File Change Notifications

The MSDN has a pretty good example of getting notified when a file or directory is changed. However, I can't find any way to get extra information such as the user/machine name associated with the change notification. For example, I've setup a share X:\Foo from my machine. I would like to log the user/machine names that make changes t...

Send notification or post on wall.

Hello everyone, i have been going crazy and cant figure out how to make a script for my application that would allow the user to select a friend and send them a notification or post on their wall from my application. I just need to notify their friend that they have been challenged to play a flash games, just a simple text with a link, ...

JMX Event Notifer - Re-register after connection is lost and back up.

Hi, I have a client that registers with JMX for notifications. Whenever that JMX Notifications Emitting application is restarted I get an exception 01/08/2010 16:28:04 com.sun.jmx.remote.ws.client.JMXWSManStub fetchNotifications WARNING: Exception java.io.IOException: java.net.ConnectException: Connection refused: connectoccured during...

iphone 4.0 local notification

Hi guys hope you doing well i want to launch my application automatically when it gets notification without showing alert, how it is possible. One more question is that it is possible to run a continuous sound in the background when the notification arrive means "local Notification". Thanks in Advance. ...

android memory leak in notification service

I have a service which creates a notification and then updates it with certain information periodically. After about 12 mins or so the phone crashes and reboots, I believe it is caused by a memory leak in the following code to do with how I am updating the notification, could someone please check/advise me if this is the case and what I ...

tray notification on database update

i want to build a little app that pops up a tray notification (or a toast popup or something) whenever an update or insert going into a certain table in a SQL server database. What is the simplest way of doing this as i want to avoid polling if possible? ...

Android, launch an app from remote server

Hi, I want to launch an android application from a remote server, i can see that in J2ME there is a class called PushRegistry, this class resolve this problem in ME but in android I cant do it. Thanks in advance ...

Apple Push notifications server - Feedback always returns zero tuples

Hi, I am developing an iPhone App that uses Apple Push Notifications. On the iPhone side everything is fine, on the server side I have a problem. Notifications are sent correctly however when I try to query the feedback service to obtain a list of devices from which the App has been uninstalled, I always get zero results. I know that I ...

How to create notification control using MVVM?

Hi. I'm creating my first application using MVVM. I'd like to have a usercontrol that shows the results of some functions. Something like VS Error List. I.E. if I choose some xml file in some other usercontrol and try to deserialize it, I'd like to have on this notification list some info like "Deserialization complete" or "Deserializ...

How to generate bounce-back email notification, with some extra info included

I am just now beginning to research this, and so far haven't come up with much. So, I'm hoping you guys can help me, or point me in some sort of direction. I am in a situation in which I need to somehow be able to detect a failed email delivery and/or bounced-back email. Then, I need to be able to sent out a notification email describin...

Android : don't show Notification if app is shown

Hello, 1/I don't want to notify user if this one is already running my app in foreground, is it possible before create nofification to check if my app is not in front ? 2/if app is in background, is it possible to bring last state in front ? I know that Os can destroy some Activity, but is it possible to restore last state, don't s...

Is it possible to know when the iPhone will go to sleep?

Is there any notification I can listen to that will alert me that the phone will go to sleep? I have implemented the following: [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(resignActive:) name:UIApplicationDidEnterBackgroundNotification ...

iPhone: How to set repeat daily/hourly local notification?

I want to test add local notification. I want it repeat daily/hourly. How can I do that? NSCalendar *calendar = [NSCalendar autoupdatingCurrentCalendar]; // Get the current date NSDate *now = [NSDate date]; // Break the date up into components NSDateComponents *dateComponents = [calendar components:( NSYearCalendarUnit | NSMo...

How to restore previous activity by clicking on notification

When my notification goes off I want to restore the activity that was put into the background, not start a new activity. I've seen some answers about using FLAGS but I don't know how to implement it contentIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | INTENT.FLAG_ACTIVITY_SINGLE_TOP); Where do I put this in my code? I tried but it ...

Direct communication between iPhone users

I'm new to iPhone programming. So far I've only written a couple of simple apps just to get the hang of it. In a short time I will have an assignment to write an app that will let iPhone users communicate directly using short messages, and probably they will add a requirement to be able to send files to each other attached to the message...

Email Notification on new MySQL database entry.

I've been creating a blog using tutorials around the web and I have a working comments system but what I would like is if when the user adds a comment that I get an email. I'd really love if you could explain how exactly I could go about implementing a notification. Any help is greatly appreciated. Current Form: <form id="commentform" ...

Android Notification intent to clear it self

Hello, I have read many examples of how to create notification messages. What i wanted to achieve, is because the notification will be executed by a widget, i would like the notification intent when clicked to clear it self when the user clicks on it.I do not have an activity to return to. The notification for my purposes will just plain...

web develop + usb notification

In a local area network is lamp-server, on which the site is located. On the client computers (winXP, Ubuntu) network running opera / firefox (mode kioskmode). Opera-kioskmode local_site.ru.dev Is it possible to doing what any script / code local_site.ru.dev - access usb devices (flash drive, SD card and other drives) connected to ...

Howto get the Keyboard UIView on iPhone, iOS 3.2 or newer

Hello, I'm using a trick to overlay the keyboard with my own. Basically I add some buttons as Subviews to the Keyboard. This is how I find the UIView of the keyboard: UIWindow* tempWindow = [[[UIApplication sharedApplication] windows] objectAtIndex:1]; UIView* keyboard; for(UIView* potentialKeyboard in tempWindow.subviews) // if th...