未在意向选择器中列出Android Outlook日历

未在意向选择器中列出Android Outlook日历,android,calendar,outlook,Android,Calendar,Outlook,我在GS6上安装了Outlook应用程序,并使用以下代码插入日历事件: Intent calendarIntent = new Intent(Intent.ACTION_INSERT, CalendarContract.Events.CONTENT_URI); calendarIntent.putExtra(CalendarContract.EXTRA_EVENT_BEGIN_TIME, cal.getTimeInMillis());

我在GS6上安装了Outlook应用程序,并使用以下代码插入日历事件:

            Intent calendarIntent = new Intent(Intent.ACTION_INSERT, CalendarContract.Events.CONTENT_URI);
            calendarIntent.putExtra(CalendarContract.EXTRA_EVENT_BEGIN_TIME, cal.getTimeInMillis());
            cal.add(Calendar.HOUR, 1);
            calendarIntent.putExtra(CalendarContract.EXTRA_EVENT_END_TIME, cal.getTimeInMillis());
            try {
                startActivity(Intent.createChooser(calendarIntent, "Add to Calendar"));
            } catch (Exception ex) {
                Log.w(_TAG, "could not create intent chooser: " + ex.toString());
            }

然而,没有出现选择器,而是启动了S Planner应用程序。如何阻止S Planner应用程序启动并显示带有S Planner和Outlook的选择器?这可能是Outlook未被识别为日历接收者的问题吗?

Outlook显然没有与您的
意图相匹配的
。查看Microsoft是否有用于Outlook日历活动的
Intent
结构的文档。感谢您的评论。我搜索了表明Outlook日历意图结构的文档,但没有找到任何文档。不过,我确实下载了谷歌日历应用程序,并验证了我现在得到的是带有S Planner和谷歌日历选项的意向选择器,只是没有Outlook选项。我假设将日历事件发布到Outlook日历当前不是一个选项。