Welcome!

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

Reply
Developer
Posts: 166
Registered: ‎01-14-2009
My Device: Curve 8330
Accepted Solution

Invoke Addressbook doesn't ask to save

Hello,

I'm invoking the Addressbook application with a contact already filled. The problem is that if the user doesn't modify anything and juste hit the Back button, the application doesn't ask him to save the concats "Changes made!". Is there a way to force the address to shows the "Changes made!" popup when invoked with a contact?

 

I'm don't call commit on the new contact.

AddressBookArguments args = new AddressBookArguments(AddressBookArguments.ARG_NEW, contact);
		Invoke.invokeApplication(Invoke.APP_TYPE_ADDRESSBOOK, args);

 

 

 

I'm using OS 4.5 with a Curve 8330.

Thank you, have a nice day.

--
Samuel D.
Highlighted
BlackBerry Development Advisor
Posts: 15,723
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Invoke Addressbook doesn't ask to save

You could use the EventInjector API to insert a space or some kind of change on the contact screen.  This would cause the changes made dialog to appear.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Developer
Posts: 166
Registered: ‎01-14-2009
My Device: Curve 8330

Re: Invoke Addressbook doesn't ask to save

Hello,

that worked just fine.

Thank you, have a nice day.

--
Samuel D.