BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 07-19-2011, 12:55 AM   #1 (permalink)
New Member
 
Join Date: Jul 2011
Model: 9800
PIN: N/A
Carrier: mtc
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default How to display "Add contact" dialog with non-empty fields?

Please Login to Remove!

On BlackBerry I want to display an "Add contact" dialog with some fields populated.

I supposed the following code would work:
PHP Code:
    BlackBerryContact contact = (BlackBerryContactmContactList.createContact();
    
populateSomeFields (contact);
    
AddressBookArguments args = new AddressBookArguments(
            
AddressBookArguments.ARG_NEWcontact);
    
Invoke.invokeApplication(Invoke.APP_TYPE_ADDRESSBOOKargs); 
but no way.

If I Invoke with ARG_NEW a completely EMPTY fields are displayed. If I Invoke with ARG_COMPOSE an IllegalArgumentException is thrown.

Is there any way I can display "Add contact" with some fields filled in?
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads for: How to display "Add contact" dialog with non-empty fields?
Thread Thread Starter Forum Replies Last Post
empty fields causing sync problem merlin7777777 General BlackBerry Discussion 2 02-05-2010 06:44 AM
MEP Dialog will not display - Fix? Ultan General 9000 Series Discussion - Bold 2 08-21-2009 11:57 AM
Display Dialog on startup jrebeiro Developer Forum 0 09-13-2008 09:48 PM
Simplest way to display a dialog box cjiang Developer Forum 2 12-14-2006 12:21 PM
Dialog with fields igfarm Developer Forum 2 10-15-2004 01:32 PM





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.