plusonelabs / calendar-widget Goto Github PK
View Code? Open in Web Editor NEWAn calender widget for your Android home screen.
License: Apache License 2.0
An calender widget for your Android home screen.
License: Apache License 2.0
Reported from Google Play developer console:
App version: 1.4
java.lang.NullPointerException
at com.plusonelabs.calendar.calendar.CalendarEventVisualizer.getRemoteView(CalendarEventVisualizer.java:54)
at com.plusonelabs.calendar.EventRemoteViewsFactory.getViewAt(EventRemoteViewsFactory.java:76)
at android.widget.RemoteViewsService$RemoteViewsFactoryAdapter.getViewAt(RemoteViewsService.java:164)
at com.android.internal.widget.IRemoteViewsFactory$Stub.onTransact(IRemoteViewsFactory.java:85)
at android.os.Binder.execTransact(Binder.java:338)
at dalvik.system.NativeStart.run(Native Method)
Possibly by adding a + sign next to the overflow menu in the top bar.
The colors given by the calendar provider do not have an alpha component and therefore appear transparent.
Currently you see a repeated list of "Loading..." strings. This could be visually improved.
It would be awesome if it was possible to select an option like "Show all dates up to 60 days" or "Show all dates set for the next three months". For some people with less frequent dates in their calendar (but who like the possibility of displaying them in a widget) this feature would be great. At the moment I am able to see exactly one date (which is set in the next month).
I would like to see this implemented!
Maybe show only the number of available events today and/or tomorrow.
java.lang.IndexOutOfBoundsException: Invalid index 2, size is 2
at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:251)
at java.util.ArrayList.get(ArrayList.java:304)
at com.plusonelabs.calendar.EventRemoteViewsFactory.getViewAt(EventRemoteViewsFactory.java:64)
at android.widget.RemoteViewsService$RemoteViewsFactoryAdapter.getViewAt(RemoteViewsService.java:164)
at com.android.internal.widget.IRemoteViewsFactory$Stub.onTransact(IRemoteViewsFactory.java:85)
at android.os.Binder.execTransact(Binder.java:338)
at dalvik.system.NativeStart.run(Native Method)
User comment: two widgets
The issue is reported by several people via email and in the app comments.
Example:
"Good BUT... All my "all day events" show on the immediate previous date... ie: all day August 3rd shows under August 2nd. But Timed events show on the correct date... otherwise great design, just wish it worked... so not quite full JB or ICS calendar support yet...???"
Research has not revealed the problem. Maybe timezone related?
Style, resize event etc.
app ver. 1.5.1
This issue may depend on my time-zone (Asia/Tokyo).
Create an all-day event Dec.10 - Dec.14,
Then, widget shows it every 5 days.
Click one of them, event screen says Dec.9 - Dec.14.
Just for your information, following code fix this.
createCalendarEvent() in CalendarEventProvider.java
if (event.isAllDay()) {
event.getStartDate().withTimeAtStartOfDay();
event.getEndDate().plusDays(1).withTimeAtStartOfDay();
}
Extracted from the play store developer console:
app version: 1.4
java.lang.IllegalArgumentException: Illegal instant due to time zone offset transition: 2012-10-14T00:00:00.000 (America/Santiago)
at org.joda.time.DateTimeZone.convertLocalToUTC(DateTimeZone.java:996)
at com.plusonelabs.calendar.calendar.CalendarEventProvider.createCalendarEvent(CalendarEventProvider.java:128)
at com.plusonelabs.calendar.calendar.CalendarEventProvider.createEventList(CalendarEventProvider.java:61)
at com.plusonelabs.calendar.calendar.CalendarEventProvider.getEvents(CalendarEventProvider.java:49)
at com.plusonelabs.calendar.calendar.CalendarEventVisualizer.getEventEntries(CalendarEventVisualizer.java:131)
at com.plusonelabs.calendar.EventRemoteViewsFactory.onDataSetChanged(EventRemoteViewsFactory.java:123)
at android.widget.RemoteViewsService$RemoteViewsFactoryAdapter.onDataSetChanged(RemoteViewsService.java:142)
at com.android.internal.widget.IRemoteViewsFactory$Stub.onTransact(IRemoteViewsFactory.java:49)
at android.os.Binder.execTransact(Binder.java:338)
at dalvik.system.NativeStart.run(Native Method)
The first upcoming instance.
Hi,
I would like to translate this app to Czech language. Is it possible to translate it?
What is the license of your app?
An event that lasts from day one 0:00 to day two 0:00 is displayed as a spanning elements over two days which could be okay. A better approach would be to only show it as an event on day one.
In addition to being a spanning event, the day one event is shown as an all day event without any time and the day two event is shown as an event with the time being two arrows.
The intent used to create new events is only supported on devices with the stock calendar app. The following intent should be more compatible.
Intent intent = new Intent(Intent.ACTION_EDIT);
intent.setType("vnd.android.cursor.item/event");
Currently instances of the widget share the same preferences and hence show the same calendars.
Thank you for this good app. Here is the hungarian translation.
User Report:
when I click on a date ( not an event ) it always pops up the Samsung calendar app instead of a chooser of the installed calendar apps (where i can set which should open from now on).
It is a problem because I do not use the Samsung calendar app but an other. The bug appears only by clicking on the date, clicking on an event pops up a calendar app chooser as it should.
java.lang.RuntimeException: Unable to resume activity {com.plusonelabs.calendar/com.plusonelabs.calendar.CalendarConfigurationActivity}: java.lang.NullPointerException
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2568)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2596)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2110)
at android.app.ActivityThread.access$600(ActivityThread.java:133)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1158)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4587)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
at com.plusonelabs.calendar.prefs.CalendarPreferencesFragment.populatePreferenceScreen(CalendarPreferencesFragment.java:49)
at com.plusonelabs.calendar.prefs.CalendarPreferencesFragment.onResume(CalendarPreferencesFragment.java:44)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:873)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1032)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1014)
at android.app.FragmentManagerImpl.dispatchResume(FragmentManager.java:1779)
at android.app.Activity.performResume(Activity.java:4549)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2558)
... 12 more
Using the existing content providers (Astrid, gTasks, etc.)
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.