次のようにして、デフォルトの色が異なるイベントを挿入しようとしています:
public static void addReminder(Context context, String title,
String description) {
Intent intent = new Intent(Intent.ACTION_INSERT);
intent.setData(Events.CONTENT_URI);
intent.putExtra(Events.TITLE, title);
intent.putExtra(Events.DESCRIPTION, description);
intent.putExtra(Events.EVENT_COLOR, context.getResources().getColor(R.color.blue_belize_hole));
context.startActivity(intent);
}
ただし、新しい予定表ページは同じ赤色 (既定の色) で表示されます。どうすれば変更できますか?