BlackBerry Forums Support Community

Closed Thread
LinkBack Thread Tools
Old 09-30-2008, 05:06 AM   #1 (permalink)
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 JAVA : wait the completion of Invoke.invokeApplication

Please Login to Remove!

Hi All,

Do you know how I can wait the end (or the completion) of Invoke.invokeApplication?

If I execute the following 2 lines of code:

Invoke.invokeApplication( Invoke.APP_TYPE_CALENDAR, new CalendarArguments( CalendarArguments.ARG_NEW));
Thread.sleep (10000);
then the sleep is executed before the calendar application is displayed.
Do you know why? Any ideas?

Thanks a lot in advance.

MikaŽl Donini, Arkadin France.

Copyright © 2004-2016
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.