我想从我的应用程序打开日历并将参数"日期"传递给此日历.
此日历将显示日期的相应日期页面.
我调查了日历的源代码,但没有找到使用的方法.
public static void openCalendarApp(Context context)
{
Intent intent = context.getPackageManager().getLaunchIntentForPackage("com.android.calendar");
context.startActivity(intent);
}
Run Code Online (Sandbox Code Playgroud)