-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Show full Glucose Reading in Notification bar #222
Comments
+1 |
When I last looked at it, google removed the possibility to add text there (at least for non-system apps) - and also the possibility to add dynamically rendered icons. Too many apps where pushing advertisement there, without the possibility for the user to know what app it was :/ What apps then usually did was exchanging the icon. Having a range from 40 to 400, this would mean more than 360 icons for mg/dl alone. Additionally those for mmol/l. |
Even if it is possible to dynamically render the icon I believe its going to be limited to a tiny space and getting 3 digits in there is going to pretty difficult and for it to be readable. |
What about some sort of middle ground... perhaps three or four icons: red: low, green: in range, yellow: high... or some such thing. |
Great to see that my suggetion receives attention.Thanks for this! Im running the Pixel 2 XL with Android Oreo. Im not sure how AccuBattery implements this feature as im not really an expert in that regard... Perhaps ill photoshop a mockup to see if 3 digits would be feasible. But Im hopeful that it would fit the space as accubattery uses 2 digits + the circle. The color solution depends on the android version youre running. From my experience Android Oreo converts every notification with colored icons to b/w. |
Well... I guess the takeaway here is that "more information is better". Currently the status bar icon of a static xdrip symbol brings very little to no "information" value. There are certainly tons of apps, such as this weather app I use that successfully show dynamic info in that space... such as the current temp (which in "f" can range from -xx to +xxx temps). So, it certainly is possible. The heartache seems to be on the implementation side... all the work to make icons with each BG value. So, the bottom line is... is the value gained by having a dynamic status bar icon greater than the work involved? I'd certainly volunteer my time in the grunt work of creating those BG png files. We'd be looking at what... Maybe an "L" symbol for 40 and lower... then 41 -> 300 or so? Then an "H" for high? |
Hi there, my guess is that a dynamic xdrip symbol will also bring that information on an always on display wich ist a feature i'd really like. |
+1 |
Hi there, i think this should'nt be any problem at all with since Marshmallow seems to accept Text as Icon. I made myself an app with Tasker and autonotification to show the value in the notification bar and on AOD. So it should'nt be any problem to do this directly from XDrip+. |
from api 23 + i had luck with this code for a 2 -3 character long String as notification icon. String text ="99";
} I'm not a coder at all, so integrating this into xdrip+ is way to complex for me. |
@Klaus3d3 this is very helpful thank you |
Wow, just saw this feature request has been updated. Is this going to make it into a future release? I just got a phone with "always on display" which always shows the little xdrip+ "drop" symbol on my always-on screen, which is totally useless. Would be SSSSOOOOO great if instead of that, the icon/symbol was the actual glucose reading and even another step further... the glucose reading and a small up or down arrow (or no arrow if flat) next to it showing the trend. But I know that may be a stretch. |
Can anyone who is interested in this feature please chime in with phone model, and android version and whether it supports always on display? There are complexities with making this work correctly. |
Pixel 2 XL, Stock Andoid 8.1.0 + always on display here. |
Same for me: Pixel 2 XL, Stock Andoid 8.1.0 + always on display here. |
As far as I can tell, the "drop" icon showing up on the always on display is the same icon that shows up in the status bar/notification area. I'm guessing it's the same deal so if you get it working for status bar area then always on display should honor that as well. |
Samsung A3 2017 Android 6.0.1 |
Okay, please download the March 7th Nightly to test this out! Go to Now on the next screen First tap the Some Android black magic was also needed to get this working on Samsung who have decided to do things a bit differently too. Hopefully there will be a good range of compatibility now. If that works then go back in to the On the Galaxy A3 on Android 7.x this correctly shows on the always on display. Please let me know if this works for you or not. If it doesn't work please let me know what happened, eg if the test worked but you never saw anything or if the test crashed. If it doesn't work please also let me know the data source you are using, G4, G5 etc? https://github.com/NightscoutFoundation/xDrip/wiki/How-to-get-the-Nightlies-on-Automatic-Update |
For me the 123 test works fine + beautiful yay!! have a Pixel 2 XL + 8.1 plus a G5 @gitan Which system are you running? |
same as you... verizon. |
Using the App on an BQ Aquaris X with Stock 7.1.1. |
Now its working! Took some time but now its showing my lovely blood level all day and everywhere. (except full screen games) But thats alright. Who wants to look after the level while gaming :D Thats so great @jamorham! Thank you very much. This will change a lot for me and others with this lovely disease ;) |
Ok we should get some more people testing it to confirm and I maybe could do something snazzy in the future like use the top and bottom pixels of the graphic with a line like |
Works great an my Galaxy A3 2017 with 6.0.1 Thanks for your great work. Now the icon shows 46...something's wrong, i need to eat.. :-D |
The number on aod disapear when a second notification comes up due to notification grouping. e. g. a warning. |
How is it with values in mmol/l above 10? |
Nexus 5X on 7.1.1 without AOD is working fine too |
Samsung Galaxy S6 Edge Plus - SM-G928I, Android 7.0 Unsure what its like > 10.0, I seldom get that high but I will report back if I do |
Test passed, 123 shown. |
swissalpine, did you wait for the next reading? I think it has to go through a full data refresh before you'll see the number. |
Yes. Tried many things, restart and so on, nothing. |
Ok so I rebooted my device and the number is now reverted to the drop icon. Not sure how to get it back. |
After about 15 minutes or so the icon changed back to the bg number. Odd. |
Pixel 2 XL -- works great |
Jelly Pro Wait - I just looked at it, and it is there - maybe it needed a reading first. |
@ gitan00 i think ghe text size is variable depending on how many digits your reading has. 99 has bigger font size then 100. |
@gitanO0 i had the same here. Numbers were gone after restart and reapear after 15 minutes. if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { |
I might be able to increase the font a tiny bit but it runs the risk of getting truncated. It has to fit in the same size box as for example the NFC or Wifi icons on your screenshots. |
@Klaus3d3 thats right otherwise its possible for the user to potentially soft-brick their phone if they enable the feature despite the test failing. |
it maybe possible to increase the text size by using a narrower font, but i guess ist already at its limits to show a 4 digit number. |
works great on ZTE axon on lineage 14.1 and blucon as datasource! |
Ah, ok. We just need to know that for the first 15 minutes, we'll get the drop symbol for safety reasons. Makes sense. |
Working well on S8, stock Nougat. Thanks for implementing this. Have wanted it for a long time! Will allow for BG value while navigating. As for font size, a taller font might be more legible. At least for mmol/L which has a thinner set of characters. Great work. Very useful. |
Wow! Thank you @jamorham. Just tested on a Galaxy S7 with an SW3 collecting from a Dexcom G5 and it is working well Initial reaction ... I think an option to show the background color of in-range, high, or low would be extremely helpful, too. Would this be hard to add? Thanks again for this great feature. |
Maybe it would be better to use a tall narrow font, so numbers over 99 don't look so small |
For High and Low cases i would reduce the Text to HI and LO and maybe ER in case of missed readings, to keep the text readable. |
Not working on my S8 Oreo sadly. Test worked and showed the number but the actual results don't show. Tried restarting and reenabling. Would any system settings/font settings prevent it from working? |
Ah well it's all fixed! The force English font setting was preventing it from working. As soon as I disabled that the numerical data showed. |
Xiaomi Redmi 3S NOT working...( Test is not passed. |
@micro17 Unless this still has not been addressed, would you please close the issue? Thanks |
Closing due to inactivity |
Hi,
first I want to thank all contributors for this great app! Makes my life with Type 1 a lot easier.
Hope its OK to request a feature this way.
I have an application named AccuBattery which always shows the battey percentage as an Notification bar Icon. I would love to see this implemented with the current BG Reading.
Thanks Max
The text was updated successfully, but these errors were encountered: