View Single Post
Old 11-12-2008, 11:42 AM   #1 (permalink)
MikaŽl Donini
Knows Where the Search Button Is
Join Date: Sep 2008
Model: 7100T
Carrier: none
Posts: 32
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default invokeApplication in a JDE 4.2.1 environment

Please Login to Remove!

Dear Forum,

I have a problem using Invoke.invokeApplication in an application in a JDE 4.2.1 environment. My invocation aims at opening a new calendar item.

The following simple code is executed:

import net.rim.blackberry.api.invoke.CalendarArguments;
import net.rim.blackberry.api.invoke.Invoke;
import net.rim.device.api.ui.UiApplication;

public class OpenNewCalendarItem extends UiApplication {
	public static void main(String[] args)	{
		new OpenNewCalendarItem().enterEventDispatcher();

	public OpenNewCalendarItem() {
		Invoke.invokeApplication( Invoke.APP_TYPE_CALENDAR, new CalendarArguments( CalendarArguments.ARG_NEW ));
The new agenda item is correctly opened BUT after this opening, it is impossible for the end-user to exit the calendar application: it seems that the device (and simulator) has crashed.

Is it a defect? Is there a workaround?

Thank you again for your precious support,

MikaŽl Donini.
Offline   Reply With Quote