arthurzaczek / kolab-android

Automatically exported from code.google.com/p/kolab-android
GNU General Public License v3.0
0 stars 0 forks source link

Not working on android 4.0 #79

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.try to sync --> ERROR
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by unai...@gmail.com on 30 Jan 2012 at 12:04

GoogleCodeExporter commented 9 years ago
Issue 81 has been merged into this issue.

Original comment by STrille...@googlemail.com on 16 Mar 2012 at 2:31

GoogleCodeExporter commented 9 years ago
We do NOT support Android 4.x so far (version 0.9)

Original comment by STrille...@googlemail.com on 16 Mar 2012 at 2:33

GoogleCodeExporter commented 9 years ago
Assuming the reporter has the same issue as me, here's a stack trace:

E/ACRA    (12070): Kolab Client for Android fatal error : no such column: 
displayName: , while compiling: SELECT name, displayName, _sync_account, 
_sync_account_type FROM Calendars
E/ACRA    (12070): android.database.sqlite.SQLiteException: no such column: 
displayName: , while compiling: SELECT name, displayName, _sync_account, 
_sync_account_type FROM Calendars
E/ACRA    (12070):  at 
android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:180)
E/ACRA    (12070):  at 
android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:136)
E/ACRA    (12070):  at 
android.content.ContentProviderProxy.query(ContentProviderNative.java:358)
E/ACRA    (12070):  at 
android.content.ContentResolver.query(ContentResolver.java:311)
E/ACRA    (12070):  at 
at.dasz.KolabDroid.Calendar.CalendarProvider.dumpAllCalendars(CalendarProvider.j
ava:372)
E/ACRA    (12070):  at 
at.dasz.KolabDroid.Calendar.CalendarProvider.setOrCreateKolabCalendar(CalendarPr
ovider.java:410)
E/ACRA    (12070):  at 
at.dasz.KolabDroid.Calendar.SyncCalendarHandler.<init>(SyncCalendarHandler.java:
71)
E/ACRA    (12070):  at 
at.dasz.KolabDroid.Sync.KolabCalendarSyncAdapter.getHandler(KolabCalendarSyncAda
pter.java:39)
E/ACRA    (12070):  at 
at.dasz.KolabDroid.Sync.KolabAbstractSyncAdapter.onPerformSync(KolabAbstractSync
Adapter.java:53)
E/ACRA    (12070):  at 
android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncA
dapter.java:247)

Original comment by onit...@gmail.com on 2 Jul 2012 at 5:33

GoogleCodeExporter commented 9 years ago
This is expected. Google changed in ICS (or earlier) the database schema. Now 
there is a calendar contract. David started work on a separate branch.

Original comment by arthur.z...@gmail.com on 4 Jul 2012 at 11:59

GoogleCodeExporter commented 9 years ago
I merged the Android 2.1 - 2.3 hacks into the ics version so it should work now 
on both platforms, 4.0 and 2.x. Also all changes from the master branch are in 
the ics branch. Someone with some time can test it and if it works we can move 
the ics branch onto the current master and continue work there.

Original comment by STrille...@googlemail.com on 24 Jul 2012 at 11:07

GoogleCodeExporter commented 9 years ago
Testing it now.

Had some trouble building at first (with ant), javamail and activation were not 
picked up. I just symlinked them into src/.

By the way: local.properties should not be checked into git. It even says so IN 
HUGE LETTERS inside the file. :)

Original comment by onit...@gmail.com on 24 Jul 2012 at 2:21

GoogleCodeExporter commented 9 years ago
There seems to be a problem with contact ordering.
When I go to People -> (Any contact) -> Menu -> Edit contact -> Edit Kolab 
Contact, a totally different vcard comes up than the one I selected.

Original comment by onit...@gmail.com on 24 Jul 2012 at 2:25

GoogleCodeExporter commented 9 years ago
I'm also testing with ics and noticed the same problem with contact editing.
Either stuck & FC or wrong vcard.
But when using "Contact Editor Free" (CEF) as editing tool then the correct 
vcard is selected.
CEF simply integrates the contact editing UI of kolab-android and thus serves 
as a work-around.

Original comment by martin.f...@gmail.com on 24 Jul 2012 at 9:54

GoogleCodeExporter commented 9 years ago
Testing it now, same modifications/symlinks mentioned in #6.

Synced both calendar and contacts - seems to work fine so far. Has not eaten 
all my data (yet), but it missed some calendar items - i'll try to investigate 
that further at some point, though I won't find the time in the next few 
weeks...

Original comment by pesch...@gmail.com on 1 Aug 2012 at 8:07

GoogleCodeExporter commented 9 years ago
Having Problems on Galaxy Nexus ... let me know how I can help testing!

Original comment by solar...@gmail.com on 7 Sep 2012 at 11:36

GoogleCodeExporter commented 9 years ago
Tried KolabDroid-0.9.5.apk on android 4.0 tablet (acer iconia). Contact sync 
works fine, concerning calendar sync, I have the same problem as described in 
Comment 3 - no such column: displayname.

Original comment by StCar...@googlemail.com on 14 Dec 2012 at 10:19

GoogleCodeExporter commented 9 years ago
Finally figured this out. It (calendar and contacts) all works for me (on 
CM10.2 - i.e. Android 4.3) provided I use the KolabDroid-0.9.5-ICS.apk from 
F-Droid.

As #11 post said the KolabDroid-0.9.5.apk is a no go for Calendar. Seems the 
work was done to fix this in a branch but has never been rolled up into the 
main code.

Hope this helps someone.

BTW using i9100T and TF201

Thanks to whoever fixed this. I use it all the time.

Original comment by melbcy...@gmail.com on 23 Oct 2013 at 3:26