Blackberry JAVA DEVELOPMENT ENVIRONMENT - - CRYPTOGRAPHIC SMART CARD DRIVER - DEVELOPMENT GUIDE Guida alla Risoluzione dei Problemi Pagina 163

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 286
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la 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.
Vedere la pagina 162
1 2 ... 158 159 160 161 162 163 164 165 166 167 168 ... 285 286

Commenti su questo manuale

Nessun commento