Skip to content
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

WIP: Add Calendar Month widget #428

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

yvie-k
Copy link

@yvie-k yvie-k commented Jan 18, 2019

Adds a widget that displays a whole month.
You can tap on a day to open the calendar on that day.

Closes #162

Work in progress
Due to #417 I don't know if this will get merged once complete. My phone's API level is 26 and the other widget has worked for me without problems.
It would be good if someone could test whether this has the same problems as the other widget.

Another thing is that I don't know how to get the event data. Therefore if this has the possibility to get merged, I'd hope to get some help on that to implement that functionality.

Adds a widget that displays a whole month.
You can tap on a day to open the calendar on that day.

Closes Etar-Group#162
@Gitsaibot
Copy link
Contributor

Nice that you put work in the widget. If I have time at the weekend, I will test your commit on my phone.

@yvie-k
Copy link
Author

yvie-k commented Feb 15, 2019

Have you had time to check it out yet?

@Gitsaibot
Copy link
Contributor

Gitsaibot commented Feb 16, 2019

Today I had a quick look at it ;). First, I can add the widget and it shows up. Like you said it shows no events. Whether the month changes automatically I could not test yet. I need a month change ;)

You can tap on a day to open the calendar on that day.

This did not work if you have a different default view.

@yvie-k
Copy link
Author

yvie-k commented Feb 17, 2019

Thanks for testing it.
The widget should update once every hour. Therefore it might not be immediately updated after midnight, but I haven't tested that behaviour yet.

You can tap on a day to open the calendar on that day.

This did not work if you have a different default view.

How can I force this?
Currently, I use content://com.android.calendar/time/ as the uri to open

@MaxXor
Copy link

MaxXor commented Mar 18, 2019

Any news?

@yvie-k
Copy link
Author

yvie-k commented Mar 18, 2019

@MaxXor I'm still stuck on where to get the event data and how the calendar can be forced to open the day view when clicking on a day.

When I get some help on this I can resume working on it, but unfortunately @Gitsaibot seems to be quite busy. If you can help me or know someone who can, I would really appreciate your help.

@mYnDstrEAm
Copy link

This seems to be almost done, could you please add the last bits and merge it?

It looks like events are loaded here; not sure where these events are stored and how to retrieve them from the widget but it's probably very similar to / just like how it's done in the monthview. While it would be nice if one could click on a day in the widget and have the widget open the dayview for that day, that could be implemented at a later point so that now it only opens the monthview.

A months view widget is very important and it seems to be almost implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add widget showing a hole month
4 participants