BlackBerryForums.com : Your Number One BlackBerry Community  
   

»Sponsored Links



Reply
 
LinkBack Thread Tools
  (#1 (permalink)) Old
arunk Offline
Talking BlackBerry Encyclopedia
 
arunk's Avatar
 
Posts: 219
Join Date: Mar 2008
Model: 8310
PIN: N/A
Carrier: Airtel
Question Import from contacts - 06-12-2008, 06:59 AM

I want to import name and numbers from contacts.

I have an exclude list in my application, which contains numbers and names..

There is an option to import to this list from contacts...

User should be able to import multiple contacts at a time...

How can I implement this?
   
Reply With Quote
Sponsored Links
Please Login or Register to Remove these Advertisements!

  (#2 (permalink)) Old
arunk Offline
Talking BlackBerry Encyclopedia
 
arunk's Avatar
 
Posts: 219
Join Date: Mar 2008
Model: 8310
PIN: N/A
Carrier: Airtel
Question 06-24-2008, 04:08 AM

Replies?
   
Reply With Quote
  (#3 (permalink)) Old
arunk Offline
Talking BlackBerry Encyclopedia
 
arunk's Avatar
 
Posts: 219
Join Date: Mar 2008
Model: 8310
PIN: N/A
Carrier: Airtel
Question 07-02-2008, 05:49 AM

I want to display the entries in contacts as a list(of check boxes with name) and user should be able to select them from the list and I want to add the name and number to my Exclude list..

Please give me some ideas....

Thanks....
   
Reply With Quote
  (#4 (permalink)) Old
simon.hain Offline
CrackBerry Addict
 
Posts: 708
Join Date: Apr 2005
Location: hamburg, germany
Model: 8700
Carrier: o2
Default 07-02-2008, 07:52 AM

Code:
Enumeration contacts = list.items();
with BlackBerryContactList list


java developer, Devinto, hamburg/germany
   
Reply With Quote
  (#5 (permalink)) Old
arunk Offline
Talking BlackBerry Encyclopedia
 
arunk's Avatar
 
Posts: 219
Join Date: Mar 2008
Model: 8310
PIN: N/A
Carrier: Airtel
Question 07-03-2008, 01:06 AM

Is it possible to add Checkbox to ListField.?

When I get all contact, I can display a list field with Firstname and Last name.

Actually I want to use checkboxes sothat the users can select multiple and import them together...
   
Reply With Quote
  (#6 (permalink)) Old
simon.hain Offline
CrackBerry Addict
 
Posts: 708
Join Date: Apr 2005
Location: hamburg, germany
Model: 8700
Carrier: o2
Default 07-03-2008, 02:39 AM

you will have to overwrite drawlistrow to include a checkbox into the listfield. a bit advanced of a topic.


java developer, Devinto, hamburg/germany
   
Reply With Quote
  (#7 (permalink)) Old
arunk Offline
Talking BlackBerry Encyclopedia
 
arunk's Avatar
 
Posts: 219
Join Date: Mar 2008
Model: 8310
PIN: N/A
Carrier: Airtel
Question 07-03-2008, 03:38 AM

Thanks Simon...

Suppose I want to display Home and work number as check box for all users (if Its present) and depends on which all are checked I want to get the Numbers.

I have some confusion in getting the index of check boxes.

Is it possible to Use an array of Checkboxes for that purpose...?
   
Reply With Quote
  (#8 (permalink)) Old
arunk Offline
Talking BlackBerry Encyclopedia
 
arunk's Avatar
 
Posts: 219
Join Date: Mar 2008
Model: 8310
PIN: N/A
Carrier: Airtel
Question 07-03-2008, 08:58 AM

Simon I am creating a class which extends CheckboxField

Can you please tell me how can I create an array of that and Iterate through
that....
   
Reply With Quote
Reply


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-2008 BlackBerryNews.com, BlackBerryFAQ.com, BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of Research In Motion Limited.
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.1