yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] struct_de:
some repeated meetings are not imported

I have problems when importing repeated meetings from ics files. Some of them just dont show up in the calendar. Here is an example which I picked out from a bigger ics file (hope I didnt destroy it):

Jürgen

BEGIN:VCALENDAR

PRODID:-//Microsoft Corporation//Outlook 14.0 MIMEDIR//EN

VERSION:2.0

METHOD:PUBLISH

X-CALSTART:20141101T000000

X-CALEND:20150430T160000Z

X-CLIPSTART:20141031T230000Z

X-CLIPEND:20150430T220000Z

X-WR-RELCALID:{0000002E-F751-B0EC-7FFC-36B3B4412DD5}

X-WR-CALNAME:Juergen Bausa

X-PRIMARY-CALENDAR:TRUE

X-MS-OLK-WKHRSTART;TZID="W. Europe Standard Time":083000

X-MS-OLK-WKHREND;TZID="W. Europe Standard Time":173000

X-MS-OLK-WKHRDAYS:MO,TU,WE,TH,FR

BEGIN:VTIMEZONE

TZID:W. Europe Standard Time

BEGIN:STANDARD

DTSTART:16011028T030000

RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10

TZOFFSETFROM:+0200

TZOFFSETTO:+0100

END:STANDARD

BEGIN:DAYLIGHT

DTSTART:16010325T020000

RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=3

TZOFFSETFROM:+0100

TZOFFSETTO:+0200

END:DAYLIGHT

END:VTIMEZONE

BEGIN:VTIMEZONE

TZID:China Standard Time

BEGIN:STANDARD

DTSTART:16010101T000000

TZOFFSETFROM:+0800

TZOFFSETTO:+0800

END:STANDARD

END:VTIMEZONE

BEGIN:VTIMEZONE

TZID:Central Europe

BEGIN:STANDARD

DTSTART:16011028T020000

RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10

TZOFFSETFROM:+0200

TZOFFSETTO:+0100

END:STANDARD

BEGIN:DAYLIGHT

DTSTART:16010325T020000

RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=3

TZOFFSETFROM:+0100

TZOFFSETTO:+0200

END:DAYLIGHT

END:VTIMEZONE

BEGIN:VEVENT

CLASS:PUBLIC

CREATED:20141105T072929Z

DESCRIPTION:\n

DTEND;TZID="W. Europe Standard Time":20150114T110000

DTSTAMP:20141105T072920Z

DTSTART;TZID="W. Europe Standard Time":20150114T083000

LAST-MODIFIED:20150128T072119Z

LOCATION:BLA (17)

ORGANIZER;CN="bla":mailto:bla@blu.com

PRIORITY:5

RRULE:FREQ=WEEKLY;COUNT=8;INTERVAL=2;BYDAY=WE;WKST=MO

SEQUENCE:0

SUMMARY;LANGUAGE=de:besprechung

TRANSP:eek:PAQUE

UID:040000008200E00074C5B7101A82E00800000000802D9098D2F8CF01000000000000000

010000000B8E3AD02A3C4194FBEF81E2F57F1659E

X-ALT-DESC;FMTTYPE=text/html:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//E

N">\n<HTML>\n<HEAD>\n<META NAME="Generator" CONTENT="MS Exchange Server ve

rsion 14.02.5004.000">\n<TITLE></TITLE>\n</HEAD>\n<BODY>\n<!-- Converted f

rom text/rtf format -->\n\n<P DIR=LTR><SPAN LANG="de"></SPAN><SPAN LANG="d

e"></SPAN><SPAN LANG="de"></SPAN></P>\n\n</BODY>\n</HTML>

X-MICROSOFT-CDO-BUSYSTATUS:BUSY

X-MICROSOFT-CDO-IMPORTANCE:1

X-MICROSOFT-DISALLOW-COUNTER:FALSE

X-MS-OLK-CONFTYPE:0

BEGIN:VALARM

TRIGGER:PT15M

ACTION:DISPLAY

DESCRIPTION:Reminder

END:VALARM

END:VEVENT

END:VCALENDAR
[Android Apps and Games] 920904:
Hi Jürgen,

