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 07: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 01:21 PM
Dialog with fields igfarm Developer Forum 2 10-15-2004 01:32 PM

Bird Dog Blackberry Whiskey Promotional Pencil & Note Pad White Tail Whiskey Box
$9.99
Bird Dog Blackberry Whiskey Promotional Pencil & Note Pad White Tail Whiskey Box pictureBLACKBERRY #PSM04A-050RIMC ADAPTER; In:100-240V 50-60Hz 11-17A;Out:5V 700mA
$10.99
BLACKBERRY #PSM04A-050RIMC ADAPTER;  In:100-240V 50-60Hz 11-17A;Out:5V 700mA pictureBLACKBERRY #RIM-C-0004ADUUS001 ADAPTER; In:100-240V 50-60Hz 11-17A;Out:5V 750mA
$10.99
BLACKBERRY #RIM-C-0004ADUUS001 ADAPTER;  In:100-240V 50-60Hz 11-17A;Out:5V 750mA pictureZebra ZQ520 Bluetooth IOS, Android, WM, BlackBerry Compatible - ZQ52-AUE0000-00
$595.0
Zebra ZQ520 Bluetooth IOS, Android, WM, BlackBerry Compatible - ZQ52-AUE0000-00 picturePortable Power Bank 2600mAh For Blackberry Priv Curve Leap Classic Z3 Z30 9720
$14.99
Portable Power Bank 2600mAh For Blackberry Priv Curve Leap Classic Z3 Z30 9720 picture






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