Problem in exporting contact from icloud to vcf file or vcard

i have a problem i want to import all my contacts in my android phone,
when i export contact from icloud to vcf file
or vcard its show the only name for some contacts not
mobile numbers in it or blank contacts with name only,
and i figure it out that it shows only contacts
with mobile no in it which caption i choos at the time of creating new contact mobile,
work or home but in some contacts i have my own caption like USA M or USA L
that contacts with caption of my own choice only shows name of contact not numbers in it in vcard,
please help me and solve this problem thanks
<Personal Information Edited by Host>

try {
ContactList contactList = null;
contactList = (ContactList) PIM.getInstance().openPIMList(PIM.CONTACT_LIST, PIM.READ_WRITE);
Enumeration items = contactList.items();
while(items.hasMoreElements()==true) {
PIMItem item;
item=(PIMItem) items.nextElement();
String[] data_formats = PIM.getInstance().supportedSerialFormats(PIM.CONTACT_LIST);
ByteArrayOutputStream baos = new ByteArrayOutputStream();
PIM pim = PIM.getInstance();
pim.toSerialFormat(item, baos, "UTF-8", data_formats[0]);
String vcard = new String(baos.toByteArray(), "UTF-8");
//send vcard to the given url
rec= processRequest(url) ;
contactList.close();
disCurrent();
} catch (Exception e) {
Alert a = new Alert("Exception",e, null, AlertType.INFO);
a.setTimeout(Alert.FOREVER);
Display.getDisplay(midlet).setCurrent(a, this);
}

Similar Messages

  • Cannot export contacts from iCloud

    Hi,
    can anyone help me please with exporting contacts to vCard?
    I found several tutorials how to (they are all the same), but I have to do that to make sure I am not lame
    I have selected all of my contacts and try to export it to vCard. But when I pushed the button nothing happens. Nothing was exported. I tried it Chrome, IE and Opera. Can anyone help me with this please?
    Thank you very much

    I have the same problem, I have been unable to find a solution.
    Do let me know if you find something that works.

  • Export contacts from Address Book to File Maker Pro

    How can I do this?
    The contacts from Address book are vcf format, File maker doesn't seem to read this. What should I do?
    Thanks a lot

    Try Address Book Exporter.
    http://www.gwenhiver.net/address-book-exporter.html

  • Export contacts from iPhone to iCloud

    I am going to export contacts from iPhone 5 to icloud, then sync to new iMac.
    How do I make sure that the contacts in iCloud are replaced by most current contacts / data in the iPhone.

    http://support.apple.com/kb/HT4859

  • How do I transfer contacts from iCloud to my phone?

    The Apple guy at the store moved all my contacts to iCloud and restarted my phone. Now all my contacts are gone from the phone but are still in iCloud. How do I get them back on the phone?

    Hi
    I just figured out how to restore contacts from icloud....
    Try this if you already have the contacts tab turned on in iclouds on ur phone settings...& it still have no contacts:
    Go to icloud.com - contacts
    bottom left hand corner is the gear icon which is settings - then select all
    This selects all your contacts then go to export as tv card or something like that
    A window pops up asking u to save - save onto ur computer where u can access easily
    go to ur email, compose new email & attach the saved contact list that u just saved onto ur computer
    on ur phone open mail, then open ur email with the attached contacts
    open the attached contacts - at the top it will say ' add all contacts' select that
    then it will pop up 'create as new contacts' or 'merge contacts'
    i selected create as new contacts as iphone 4 deleted all my contacts from my phone
    after a while it downloaded all my contacts back onto my phone which I double checked by entering the contacts app from my iphone
    so happy i got all my contacts back yay! i had over 400!!!

  • I'm trying to retrieve contacts from iCloud on my new samsung but it says that there is no back up data in my account

    I'm trying to retrieve contacts from iCloud on my new samsung but it says that there is no back up data in my account

    If your contacts are on icloud.com, download them as a vCard as explained here: iCloud: Export contact information as a vCard.  Then import them to your phone as explained in your manual.  If you aren't able to, you can create a Gmail account and import the vCard to Gmail as explained here: https://support.google.com/mail/answer/183711?hl=en, then add the Gmail account to your phone and sync your contacts from Gmail.
    If they aren't on icloud.com, I'm not sure how you would access them from a backup on a Samsung, even if there was a backup.

  • How can I import contacts from iCloud to CONTACTS in snow leopard? !

    After upgrade software on iPhone (with iCloud) contacts on MAC (Snow Leopard) are no mre sync with iPhone....
    As some time hase passed by and I did not notice it immediatly, now I have all updated contacts on iCloud and no moe on Mac;  how can I import contacts from iCloud to Mac contacts in snow leopard?
    Thanks for help !!!!
    Marco
    PS sorrry, previous question was a mistake

    At http://icloud.com go to the Contacts page. Select all your contacts, click the cogwheel icon at bottom left and select 'Export vCard'.
    Now open Address Book on your Mac. From the File menu choose 'Import' and select your exported file. Of course if it contains entries which are also on the Mac you will get duplicates.

  • How can I import contacts from iCloud to iCal in snow leopard?

    After upgrade software on iPhone (with iCloud) contacts of iCal on MAC (Snow Leopard) are no mre sync... with iPhone....
    As now I have all updated contacts on iCloud, how can I import contacts from iCloud to iCal in snow leopard?
    Thanks for help !!!!
    Marco

    Log in to icloud.com
    Select Contacts
    Click on the first contact
    Hold down shift and click on the last contact
    Click the gear box at the bottom of the screen
    Choose "Export vcard..."

  • HT4859 Restore Contacts from iCloud

    Can I restore the edited Contacts from iCloud into my iPhone that is not a new device?

    Here is what happened. Somehow, I synced my iPhone with all of my Google contacts, which added unnecessary garbage to my iPhone contacts. Meanwhile, it automatically backed it up a few times on my iPhone and to the iCloud. In other words, I forever lost my clean phone contact list. Somehow, I only have gmail email list on my iPhone contact list.. bizarre... So, I went to iCloud and cleaned up the contact list since it's a lot easier to do on iCloud than directly on the phone. I even exported the Contact as a vcard into external file. But I can't figure out how to restore my Contact list by importing - either from iCloud, or, from external file into my iPhone.
    Am I clear?

  • HT4859 Restoring contacts from Icloud

    I am trying to restore my contacts from Icloud and it keeps telling me that my phone is too full.  I have removed all apps and still says that there is a large amount of other stuff.  What is that and how do I get rid of it so I can restore my contacts.

    Here is what happened. Somehow, I synced my iPhone with all of my Google contacts, which added unnecessary garbage to my iPhone contacts. Meanwhile, it automatically backed it up a few times on my iPhone and to the iCloud. In other words, I forever lost my clean phone contact list. Somehow, I only have gmail email list on my iPhone contact list.. bizarre... So, I went to iCloud and cleaned up the contact list since it's a lot easier to do on iCloud than directly on the phone. I even exported the Contact as a vcard into external file. But I can't figure out how to restore my Contact list by importing - either from iCloud, or, from external file into my iPhone.
    Am I clear?

  • How do i sync my contacts from icloud to my new pc ?!

    my laptop is not working anymore so i bought a new one , my contacts on my iphone are synced , but only on icloud,
    anyway to sync these contacts from icloud or download them to my new laptop !?
    I have windows 7

    Why would you downgrade your OS? That is neither supported by Apple or recommended by them, and is no doubt the cause of the problems you are now having.
    To sync with iCloud requires iOS 5.
    Update to the OS that iCloud supports and you will be able to do what you want, exactly as Apple recommends.

  • HT4910 my iphone got damaged and i want my contacts from icloud backup onto my windows computer

    my iphone got damaged and i want my contacts from icloud backup onto my windows pc ,please help

    You can't access your iCloud backup from your PC.  You'll have to export your contacts from icloud as a vCard, as explained here: http://support.apple.com/kb/PH3606, which can be imported to Google then exported as a CSV file that can be imported to your PC.

  • Exporting contacts from webex connect?

    Does anyone know of a way to export contacts and groups from webex connect?
    I have way to connect with pidgin and get them into the pidgin contact file then put script together to make a CSV to import into IM&P for each user. I'm looking for a better way to do this with WebEx connect or the Cisco webex connect/jabber client directly if possible. On the Cisco webex connect admin web tool there is not a way to export contacts in mass either. I'm thinking of opening ticket with them to get a export of all users contacts hopefully.
    Sent from Cisco Technical Support iPhone App

    Replying to my own post... for the better of the communirty here. I reached out to WebEx and there is no way to export contacts from WebEx Connect and they don't have a way either currently. Left to third party clients and piecing your own solution (script) together currently and running it with each user manually.
    Would be nice if they would add Export/Import Contacts option to the Jabber client then when you imported contacts it pushed them to the server from client PC instead of an admin having to bulk import a bunch of user contacts.

  • How can I move contacts from iCloud to my iPhone

    I keep my contacts on my phone separate from on my Macbook.   Somehow (maybe after a factory reset) all my phone contacts are now in iCloud. 
    Is there an easy way to move my contacts from iCloud on my phone and also back to my Mac on my computer?  or do I have to do it manually?
    Thanks

    I just went to icloud-contacts- OFF.  It asks if I want to keep my contacts on the phone and I said yes.
    Thanks so much.  Saved me a ton of time.
    One thing I noticed though is for my name, it used to have an image of a person.  That is gone now on my phone but on my computer.  Is that only in iCloud?

  • HT2373 how can i import contacts from icloud

    I just bought an Macbook Air and need to import Contacts from icloud. What is the easiest way to do this.

    Go to System Preferences iCloud pane.  Sign In using your Apple ID.  Make sure Contacts is checked to the right, along with anything else you want to keep synced.
    Open Address Book, and your contacts from iCloud are already there.

Maybe you are looking for

  • The head phone jack on my brand new iPod touch 5th generation is not working properly

    The head phone jack on my brand new iPod touch 5th generation is not working properly. It has sound without the headphones in but when I plug them in it has no sound, it's low, or poppy. I had only used my apple supplied headphones once before and it

  • In javascript how to invoke save as dialog box ,which saves .pdf files only

    Through javascript i generated a save as dialog box. the main problem is , it is only saving .html and .doc files by default. how to restrict it to save only .pdf files. the code i used is function SaveFile(fname) document.execCommand('SaveAs', null,

  • Some class that cannot be resolved to a type

    Hello, I?m trying to use the[b] itext API for PDF creating from Java. In order to do this you must include the package .jar in your classpath and import com.logawie.text.* in your java file. All this steps are obviusly, and work correctly, in JAVA, b

  • Procedure with IN as 'TYPE'

    Hi All, I'm in Oracle 10gR2. I have the following procedure spec as    PROCEDURE SEND_MAIL_CLOB (       p_recipient_list   IN            ty_mail_recipient_tab,       p_subject          IN            VARCHAR2,       p_body             IN OUT NOCOPY CL

  • Installing SOA Suite 11g on an USB/external drive

    The intention is to have a portable SOA Suite 11g environment ... has anybody tried this? Are there any pitfalls that I should be cognizant of?