the real appointment occurrences are calculated by Android itself, so CalendarSync can only forward the recurrence rule to the Android calendar system and then Android takes this rule and calculates the real occurrences. Unfornately Android sometimes makes errors during the calculations. I assume that this is likely the reason for the issue. Anyway I will check if out and then come back to you.

Regards

Annemarie
[Android Apps and Games] 920904:
I checked out the appointments recurrence rule and some similar rules and the appointments are displayed fine here at my Android version and calendar app. So what Android Version are you using (different Android versions have different bugs at the recurrence instance calculation)? And which calendar app (some e.g. have bugs regarding the display of appointments)?
[Android Apps and Games] struct_de:
I have android 4.3 on a "Alcatel one touch idol2 mini S". It says firmware version is 4.3/0103.

I think I use the standrad android calendar app. it says 4.3-v4EBF-0.

Hope this helps.

Jürgen
[Android Apps and Games] 920904:
I also tried it on a Android 4.3 device and it worked well, so probably Alcatel made some error when building their Android ROM. Thats possible but unlikely.

So you can check out a different calendar app and see if it displays the appointments differently (some calendarapp have display bugs) one example used by many of my customers is:

https://play.google.com/store/apps/details?id=netgenius.bizcal
[Android Apps and Games] struct_de:
some repeated meetings not showing up

I (again) have problems with some repeated meetings, that are not showing up in the normal calendar. However, by chamnce I found out, that they do show up in the calendar, that is dsplayed on the lock screen. Therefore I am unsure, if this is a problem with import or with the calendar. I then tried a lot of the calendars/calaendar widgets from the play store. The result was, that only aCalendar and the calendar displayed on the lock screen display these meetings.

Could it be, that the meetings are imported in a way, that violates the specifications? And that most of the calendars juts ignore them, while the above mentioned two apps try to interpret and display them?

Interestingly it is difficult to provoke the error: When I import the calendar for some month, one meeting might not show up. When I ex-/import just that day, it might be ok.

While some meetings of set of meetings might not show up, others do. Allthough they are instances of the same series.

I have android 4.3 on a "Alcatel one touch idol2 mini S". It says firmware version is 4.3/0103. I use calendarsync to import the meetings from an ics-File, that is generated by Outlook.

Juergen
[Android Apps and Games] 920904:
All calendarapps use the same Android calendardatabase that is populated automatically by Android with the instances/occurrences of a recurring appointments after CalendarSync finished the import of a single appointment. So if you see it in one calendar app but not in a differnt one then it looks like a bug of the other apps or a problem on your device which is not related to CalendarSync. Why? Because how the data has to be stored and how it can be accessed is exactly described by Google so there simply is only one way to store and read the appointment data and not multiple ways.

Have you contacted the calendar app developers and described your observations?

Regards

Annemarie
[Android Apps and Games] struct_de:
So, this means, data is imported correctly, but the default android calendar-library has a bug and is not able to display it correctly. As nearly all calendar apps use this library, they are all not able to display the appointment. Did I got it correctly?

So, then I need to stick to aCalendar because it sems to be the only app, that does not use the android-lib. The phone has android 4.3 and it is very unlikely, that there will be any update to 4.4 or 5.x. It is really bad, that all these phones have their special flavour of android and that it is nearly impossible to get any update after some time. Would be really nice to be able to run "apt-get upgrade" on them.

Jürgen
[Android Apps and Games] 920904:
Yes the appointments are imported fine because else no calendar app would be able to see any recurring instances. But as described by you the aCalendar calendar app is able to display the recurrences, hence the import must have worked correctly (basically if the import would not have worked fine then Android would not have been able to calculate the recurring instances of your appointments -> hence no app would display any recurring instances). However, the reason why some calendar apps, but not all, have problems on your device can be likely found on the changes that the devices manufacturer applied to your android ROM (each manufacturer customized their own Android version) and I assume that contacting the developers of your calendar apps might help. For example they can analyze why they are not displaying the recurring instances while other calendar apps do and can fix this problem by updating their apps.

Regards

Annemarie
[Android Apps and Games] 920904:
Thank your for reporting this. This is already known and an update will be released soon (most likely next week) however for CalendarSync (in comparison to ContactSync) the update for now will only be released through the beta track on Google Play. If you need information on how to used such beta versions please contact us by mail or write another post. If you need immediate access on the updated version please contact us at calendarsync@gmx.at
[Android Apps and Games] Jean-Régis:
Installation CalendarSync

