Caller Name in Notfication #5938
Replies: 1 comment
-
Posted at 2023-05-22 by @gfwilliams I just had a look into this, and it seems like if the name of the caller is known, it should go into the Notification's title instead of the text It might be worth going into Android's 'App' section for 'Bangle.js Gadgetbridge' in Android Settings and seeing if you have all the permissions set - maybe it doesn't have permission to access your contacts? Posted at 2023-05-22 by Rand__ It actually didn't have those, but even after setting them I still only see the phone number. Slightly off topic - It probably wouldn't be simple to make the notification popup respond back to the phone to accept/reject the call, would it? Posted at 2023-05-22 by @thyttan
This github issue relates to this: espruino/BangleApps#2489 Posted at 2023-05-23 by @gfwilliams
That's odd - it should do. It's the first I've heard of it not. Code's here: https://github.com/espruino/BangleApps/blob/master/apps/android/boot.js#L253 Posted at 2023-05-23 by Rand__ I see, the function is
Which means it would display the name in the title and the number in the body... Tried just now but didn't get a call notification at all for some reason... Posted at 2023-05-24 by @gfwilliams You can try it yourself from the IDE and see if it works ok... http://www.espruino.com/Gadgetbridge#messages-sent-to-bangle-js-from-phone
It seems to work for me - and you can also check that it sends Posted at 2023-05-24 by Rand__ So, flashed the current fw today, that fixed the problem that no calls where showing any more. So when the next call came I was looking at the title and saw caller name. Quite small for my old eyes (primarily due to the fact that most of my contacts have long names and it gets size reduced to fit. A short named Caller (first name only) was visible fine. I assume I can roll my own Android app, but not too keep on that;) Is there a particular reason why thats in the title and not the more prominent body (where i was expecting it all the time)? Also is there an option somewhere to turn on the light upon receiving a message? I run without it most of the time to save power so that makes reading the incoming notification harder to read. I suppose i could press the button to turn it on but thats inconvenient when I'm busy and just want to have a quick look at what it is... I assume I can roll my own Android app but not too keen on that;) Posted at 2023-05-24 by @thyttan
On the Bangle: Settings->Apps->Messages->Unlock Watch Is a way to do it, given you have backlight set on when the watch is unlocked. Posted at 2023-05-24 by Rand__ Hm I'll try that, thanks. Posted at 2023-05-25 by @gfwilliams There's no reason the caller name couldn't be in the middle of the screen, it's just how it was implemented originally. It'd be very easy to change at https://github.com/espruino/BangleApps/blob/master/apps/android/boot.js#L60-L65 and I doubt anyone would have an issue with it. Pull requests very welcome :) Posted at 2023-05-25 by Rand__ I dont even have that option under Messages? Posted at 2023-05-25 by Rand__ I could do that if I had an idea how to do that:p Posted at 2023-05-25 by @thyttan Are you sure? It sits between the 'Auto-Open Music' and 'Flash Icon' entries. Posted at 2023-05-25 by Rand__ Man, I really get old :( Posted at 2023-05-25 by Rand__ The lit up display sure helps with reading the fineprint. Still think name would be better placed as main item due to more space -> larger font. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2023-05-20 by Rand__
Hi,
maybe used the wrong search terms but couldn't find anything surprisingly.
I get incoming call notifications from my Android phone just fine and its really useful (deciding whether I need to jump to my phone or not;)).
This works well with numbers I know, but often I dont know them.
So I wonder, is there a way to send the Name of the contact associated with the caller (if there is one only o/c) to the JS2?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions