Tizen Web Application Development for Beginners
Except as noted, this content - excluding the Code Examples - is licensed under Creative Commons Attribution 3.0 and all of the Code
Examples contained herein are licensed under BSD-3-Clause.
For details, see the Content License.
To update or delete a single instance of a recurring event, first get the list of event instances with
method of the
delete the applicable event instance, or update it by calling the
method with the
parameter set to
You can create and manage multiple calendar items simultaneously using the applicable batch
. The batch mode provides
faster, optimized processing of multiple calendar items.
When searching for calendar items, you can create attribute filters, attribute range filters, and
composite filters based on specific filter attributes. You can also sort the search results.
The batch mode does not provide progress information about operations. To ensure that you can view
the progress, break the batch operation down into multiple smaller batch operations. For example,
break down a batch of 100 update requests into 10 batch operations that update 10 records at a time.
Breaking down a batch operation also helps you avoid blocking other database operations, such as
add or remove.
Calendar item alarms
You can set an alarm for an important event (for example, a monthly meeting) or a specific task
(for example, paying a utility bill), by using the
interface. The alarm is triggered
at the specified time to remind the user of the event or task.
Calendar change notifications
You can keep the calendar in your application synchronized with user-specific calendars, such as
a calendar on a social networking Web site, by receiving notifications in your application when
calendar items have been changed.
method of the
interface registers an event listener,
which starts asynchronously when the
method returns the subscription
identifier for the listener. You can use the
interface to define listener
event handlers for receiving the notifications.
Every change made to the calendar database triggers an event for which you can define a
notification. For batch mode operations, each operation generates only a single event. A recurring
calendar event is treated as one event.
iCalendar 2.0 format conversions
You can convert the calendar items to the iCalendar format or back using the
object constructor and the
method of the
The conversion allows you to exchange calendar data between applications by sharing files with
extension. The iCalendar format is independent of the underlying transport protocol,
meaning that calendar items can be exchanged using a variety of protocols, including HTTP,
SMTP, and Infrared.
The iCalendar format can be used to store calendar item information and exchange calendar data
over the Internet.
The following example shows a sample event in the iCalendar format: