khosrwb Active Member Licensed User Longtime User Dec 31, 2015 #1 how can I show num in notification ? I can set icon in notification , but I will show number in notification. (( I will show battery percent in notification ))
how can I show num in notification ? I can set icon in notification , but I will show number in notification. (( I will show battery percent in notification ))
Erel B4X founder Staff member Licensed User Longtime User Dec 31, 2015 #2 Set the Number property. Upvote 0
khosrwb Active Member Licensed User Longtime User Dec 31, 2015 #3 Erel said: Set the Number property. Click to expand... I don't understand , what means? if it's possible write code ; show number in notification. excuse me for my language Upvote 0
Erel said: Set the Number property. Click to expand... I don't understand , what means? if it's possible write code ; show number in notification. excuse me for my language
DonManfred Expert Licensed User Longtime User Dec 31, 2015 #4 khosrwb said: I don't understand , what means? Click to expand... This means that you need to set the Number property! Look in the documentation of the notification object! Upvote 0
khosrwb said: I don't understand , what means? Click to expand... This means that you need to set the Number property! Look in the documentation of the notification object!
khosrwb Active Member Licensed User Longtime User Dec 31, 2015 #5 DonManfred said: This means that you need to set the Number property! Look in the documentation of the notification object! Click to expand... please see my code and tell me , my mistake Attachments s.zip s.zip 6.8 KB · Views: 299 Upvote 0
DonManfred said: This means that you need to set the Number property! Look in the documentation of the notification object! Click to expand... please see my code and tell me , my mistake
mangojack Expert Licensed User Longtime User Jan 1, 2016 #6 Out of curiosity I also have attempted to show a notification with a number on the notification icon. I have run @khosrwb 's zip and a fresh project. Both failed. Number As Int Gets or sets a number that will be displayed on the icon. Click to expand... The Notif.Number does show in the notification dropdown list (along with title and body text) but Not on the notification bar icon . Are we missing something .. Icon sizes etc Upvote 0
Out of curiosity I also have attempted to show a notification with a number on the notification icon. I have run @khosrwb 's zip and a fresh project. Both failed. Number As Int Gets or sets a number that will be displayed on the icon. Click to expand... The Notif.Number does show in the notification dropdown list (along with title and body text) but Not on the notification bar icon . Are we missing something .. Icon sizes etc
LucaMs Expert Licensed User Longtime User Jan 1, 2016 #7 mangojack said: The Notif.Number does show in the notification dropdown list Click to expand... I do not see the number in any place (my test, no services, B4A 4.30 - Android 4.4.2 & 4.0.4) Last edited: Jan 1, 2016 Upvote 0
mangojack said: The Notif.Number does show in the notification dropdown list Click to expand... I do not see the number in any place (my test, no services, B4A 4.30 - Android 4.4.2 & 4.0.4)
khosrwb Active Member Licensed User Longtime User Jan 1, 2016 #8 I will show number Instead of icon , in notification. there isn't any idea ? Upvote 0