Error Inserting Event into Calendar with Intent

后端 未结 4 1617
离开以前
离开以前 2021-01-20 19:14

I\'m trying to insert events to the calendar from a fragment, but I keep getting an error that no activity is found to handle Intent.

Here\'s the error

4条回答
  •  星月不相逢
    2021-01-20 20:12

    if you already know the information which it looks like you do you do not need to launch the calendar app, simply just insert the event into the database see adding events

    Also looking at the docs APP_CALENDAR is only used with ACTION_MAIN not ACTION_INSERT

提交回复
热议问题