Questions tagged [notifications]

A notification is a user interface element displayed to indicate an event has occurred.

A notification is a user interface element displayed to indicate an event has occurred.

Notifications typically occur in a designated area of an application's UI, such as an icon appearing in a status bar or an alert message.

15974 questions
33
votes
7 answers

Delegates Vs. Notifications in iPhoneOS

I am trying to call a method in my root view controller from a child view controller such that when I change my options they will automatically update the root view, which will in turn update several other view controllers. For the second part I…
michael f golden
  • 333
  • 1
  • 4
  • 5
33
votes
8 answers

WordPress shows I have 1 plugin update, when all plugins are already updated

WordPress shows that I have 1 plugin update, when all of my plugins are updated. Below is a screenshot so you can see what I'm talking about: Now, I've tried several things, including reinstalling WP, and deleting the transients using Artiss…
djoliverm
  • 355
  • 1
  • 3
  • 11
33
votes
4 answers

Notification using python

Is it possible to add a notification in windows using python? Like a notification box with some information about an update or something In windows if you didn't already figure that by this picture..
FabianCook
  • 20,269
  • 16
  • 67
  • 115
32
votes
3 answers

Hide time in Android notification without using custom layout

In the bottom right corner of a standard Android notification is time (eg 12:00). Can I hide it without using custom notification layout?
fhucho
  • 34,062
  • 40
  • 136
  • 186
32
votes
4 answers

REST API with active push notifications from server to client

Problem description i am working on a Xamarin application that consumes a REST API written in Python flask. The Xamarin application offers virtual shopping lists where user can collaborate on buying stuff they have on a shared list. To improve the…
gdenn
  • 501
  • 1
  • 5
  • 12
32
votes
2 answers

Difference between Notifications API and Push API from Web perspective

What is the difference between Chrome Notifications API and the Push Notification API when developing Web notifications. When each one should be used and how are they different?
32
votes
8 answers

Check if Local Notifications are enabled in IOS 8

I've looked all over the internet for how to create local notifications with IOS 8. I found many articles, but none explained how to determine if the user has set "alerts" on or off. Could someone please help me!!! I would prefer to use Objective C…
Jacob Richman
  • 471
  • 1
  • 5
  • 8
32
votes
4 answers

How to stop/override a Jquery TimeOut function?

I have a small jquery snippet that displays notification message at the top of the screen in response to user actions on a page. The notification is often displayed after Ajax actions with dynamic content inside it. For…
Tom
  • 30,090
  • 27
  • 90
  • 124
32
votes
5 answers

Styling notification InboxStyle

I try to implement an extendable notification and I have used the InboxStyle for that. Based on the following image from the documentation: it should be possible to style the text. In this case make "Google Play" bold. InboxStyle has only addLine()…
WarrenFaith
  • 57,492
  • 25
  • 134
  • 150
31
votes
6 answers

Choose custom sound for local notifications

How do you change the sound that plays for local notifications? I use the code below to play the default sound: notif.soundName = UILocalNotificationDefaultSoundName; So, I tried this below, and it didn't work. What should I do? Thanks for your…
Jack Humphries
  • 13,056
  • 14
  • 84
  • 125
31
votes
8 answers

iOS 8 enabled device not receiving PUSH notifications after code update

I recently upgraded one of my test iphones to iOS 8 and then upgraded the PUSH registration code as below (using xCode 6) -(BOOL)hasNotificationsEnabled { NSString *iOSversion = [[UIDevice currentDevice] systemVersion]; NSString *prefix =…
Zigglzworth
  • 6,645
  • 9
  • 68
  • 107
31
votes
2 answers

Notification setAutoCancel(true) doesn't work

I'm trying to show a notification that is removed when the user taps on it. I'm using the NotificationCompat class to build my notification and I call setAutoCancel(true) on my builder. This is the piece of code: NotificationCompat.Builder mBuilder…
TheModularMind
  • 2,024
  • 2
  • 22
  • 36
30
votes
2 answers

Light up screen when notification received android

I have a service running for my application to send notification every hour. This is working fine as i heard a sound and a vibration every hour because of my notification but i also want that my notification light up my screen as well. But i am…
Pirate
  • 545
  • 1
  • 6
  • 15
30
votes
2 answers

Detect a new Android notification

In the Android app that I'm working on, I'd like to be able to detect when a new status bar notification appears, regardless of if it was caused by my app. To be more specific, I want to count the number of notifications in a given time frame. Is…
Sean
  • 5,244
  • 6
  • 28
  • 27
30
votes
11 answers

Starting app only if its not currently running

I am sending push notification to users which when clicking on it opens the app. My problem is that when the app is already open, clicking on the notification start the app again. I only want it to start the app if its not already running. I am…
Michael A
  • 5,770
  • 16
  • 75
  • 127