If you add an <intent-filter> for the ACTION_SEND Intent with the text/x-vcard MIME-type, your app will appear in the Menu > Share list when viewing a contact.
Then you can use ContentResolver.openAssetFileDescriptor() on the getData() Uri provided through that Intent to open and read that contact pre-formatted as a vCard. :) j On Fri, Nov 6, 2009 at 4:12 AM, Safy <[email protected]> wrote: > Hi, > > How can I read all the contacts from Phone book and covert it in > VCard format in Android OS 2.0 > > > > > Thanks... > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Jeff Sharkey [email protected] -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

