Hi team, I need to be guided with glance. I'm crea...
# glance
n
Hi team, I need to be guided with glance. I'm creating an application that allows you to record your phrases that motivate me the most, but I think it's not interesting to have the application to read a phrase that motivates us and that we like, so I decided to use glance to create a widget that displays a quote from the list endlessly after 3 seconds, and so far in the docs I can't find something that suits me to do that. For the application to be ready, it's just the widget part with glance that's causing me problems, and I'm at point zero. Could someone have a solution?
c
Please don’t cross posting to multiple channels. 1. It’s considered spamming according to the guidelines. 2. It makes following the conversation hard - for you and others that are interested in the topic.
And as an answer to your question. Android does not allow a widget to be updated that often. The closest you can get is around 5 min. Depending on the manufacturer and alert manager restrictions.
n
Yes, sorry for that. I discovered the Chanel glance today and I thought that maybe some people are not into it. I'm sorry, but I'm looking for what approach to take concretely, in practice.
c
So you are looking at the wrong place. Glance is just the UI wrapper over widgets. What you need is something from the platform. You can check
AlarmManager
to start a
Service
that will update your widget.
If you have further questions use one of those forums.
n
Thanks, if possible can you send me the link of discord , I don't find that message I Chanel
c
It’s in the channel description of #C0B8M7BUY
n
Thanks 👍