BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 07-20-2009, 05:05 PM   #1 (permalink)
New Member
 
Join Date: Jul 2009
Model: 9000
PIN: N/A
Carrier: ATT
Posts: 11
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Premade 'new contact' screen?

Please Login to Remove!

Is there a screen I can populate that already exists that is similar (if not exactly the same) as the "Add Contact" screen in the contacts section?

I'd like to prompt the user to add a contact, but prompt with a screen they are familiar with rather than creating my own screen. I want to prompt with one that is native to 'that' device.

Any ideas?
Offline  
Old 07-20-2009, 06:43 PM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

How about just using the Invoke API to launch the Contacts application?

That way they'd be using the exact same screen.
Offline  
Old 07-21-2009, 08:01 AM   #3 (permalink)
New Member
 
Join Date: Jul 2009
Model: 9000
PIN: N/A
Carrier: ATT
Posts: 11
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Can I pass the contact info to the screen? Can I use delegation to get a yeay or nay on if it was added or not?
Offline  
Old 07-21-2009, 08:56 AM   #4 (permalink)
New Member
 
Join Date: Jul 2009
Model: 9000
PIN: N/A
Carrier: ATT
Posts: 11
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

ok, i figured it out. Now the question is, how do I get a confirmation on if the contact was added or not? Or is that not possible. At least to know the screen went away
Offline  
Old 07-21-2009, 09:55 AM   #5 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

The Invoke call is blocking, so your next line of code will execute after the Contacts app is exited.
Offline  
Old 07-21-2009, 11:41 AM   #6 (permalink)
New Member
 
Join Date: Jul 2009
Model: 9000
PIN: N/A
Carrier: ATT
Posts: 11
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I understand that however is there a way to see if they saved the contact? Perhaps I'll have to count the number of contacts in the address book before the call, then then number after the call....
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





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