Hello,

I installed CalendarSync on an LG device with Android 2..3..4, linking to a provider Nextcloud server (indie.host). I can import appointments from the server to my local calendar by clicking the sync button of the webical, but the periodical automatic import doesn't work, even after configuring and rebooting, and the local appointments are not uploaded.

Missing something ? What ? Thank you for your advice.
[Android Apps and Games] 920904:
On an older Android device this works typically out of the box. Could you please send me a logfile so that I can check out your configuration?

For this please start by creating a new appointment with a note field on your server, then:

a) Start a sync by pressing the Process WebiCals button on the main screen of the app.

b) After the sync finished can you send me the logfile (Send log to dev - at the bottom and confirm that you want to send a log).

All the buttons are on the mainscreen and please do not close the app (after the sync) before you have sent me the logfile.n

c)A mail will be created please send the mail, so that I can look on the configuration, possible errors, and so on.
[Android Apps and Games] tigerputzi:
when will the update available, still see only version 13.44 in play store
[Android Apps and Games] 920904:
The update is already available in the Google Play Store. However currently it is only available through the BETA track of the app. You can install the beta versions of the app as follows:

For the "full" version use following url: https://play.google.com/apps/testing/com.icalparse

For the "trial" version use following url: https://play.google.com/apps/testing/com.icalparse.free

You can find the same link on the Google Play Store App description page.

Note: I have just pushed/updated the beta app. So I would recommend to e.g., wait up to 12 Hours so that you directly get the latest update (depending on your location Google sometimes needs more/less time to spread the latest beta versions through their server landscape).

As soon as enough beta feedback was collected (currently I looks good but I want push some more changes to beta before moving this version to final) it will also be distributed through the normal update channels. Feedback is appreciated.
[Android Apps and Games] 920904:
FYI: This was sorted out, the autosync was not enables in the app settings. Enabling it resulted in a working automatic sync.
[Android Apps and Games] ltGuillaume:
On Android 2.3.7, it is impossible to scroll anywhere but on the main screen. Luckily, my ol' HTC Desire has an optical trackpad, which still allowed me to set up my calendars, but navigating the app like this is quite difficult. It was also impossible to scroll the "adaptations for specific server/vendor types" (even with the optical trackpad), so I have no idea if there are any specific adaptations for Nextcloud...

Also, I have checked the first 5 options under "Settings" -> "Notifications", but I have never had any notifications while syncing, even though the calendars did get updated. I have only have had a few error notifications (unfortunately without any useful information), even though the calendars synced properly. Note that I'm trying to have AutoSync disabled, while only having "Incorporate System AutoSync Triggers" enabled. This seems to trigger syncs just fine, apart from the lack of any notifications.
[Android Apps and Games] 920904:
Error notifications just inform you that some errors were observed such that you become aware that potentially not everything was synced successfully throughout the last sync. Use the built in configuration test in the configuration overview to verify the config. The app then tests the interaction with the server and tells you if everything works or what errors were detected - including error messages if there are any useful ones reported by the server. If error messages appear here or there (and not throughout the built in config verification) its most typically related to networking errors which solve itself as soon as the network connection gets more stable again or servers are accessible again. Unfortunately calendarservices typically are not very helpful in this regards and typically only provide very generic information, i.e., "something went wrong".

Its an about 10 year old operating system which i test here or there on the first samsung galaxy and some emulators - where it worked fine (the screen is a bit small, but thats it just how devices were made back then).

I will see if there are any changes that can be made for your device - but still you would need to install the latest iteration and check it out on your specific setup/device (i.e., some beta versions). For nextcloud you will not need any adaptions. In general such typically are only necessary to work around some known limitations and quirks in calendar services - if everything is synced as expected you can simply ignore it.
[Android Apps and Games] 920904:
[duplicate]
[Android Apps and Games] 920904:
There is now a beta version available which, inter alia, addresses the scrolling aspect for Android 2. If you would like to check it out please contact me.
[Android Apps and Games] kalhohan:
syncing existing calendars on device (multiple sources) into nextcloud

