Android calendar BroadcastReceiver host : com.android.calendar vs com.google.android.calendar
Asked Answered
L

1

6

After looking around a bit, I've noticed there are 2 possible hosts for the Android calendar.
The first is com.android.calendar and the other is com.google.android.calendar.
I'm pretty sure it reflects the new standalone calendar Google released last year, but other than that I'm clueless.
What is the difference? When should I use the first and when the other?

Latish answered 19/3, 2014 at 17:16 Comment(1)
AFAIK, Android doesn't have a notion of host. What do you mean by there are 2 possible hosts?Maccabean
M
2
  • com.android.calendar is the AOSP calendar.
  • com.google.android.calendar is Google calendar.

If you want to interact with the phone calendar, you are interested by the the content provider from former.

Maccabean answered 17/8, 2014 at 19:41 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.