Questions tagged [badge]

A badge is a concise visual indication of something important to the user.

A badge is an unobtrusive notification in an application, indicating to the user a count of actionable objects that the user may wish to attend to. For example, number of new emails or unread messages.

A badge is not to be used as an urgent message requiring immediate user action, but rather assists in program flow, giving the user information about another part of the application that is not currently in focus.

867 questions
0
votes
1 answer

angular 2 make mdl-badge data-badge content dynamic

i'm using angular 2 material design and i want bind data to the mdl-badge but I get an error when i doing this way. html code
num Of flags
ts component …
Manspof
  • 598
  • 26
  • 81
  • 173
0
votes
1 answer

How can I sort an HTML table by column containing Travis CI badge status images?

Here are the facts: I manage a large number of Git repositories. They use Travis CI for builds. I built a small web page at http://status.scijava.org/ to keep track of the list of components. One of the table columns displays the relevant Travis CI…
ctrueden
  • 6,751
  • 3
  • 37
  • 69
0
votes
1 answer

Setting a badge value from a received notification with OneSignal

Whenever a message is sent between users (device to device), the receiving user gets a notification if the app is not in focus. Along with the notification, the badge value for that tab should increase by 1. In an attempt to do so, I've created a…
Vandal
  • 708
  • 1
  • 8
  • 21
0
votes
1 answer

Badge issue - angular2-mdl 4.0.1 (Angular 4)

I am using badges as follows: some_icon When myCount:number is null, the mdl version for Angular 2 used to hide the badge. Current version (4.0.1 with Angular 4) shows a badge with 'null'…
Alic W
  • 128
  • 7
0
votes
1 answer

External Android Service to Sync ionic App

I'm trying to get an ionic App to get the notification badges on launch app icon. As far as I have seen, it isn't possible if the ionic app is closed (not in background) so, anyone know if it's possible to create an android service that i always…
João Silva
  • 531
  • 4
  • 21
  • 40
0
votes
1 answer

Clear badge count on clearing app cache

I need to show badge count on the app icon. After some research I have found a shortcut badge library for it. The library is really very good and working fine in almost all the listed devices which it's used. But in Samsung Edge 7, it's creating a…
KishuDroid
  • 5,411
  • 4
  • 30
  • 47
0
votes
0 answers

Count new email

I have one problem. This code count very well a new message but the replay message is not showing the number. Ex: 10 messages ( 6 new message + 4 replay messages) Now is showing 6 message. Should show 10 message. The table is message with…
0
votes
2 answers

How do I write a codeigniter badge?

How do I count all unread email for a specific user and put it on a badge: The files are here. Location code/function: crud_model // message number apper count per user // START header // message number apper count per user // START Example:…
0
votes
1 answer

Reloading the push notification badge in the background

I am creating a notification service using swift3 in xcode 10. The problem now is that when a push notification comes in the background (even when the app is closed), the badge does not increase at first, but increases by 1 from the second push…
0
votes
0 answers

Error: Cannot assign to property: 'badge' is a get-only property

I've tried to create a badge updater for local notifications using the UserNotifications.framework. And here's my code func badgeUpdate() { let center = UNUserNotificationCenter.current() center.getPendingNotificationRequests { (requests)…
Mannopson
  • 2,634
  • 1
  • 16
  • 32
0
votes
0 answers

How can i manage the badge count on the app icon just like it's managed in the mail App for iOS, Total badge count is equals to Total unread mail

I know i have to manage the badge count for total number of unread messages at my end, but how come server will know what badge count needs to be send from there end. Please let me know. To set the badge Count, I am running the loop. So if…
Anil shukla
  • 277
  • 3
  • 10
0
votes
2 answers

Android: How to increase badge from view pager fragment of MainActivity?

I've created badge in MainActivity. It's working perfectly from activity. But in MainActivity, I've taken ViewPager and I need to increase badge count from fragment. Any idea how to achieve this? @Override public boolean onCreateOptionsMenu(Menu…
AMAN SINGH
  • 3,491
  • 6
  • 28
  • 44
0
votes
2 answers

Can I replicate this image using only html and css - specifically the shape and edges?

I'd like to replicate the image below using only html and css if possible. I'd like to use this as a "badge" with changing icons and colors. A static image won't work for me: All seems doable, but I do not know how to replicate the actual shape of…
Source Matters
  • 1,110
  • 2
  • 15
  • 35
0
votes
0 answers

Is there any way to display some count over an NSImage similar to badge label for Mac Application?

I want to display the unread messages count (Refer: Fig) as badgelabel as similar to [[NSApp dockTile] setBadgeLabel:@""]; over the image icons. Can anybody tell me the proper way to do that using Objective-C?
Jeba Moses
  • 809
  • 8
  • 25
0
votes
0 answers

Current home launcher is not supported by Badges library Android

This is my code int badgeCount = 3; try { Badges.setBadge(ProviderHomepage.this, badgeCount); Log.d("BadgeSUCCESS", "BadgeSUCCESS"); } catch (BadgesNotSupportedException badgesNotSupportedException) { Log.d("BadgeERROROROROROR",…
Gourav Sharma
  • 129
  • 10