Hello,

I tried to achieve, sadly without any luck, to sync existing calendars on my device (google , and active sync exchange) into my nextcloud instance.

What I'd like to do is to automate the export of those calendars in my nextcloud. The sync doesn't have to be 2 way, device to nextcloud is enough (1 month past,2 month future).

I saw on the app the overtake option, but this one remove the device events, to put them on the nextcloud (and inside another calendar manage by the app on the device), and don't seems to sync the changes if for example I add a new event into my office 365 calendar(exchange). Also this option moves all the events (it seems), and not the selected period.

Is it possible with the app to create an automatic export of existing calendars on the device into the nextcloud instance?

Thanks
[Android Apps and Games] 920904:
Yes this is possible. As you have already mentioned the overtake option - I assume you did already configure the nextcloud calendars in CalendarSync? Because than we can adapt this configurations and build on top of it to get the synchronization between Google/Exchange and Nextcloud. If not, do you need assistance with the configuration of your nextcloud calendars?

Note, for this to work its necessary that the Google/Exchange calendars are already showing up on your mobile device (based on CalendarSync (Google) or on the sync adapters built into Android (Google/Exchange)). Based on your post I assume this is the case. Also, I would recommend to start with fresh empty calendars on Nextcloud as the first inital sync will not recognize duplicates if you have the same appointments on both sources (e.g., on the Exchange calendar and on the Nextcloud calendar) at the beginning of the configuration (later on duplicates are synced/prevented etc. correctly but the first sync between two calendars on different servers will copy all appointments from one to the other once).

Also, the app has multiple ways to configure such a synchronization (e.g., one way and two way is both possible). If you want to use two way please inform please tell me so now as its possible but requires to change 1-2 settings to get the handling of attendees right for Exchange/Google (these service send out invitations to appointment attendees, so if you have e.g., a bunch of appointments in nextcloud already with attendees Google/Exchange would send invitations to them - which can be prevented by setting the options on CalendarSync accordingly - or you start with the recommended fresh empty calendar on nextcloud which should address this as well).
[Android Apps and Games] kalhohan:
Hello, thanks for your reply, it seems that I managed to sync with google calendar, i'll try the exchange tomorow, and report here ;)

thanks again !
[Android Apps and Games] kalhohan:
Thing I don't understand, is that despite the fact of setting the sync period to -1/+2 month, the app synced (exported) events from last year . Is that normal?

Thanks
[Android Apps and Games] kalhohan:
Also, by testing the exchange calendar, all reccuring events from exchange are doubled in nextcloud, is there a workaround that? thanks by advance.
[Android Apps and Games] 920904:
Yes. The sync period feature is mainly a server feature. Hence, CalendarSync sends a desired sync period to the server when asking for appointments (i.e., in your case this would be the nextcloud server) Then the nextcloud server would restrict the amount of appointments reported back to CalendarSync based on this range. But the sync from the mobile device to the server is not affected by this.

Which kind of sync mode do you use? Are you using one way client to server?
[Android Apps and Games] 920904:
Its possible that nextcloud fails to correctly process the recurrence rules - exchange (and Outlook), has sometimes some rather unusual ways to define those. Commonly automatic workarounds are applied for these which try to transform them in rules with equal outcomes which are more compliant.

Hence:

1) Can you sync/download the calendar to another calendar app like thunderbird and check if the appointment there show up once or twice?

2) Can you export me one of the affected appointments from exchange/outlook as an .ics file and forward it to me? (e.g.. create a dummy affected appointment for this)

3) Have you already updated the calendar app on nextcloud to its latest version? It gets regular updates. => https://apps.nextcloud.com/apps/calendar

Regards
[Android Apps and Games] 920904:
new version 1.8:

appointment transparency is now imported

appointment classification/visibility is now imported

fixed a possible problem if no description is defined at the appointment

parsing .vcs files

message box display time based on displayed textlengh
[Android Apps and Games] camro:
thanks will test it this time more in detail ..

PLS: the name is called IcalParse1.6 (seems to be in AndroidManifest.xml, extract done via "Android Commander")

maybe you can change it next time there, too

EDIT:

