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...
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...
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...
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(...
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 :!
...
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...
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.
...
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
...
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(...
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.
...
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] ...
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.
...
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...
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)
...
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...
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...
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...
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...
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...
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...