Code Monkey home page Code Monkey logo

min-cal-widget's Introduction

MinCal Widget

Minimal calendar widget that's always on current date's month

  • 3x2 (resizable)
  • Displays all visible events from your calendars with a symbol set (high number becomes generic)
  • Native widget configuration access or press widget's top right corner
  • Pressing on any other part of the widget opens calendar application
  • Configurable:
    • start day of the week
    • calendar (gregorian or holocene)
    • show declined events
    • focus on current week
    • open calendar on clicked day
    • theme
    • symbol set
    • symbol set colour
    • transparency
    • text size

Installation

Get it on Google Play Get it on F-Droid Get it on GitHub

Screenshots

Supported languages

Everyone can help adding or updating translations under https://hosted.weblate.org/engage/min-cal-widget

Licensing

MinCal Widget is licensed under the BSD 3-clause.

min-cal-widget's People

Contributors

532910 avatar comradekingu avatar dapa avatar dependabot[bot] avatar mgradowskiempik avatar milotype avatar mvdan avatar mvmike avatar vistaus avatar weblate avatar zykino avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

min-cal-widget's Issues

Updating not working

The widget (1.2.2 from f-droid) isn't updating each day. If I tap on it (which opens the calendar app) and then go back to the home screen, it updates (highlights today's date). It was working fine for me in all versions before this one.

Android 9.0
Galaxy NOTE 4
Resurrection Remix Rom

individual settings of all colors in the widget

it's a little unusual and uncomfortable for me to see the colors that you have by default. Please make it possible to change all colors (weekend colors, weekday colors, current day color, line color and text color)

F-Droid failed to build

> Task :app:compileReleaseKotlin
> Task :app:compileReleaseJavaWithJavac FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:compileReleaseJavaWithJavac'.
> invalid source release: 11

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 31s
26 actionable tasks: 26 executed

Could you please take a look? Thanks!

%2d formatting

I'd prefer the day numbers be %2d formatted. What do you think about?

show birthdays

requesting a new function.
it is very convenient when you can see birthdays on the widget. please add a display of birthdays from my contacts in the phone.
if the widget is large, it will be convenient to show the first or last name near the candle with text.

🕯 - example of a birthday icon, or find another character in the unicode table.

in a large widget, write text for the place of icons

requesting a new function.
if the widget is stretched and it will be large, then there is a place to write the text what is the event on this day.

for a small widget, only characters without text are available.

1

2

Reminders and objectives not shown

The widget only shows calendar events. Google calendar allows to create reminders also, but these are not displayed in the widget.

A reminder can be created easily by tapping on the "+" icon on the bottom right of the Google calendar app.

