All Questions

188
votes
17answers
166894 views

Notification bar icon turns white in Android 5 Lollipop

I have an app showing custom notifications. The problem is that when running in Android 5 the small icon in the Notification bar is shown in white. How can I fix this?
162
votes
5answers
242644 views

How to display count of notifications in app launcher icon

samsung galaxy note 2 android version 4.1.2 I know that this question was asked before and the reply was not possible How to display balloon counter over application launcher icon on android ...
323
votes
9answers
263726 views

Chrome desktop notification example

How does one use Chrome desktop notifications? I'd like that use that in my own code. Update: Here's a blog post explaining webkit notifications with an example.
187
votes
19answers
101930 views

Determine on iPhone if user has enabled push notifications

I'm looking for a way to determine if the user has, via settings, enabled or disabled their push notifications for my application.
75
votes
9answers
54137 views

Custom notification layouts and text colors

My application shows some notifications, and depending on user preferences it might use a custom layout in a notification. It works well, but there is a small problem -- text colors. Stock Android and...
53
votes
9answers
137262 views

Open application after clicking on Notification

I have a notification in my app with the following code: //Notification Start notificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE); int icon = R.drawable...
92
votes
15answers
42553 views

Best way to serialize an NSData into a hexadeximal string

I am looking for a nice-cocoa way to serialize an NSData object into a hexadecimal string. The idea is to serialize the deviceToken used for notification before sending it to my server. I have the fo...
122
votes
8answers
89168 views

Actionbar notification count icon (badge) like Google has

Is there a android standard badge or method to show action bar notification icon with a count like on Google examples? If not, then what is the best way to make it? I'm new to android, please help....
28
votes
2answers
26191 views

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 num...
19
votes
2answers
58415 views

Create custom notification, android

I want to create a notification that like the red bordered notification in this image: I know how to create normal notifications like the blue bordered notifications in this image, but I want to s...

Previous Next