Blackberry JAVA DEVELOPMENT ENVIRONMENT - - CRYPTOGRAPHIC SMART CARD DRIVER - DEVELOPMENT GUIDE Guía para resolver problemas Pagina 163

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 286
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 162
11
Using PIM applications
Using the calendar
Start the calendar from your application
Using the calendar
Using the address book
Using tasks
Task Steps
Open the calendar. >Invoke Invoke.invokeApplication(APP_TYPE_CALENDAR, CalendarArguments).
View or change an event. 1. Retrieve an Event from the list of events.
Event e = null;
EventList el = (EventList)PIM.getInstance().openPIMList(
PIM.EVENT_LIST, PIM.READ_WRITE );
Enumeration events = el.items();
e = (Event)events.nextElement();
2. Invoke Invoke.invokeApplication(APP_TYPE_CALENDAR, CalendarArguments)
using the
CalendarArguments object created using the ARG_VIEW_DEFAULT property and
the retrieved
Event.
Invoke.invokeApplication( Invoke.APP_TYPE_CALENDAR, new
CalendarArguments( CalendarArguments.ARG_VIEW_DEFAULT, e ) );
Manage exceptions >Check for a ControlledAccessException if your application invokes a BlackBerry®
application that you do not have permission to use or access.
Vista de pagina 162
1 2 ... 158 159 160 161 162 163 164 165 166 167 168 ... 285 286

Comentarios a estos manuales

Sin comentarios