(Feel free to say no if you don't want to support reminders)

Cannot add widget

Per #32. Sony Xperia XA2 / H3123 / Android 9. v1.4.1 tried both GitHub release and F-droid.

  • Clicking the widget does nothing
  • Dragging the widget makes it disappear on release
07-05 15:25:28.714  1725  2182 I ActivityManager: START u0 {act=android.appwidget.action.APPWIDGET_CONFIGURE cmp=cat.mvmike.minimalcalendarwidget/.application.activity.PermissionsActivity (has extras)} from uid 1000
07-05 15:25:28.784 26358 26358 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@5af63ef
07-05 15:25:28.802  1725 12228 I ActivityManager: START u0 {act=android.content.pm.action.REQUEST_PERMISSIONS pkg=com.google.android.packageinstaller cmp=com.google.android.packageinstaller/com.android.packageinstaller.permission.ui.GrantPermissionsActivity (has extras)} from uid 10365
07-05 15:25:28.899 26436 26436 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@6e60f03
07-05 15:25:28.974  1725  2182 I InputDispatcher: Focus entered window: Window{eef49e7 u0 cat.mvmike.minimalcalendarwidget/cat.mvmike.minimalcalendarwidget.application.activity.PermissionsActivity}
07-05 15:25:29.003  1725  1797 I Timeline: Timeline: Activity_windows_visible id: ActivityRecord{aae80ce u0 cat.mvmike.minimalcalendarwidget/.application.activity.PermissionsActivity t2} time:515619719 diff:29 start:warm|vis-activity batt:53|2 mw:off|0 mem:783100|0|51|3|13 cpu:[1,1,1,1,1,1,1,1],[1843,2208]
07-05 15:25:29.006  3207  3207 W StaticLayout: maxLineHeight should not be -1.  maxLines:1 lineCount:1
07-05 15:25:29.010  3207  3207 W StaticLayout: maxLineHeight should not be -1.  maxLines:1 lineCount:1
07-05 15:25:29.058  1725 12228 I InputDispatcher: Focus entered window: Window{16e79fc u0 com.sonymobile.home/com.sonymobile.home.HomeActivity}
07-05 15:25:29.074   840   840 D SurfaceFlinger: duplicate layer name: changing Surface(name=45b5b6d StatusBar)/@0xa03f822 - animation-leash to Surface(name=45b5b6d StatusBar)/@0xa03f822 - animation-leash#1
07-05 15:25:29.088  3207  3207 E HomeAppWidgetManager: : AppWidget failed to load:cat.mvmike.minimalcalendarwidget
07-05 15:25:29.089  7242  7242 E FullInputEventModel: onStartInput event aborted: gv2: could not obtain extracted text (class gv2)
07-05 15:25:29.169  1057  1193 E storaged: getDiskStats failed with result NOT_SUPPORTED and size 0
07-05 15:25:29.214   840  1946 W SurfaceFlinger: Attempting to set client state on removed layer: cat.mvmike.minimalcalendarwidget/cat.mvmike.minimalcalendarwidget.application.activity.PermissionsActivity#0
07-05 15:25:29.214   840  1946 W SurfaceFlinger: Attempting to destroy on removed layer: cat.mvmike.minimalcalendarwidget/cat.mvmike.minimalcalendarwidget.application.activity.PermissionsActivity#0
07-05 15:25:29.477  3207  3207 W StaticLayout: maxLineHeight should not be -1.  maxLines:1 lineCount:1
07-05 15:25:29.484  3207  3207 W StaticLayout: maxLineHeight should not be -1.  maxLines:1 lineCount:1

start improvment

Every time I reboot the phone min-cal-widget takes a lot of time to start. As I suspect it's not due to min-cal issues, but due to calendar provider DAVx⁵.

If I'm right, it can be improved: The calendar itself should shown as fast as possible, and symbols (task) should be loaded in background ans shown as they become ready.

image

the borders of the elements are bolder

now it's hard for me to watch the settings, especially during the day in bright light. the elements are all gray and the borders between the elements are poorly separated. I ask you to make the borders more thick and bold

calend2

Should be on F-Droid

Please add it to F-Droid again.

What problems do you have and how can I help you?

Icon has too little contrast

Black on grey is too hard to see on my screen even at the highest brightness levels (AMOLED). It would be better if the background color was lighter.

minSDK to 26 (android 8.0)

Really this is not an issue.
Could you explain what is the reason for minSDK restriction to 26?
Are you sure it's a must?

If you could make a build of the latest version but without restriction I could test it on android 7.1.

Correct first week display

If widget is configured as fist day of week is monday and first day of month is sunday, monthly widget starts on monday 2.

update issue

I just noted that 8 (Mon) was marked as the current day. I've removed the widget and re-added it. Now it shows 11. Sure it happened after the last update that happened on 08 Jun 2020.

no widget

the widget can not be placed on the start menu.
my mobile phone:
Sony Xperia XZ2
android 9
Model: H8266

Build failure on f-droid

Hi, f-droid packager here. Since some time, the build has failed with the gradle error:

Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE environment variable to "8477a8b6e63ed9d62c01bc0b27aa116e9779ff63"

I've fixed that error by removing the -beta2 on the com.android.tools.build:gradle plugin in the build.gradle file, as you can see in this commit:

https://gitlab.com/fdroid/fdroiddata/commit/6dba094c74c55e5fa3c89c95211c5d703a16c8fc

would be great if you could change the build.gradle accordingly, so that its fixed upstream as well.

Thank you!

Please add a compact symbols set.

mincal

Really I don't want than day numbers be resized as said in #8 issue.
I need a compact symbols set that will take a just a single slim line under or a row after a day number.

I've draw red dots and lines in the gimp, to show what I mean:
mincal-concept

Numbers are compact, and will take a row after a day and will be shown in my screen, but numbers are ugly and two numbers in one cell is too much.

widget to show only 1 last week

at the end of the month there is a lot of useless information on the widget. Many past days. there is very little useful information for the future. I suggest for the widget to show only 1 last week. so more useful information will be

use

Wrong monthes localization.

In linux there are two month properties in LC_TIME: mon and alt_mon.
mon is the name of month in nominative case and alt_mon is in genitive case.
So mon is for 'April 15' form while alt_mon is for stanalone month name like just 'April'.

I don't know how this called in android, but min-cal-widget uses mon but must use alt_mon.

You can't see the difference in english or español, but in russian it's significant.

Some link about

For proper android implementation see https://github.com/SimpleMobileTools/Simple-Calendar.

Crash if opening the calendar when no calendars are installed

Easily reproducible if the Android calendar is disabled and no other calendars are installed. Clicking on the widget will crash and nothing will happen.

Aside from fixing the crash, perhaps some UI should appear instead of nothing happening. Like a toast or a dialog saying "cannot open calendar, none is installed".

Build fails in F-Droid

After moving the app to JDK-17 in 6efb42f once it became stable, F-Droid build fails since it's configured to do so with JDK-11

PR has been opened in fdroiddata to fix it, although I'm unsure if this is the correct way to do so:

@linsui, since you helped with the migration to JDK-11 in #66, would you mind assisting (or point me in the right direction) me here? Haven't found any info in the documentation about how to tackle this.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.