08-15-2010 03:15 PM
Have you looked at the javadocs yet?
See the Invoke class and ApplicationArguments.
Specifically, CalendarArguments allows you to invoke the calendar to open on a specific date.
i've had a look at that before and i can only find arguments to change the calendar view.
08-15-2010 03:56 PM
ok i think i got it:
Invoke.invokeApplication(Invoke.APP_TYPE_CALENDAR, new CalendarArguments(CalendarArguments.ARG_VIEW_DEFAU
LT)); Calendar.getInstance().setTime(new Date(900000));
the only problem is that i have the calendar currently open when calling the above code, so i don't see any change. how do i fix this?
08-15-2010 04:08 PM
Try this argument type, and set the date BEFORE calling invoke (not after)
arg- When set to one of ARG_VIEW_*, opens the calendar in the specified view on the specified date. When set to ARG_NEW, creates a new calendar appointment on the specified date.
date- A Calendar object representing the date to open the Calendar to