adolfintel / clock31 Goto Github PK
View Code? Open in Web Editor NEWClock + Calendar combo widget for Android
Home Page: https://fdossena.com/?p=clock31/index.frag
License: GNU General Public License v3.0
Clock + Calendar combo widget for Android
Home Page: https://fdossena.com/?p=clock31/index.frag
License: GNU General Public License v3.0
Thank you for your effort in making a clock and calendar widget. Unfortunately, the widget crashed when I tried to place it on my screen. I am using Android 10. Looking forward to your next version release. Thanks
Mind you, this might be a bug on my side, but when I click on a calendar event, I get to option to choose which calendar to open the entry with. "Calendar" which I do not have installed even (grapheneOS atm, but going to switch to calyxos soon and will report again), and etar (basically lineageOS's calendar). My logs are then filled with 'no such application', and obviously it doesn't work.
Is the calendar entry hardcoded in any way?
Regardless, loving Clock31, I really really missed the old cLock lineageOS widget.
First of all awesome widget. I used to have the cLock widget and could not find a decent replacement on my later phones. Finally I found your work. Thanks!
The only thing I am missing is the option to have "outline" style icons for the alarm and calendar icon. Also there could be an option to change the size and style (especially bold) for the time.
Edit: I just noticed that events of all calendars are displayed. It would be nice if it follows the settings in Etar etc. Or just make it possible to select the calendars.
the clock31 widget lacks any app icon, which makes it a bit hard to find/remember it is installed. Also having an application icon would help in configuring the widget
The main clock has a relativily small font size, it's about half the size of the original clock widget. Being able to change that would be nice, and avoid discussions 'but I prefer size X over Y'.
Hi. The widget seems to only display events from the current month. I would like it to list upcoming events even if they do not occur this month if possible. Thank you.
Hello!
On my Samsung Galaxy S9 running /e/OS 1.13 (Android 10) and Neo Launcher (https://github.com/NeoApplications/Neo-Launcher), the calendar icon in the widget displays an arbitrary "17th of July" calendar icon (NOT like the screenshot here: https://github.com/adolfintel/Clock31), which I find a bit confusing.
It would be great it if could display the current date instead.
(I’m not sure if it’s a Clock31 issue, or an OS theme one.)
The stock lineage widget will show the world clocks (home clock gets added when not in the homezone automatically?). Clock31 seems to be missing this feature, which is very useful when traveling.
Environment: Android 13, Moto G73.
I installed the app and put the widget. Touching the time does not open clock app though.
Recently i got the following error message after i'm touching the calendar icon on the desktop widget:
type: crash
osVersion: google/bluejay/bluejay:13/TP1A.221105.002/2022111000:user/release-keys
package: com.android.calendar:33
process: com.android.calendar
java.lang.NullPointerException: cEvents.getString(PROJECTION_RRULE_INDEX) must not be null
at com.android.calendar.Event$Companion.generateEventFromCursor(Event.kt:327)
at com.android.calendar.Event$Companion.buildEventsFromCursor(Event.kt:287)
at com.android.calendar.Event$Companion.loadEvents(Event.kt:187)
at com.android.calendar.EventLoader$LoadEventsRequest.processRequest(EventLoader.kt:126)
at com.android.calendar.EventLoader$LoaderThread.run(EventLoader.kt:186)
The same behaviour with the Version 1.0.1.
But at the moment, no system update in the meantime, 'it works' without the error message. Strange.
Now a click on the icon does not open the installed calendar application (simple- calendar) but only a system own application (sorry, i am new on GrapheneOS; there is no such thing like a genuine calendar application)
My system:
Google Pixel 6a
Android 13
GrapheneOS
While clock31 is amazing, it's not a drop-in replacement for cLock or the lineage clock widget. Having two on the desktop is great, but now we have two clocks for example. Being able to turn on/off (must have at least one enabled of course) is useful to use clock31 for the calendar, but omit the clock.
I installed the apk from f-droid, but when I used the launcher's "add widget" function, the widget could not be placed on the screen.
When I tried adding the widget, the launcher reported the system error "the application is not installed on your phone", and no further progress was possible.
After reading about a similar issue at stack overflow I downloaded the source from f-droid, opened it in Android Studio, and changed
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 5d5e1bc..0c0a7b6 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -50,7 +50,7 @@
<activity
android:name=".C31WidgetConfigureActivity"
- android:exported="false">
+ android:exported="true">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
</intent-filter>
After uninstalling the f-droid apk, making a release build in Android Studio and installing the resulting apk file on my phone, I was able to place the widget on my screen successfully, and without getting the error message.
Since you don't have other reports on this, I guess it's either something with the old android version, or perhaps the old launcher I use ("TSF Launcher Prime") but I mention it in case it's useful.
Hi,
the widget is very nice and clean. But it will show every calendars of every accounts of the phone, creating confusion and duplicating events in case of shared calendars between accounts.
Could it be possible to filter the agendas by interrogating the agenda application (or Google's agenda application in most case) on which calendar is shown or hidden? It should reflect the real use of our own agenda application on our phone.
Thanks
Depending on your background, it would be nice to align the text in calendar events to the right, so it does not obscure any background image.
Note, that downsizing the widget doesn't work well, because the clock is then no longer centered.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.