sms-backup-plus icon indicating copy to clipboard operation
sms-backup-plus copied to clipboard

Calls not appearing in calendar

Open mdimjasevic opened this issue 5 years ago • 5 comments

I am using a CalDAV calendar. Please let me know if this is not supported or if I should be using something else. Note this is not a Google calendar.

Expected behaviour

I would expect each made call to appear in a calendar of choice when the Calendar Sync feature of call backups is enabled.

Actual behaviour

There is not a single call recorded in the selected calendar.

Steps to reproduce the behaviour

  1. Go to: Advanced Settings -> Backup settings -> Call log settings. Enable Calendar sync.
  2. Provide a calendar to be used for call logs.
  3. Make a call.
  4. Make a backup with the application.
  5. Check the calendar and observe the calls converted to events.

Please specify the following:

  • Android version

Android 9 / LineageOS 15

  • Phone model / brand

Sony Xperia XA2

  • SMS Backup+ version installed

1.5.11 from F-Droid

  • Messaging app

The default Android Open Source Project messaging app

mdimjasevic avatar Dec 21 '19 19:12 mdimjasevic

The short answer is "probably not".

SMS Backup+ uses the Android calendar API, so if your device can be configured to connect to a non-Google calendar underneath that API (so that it's accessible to any calendar app that uses the Android API), then yes; otherwise no.

I note that Sony is, shall we say, not known for being encouraging of software diversity, so I would err on the side of guessing no.

kurahaupo avatar Dec 24 '19 01:12 kurahaupo

Just to clarify: I'm not the principal developer; for the definitive word wait for @jberkel .

Specifically it uses android.content.ContentResolver API with the android.provider.CalendarContract.Calendars.* and android.provider.CalendarContract.Events.* parameter definitions.

kurahaupo avatar Dec 24 '19 02:12 kurahaupo

You could consider running a GoogleCalendar/CalDAV sync separately from SMS Backup+; you might find https://www.maketecheasier.com/sync-caldav-carddav-android/ useful.

kurahaupo avatar Dec 24 '19 02:12 kurahaupo

The short answer is "probably not".

@kurahaupo , to what is this an answer?

Synchronising a CalDAV calendar to another device is, as far as I can tell, a separate topic (though I do use DAVx5 and OpenTasks, just like it is recommended in the link you provided in another comment).

I am not sure how to interpret your comments. Are these notes for whomever might be adding support for synchronizing call logs to a non-Google calendar?

mdimjasevic avatar Dec 24 '19 06:12 mdimjasevic

The short answer is "probably not".

to what is this an answer?

I was responding to:

Please let me know if this is not supported

My guess is that directly synchronizing to a CalDAV calendar isn't likely to be high on @jberkel 's list of development priorities, and I don't have the testing facilities to take on development work right now either.

However if someone else writes a patch, I'm sure it would be welcome.

kurahaupo avatar Jan 03 '20 05:01 kurahaupo