我想从 Android 应用程序打开日历应用程序。当我在线搜索时,我得到的只是使用意图创建新事件。我可以找到打开联系人和图库等的意图。
是否可以将日历启动到特定的一周或一天?如果可能的话,有人可以帮我吗?
Intent intent = new Intent(Intent.ACTION_EDIT);
intent.setType("vnd.android.cursor.item/event");
intent.putExtra("title", "Some title");
intent.putExtra("description", "Some description");
intent.putExtra("beginTime", eventStartInMillis);
intent.putExtra("endTime", eventEndInMillis);
startActivity(intent);
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)