user590849
user590849

Reputation: 11775

cannot understand the following code in android?

Intent intent = new Intent(Intent.ACTION_EDIT);
intent.setType("vnd.android.cursor.item/event");
intent.putExtra("beginTime", cal.getTimeInMillis());
intent.putExtra("allDay", false);
intent.putExtra("rrule", "FREQ=DAILY");
intent.putExtra("endTime", cal.getTimeInMillis()+60*60*1000);
intent.putExtra("title", "A Test Event from android app");

The above is the code i am reffering to for the following questions:

thank you in advance.

Upvotes: 1

Views: 513

Answers (1)

Olegas
Olegas

Reputation: 10517

As i can see, this code is related to calendar event creation.

rrule is a repetition rule, see http://www.ietf.org/rfc/rfc2445.txt

EDIT It seems like there are no documentation on that and a only one way is to inspect platform code.

Upvotes: 4

Related Questions