i had an error, and send it via email to you, maybe this helps to find what the problem is, that i can't edit the imported event ...
[Android Apps and Games] camro:
Found the bug on importing :)

i tried again an import to local calendar again + i did a manually add new calendar item to local calendar (with default calendar appl)

then i looked into the values in DB..

i looked into the sqlite ...

-> com.android.providers.calendar (Kalenderspeicher)

-> calendar.db

-> Events

..

now compare the fields ...

A) = event from import via "icalparse"

B) = event from manually add an event

there i see strange things on my test import -> local"

field: EventTimeZone

on A => it is empty

on B => there is "Europe/Vienna"

then i edit the field and fill in also: "Europe/Vienna" , then test again to open it.

AND IT WORKS :) !

so the bug is, the EventTimezone must be fill in ...

EDIT:

NOW THE QUESTION IS: why does the timezone not fill in ?

maybe, because i haven'T set a default value ?

is it maybe possible to to on import:

1.) chech if TIMEZONE is inside the ICAL/VCS, and if not, then read the default value which is set on device and use this for import ?
[Android Apps and Games] 920904:
thx to some informations from camro i fixed a problem which seems to occure on some android devices with a very new firmware.

new version 1.9

fixed a problem with the parsing of transparency

fixed a problem that on some android versions the calendar crashed if von event timezone has been set
[Android Apps and Games] camro:
GREAT TOOL ! - a lot business users are waiting for it, i can't wait for the new features :)

hopefully soon :)

+) blind auto-import (only using API of icalparser - without starting it in windows)

+) blind semi-auto-import (only using API of icalparser - without starting it in windows + open new calendar item, fill in all values from ical file)

+) support for VCS (vCalendar)

(of course 2.2+ does support importing vcs files, but noone can select which calendar, here it is possible, and it's with icalParser a very professonal way to do this...)

after this is finished ... last wish, to install it easily via "Market", because i know a lot of business users, and the license process is not the best joice...but this is only my mind ...)

cu camel
[Android Apps and Games] 920904:
i'm currently working on some new features and refactoring my app so that the icalendar parse logic can be used as an external library so that it can be used in other projects. (e.g. i'm currently creating my own calendar software)

the parsing of vcs should work also in the 1.9 version of the app.

the next big thing on my todo list is the background import/parse by the use of a service. i think i will stark with the implementation this week.
[Android Apps and Games] 920904:
so a new version with a lot of improvements. i also started to implement background services for importing/parsing put there have been some problems so this feature is not included in this release

new version 2.0:

fixed a possible problem with filtering

fixed a filtering problem if the appointment did not have a rrule

speedup filtering calculations

refactored my app so that my icalendar parsing code is now an external libary and can be used in other projects

fixed a possible problem if no dtsart or dtend has been defined

fixed a pssobiel date parsing problem (Search for TZID)

fixed a problem if the used imezone is defined with an daylight timezone and a standardtimezone but the appointment occures before the standard timezone starts

improved handling of dates which have been defined as local time

fixed a database access problem which occured on appointments which have valarms defined

fixed a problem that the app has been closed on screen rotation

it is now possible to display important infomrations as notification e.g. if the app is parsing/importing calendar data as a background operation.
[Android Apps and Games] 920904:
a new version which fixes some problems and enabled the handling of attendees. also the utf-8 problem is fixed so that e.g. german umlauts will now correctly be displayed and imported.

new version 2.1:

dont display text language as a part of the location/description/title if the text language has been defined

improved parser recurrence id handlig

fixed a problem if a single icalendar expression has been split in multible lines it sometimes has not been parsed correctly.

parsing and importing from attendees

fixed utf-8 problem so that e.g. german umlauts work now correctly

other minor fixes

fixed a problem that valarm informations did not get parsed

fixed a configuration issue at the importandupdate issue

fixed some possible appointment update problems
[Android Apps and Games] 920904:
new version 2.2:

enhanced occurrence calc for filtering

completely handling altrep, language and value definitions at title, description, location, ressources and category

reducing memory consumtion of the application

parser supporting more icalender features. the parser is now fully supporting the icalendar 2.0 standard :)

fixed a possible parsing problem on missformed icalendar data

support caldav one way sync

support downloading of icalendar information with ftp

fixed a user information display problem

fixed typo