Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

New Developer
Posts: 72
Registered: ‎08-28-2008
My Device: Not Specified

Re: Invoke.invokeApplication() issue ???

Hi MSohm,


this issue is not due to using the Invoke class from within the dialogClosed method because i am able to invoke native apps from within dialogClosed() with following statements


Invoke.invokeApplication(Invoke.APP_TYPE_ADDRESSBOOK, new AddressBookArguments( )); and
Invoke.invokeApplication(Invoke.APP_TYPE_MEMOPAD, new MemoArguments( ));


but when i use parameterized ApplicationArguments to invoke native application then native app is not invoked with below statement


Invoke.invokeApplication(Invoke.APP_TYPE_ADDRESSBOOK, new AddressBookArguments( AddressBookArguments.ARG_NEW , blackBerryContact));


please help me on this issue. 


Vijay Saini.
If your problem was get solved then please mark the thread as "Accepted solution" and kudos - your wish
Posts: 68
Registered: ‎07-21-2008
My Device: Not Specified

Re: Invoke.invokeApplication() issue ???

To make blackberrycontact which API's you are using? use the PIM api for the same and try.....
BlackBerry Development Advisor
Posts: 15,876
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Invoke.invokeApplication() issue ???

I've tried your sample invokation line from within a DialogCloseListener and wasn't able to reproduce the issue.  Can you provide a larger code sample?
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.