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 ?
|