Import contacts from vCards from received messages
It would be nice to automagically be able to import a contact when someone sends you contact information in the "vCard" format. Right now if someone forwards me contact information for another person, typically iOS users, I have to manually add that information into my phonebook.
Is this on Android or iOS?
This is on Android. I wasn't aware that TS had been released for iOS yet.
Didnt' mean to imply that it was just that some have been positing on the wrong forum or issues,etc. So an iOS user send you their contact details via vCard and are you suggesting that TextSecure should add that info to your global contact list/phone book? Thanks for clarifying.
There are awful lot of vCard import apps for Android. Have you tried any of them?
I'd think it'd be better to use them than try to have TextSecure know about this.
Ideally you'd like to just have some sort of handler that worked across all android applications but in the case of TextSecure I'm guessing if that happened you'd be leaking information all over the place. How do the import apps work? If people send me a contact card via SMS I'd like to be able to handle it some how.
@cbrulak: exactly.
They work as just an app that knows how to read the vCard format, convert into an contact and add it to your address book. Typically they do this by registering to handle the .vcf extention. I'd guess that if you're sending vCards over SMS you're actually using MMS and that the file name would come along. I've never seen someone do that so I'm not sure how TextSecure handles it, but if you can click on the file to open it, it should be trying to find the appropriately registered app, which could be one of these apps.
This is an example of one such app: https://play.google.com/store/apps/details?id=vcard.io
I can't say I've tried it so don't consider that a recommendation, but I've used similar apps for deal with .ics files, which have similar issues on Android.
FWIW I agree with Ben: dealing with vCard data/formats,etc is not inherently TextSecure's job.
On Thursday, 9 January, 2014 at 2:40 PM, Ben Reser wrote:
There are awful lot of vCard import apps for Android. Have you tried any of them? I'd think it'd be better to use them than try to have TextSecure know about this.
— Reply to this email directly or view it on GitHub (https://github.com/WhisperSystems/TextSecure/issues/535#issuecomment-31968005).
I see what you guys are saying but I still do not like the answer :) I've only had to deal with this 2-3 times but I shouldn't have to install a niche app that I'll run maybe 5 times a year to deal with a function and feature that is inherent and fundamental in every messaging and telephony app, contact management!
@breser when someone sends me contact data from an iPhone the data comes over as structured ASCII text, it isn't a file of any sort. I wasn't aware you could send anything other than text, images or video over SMS/MMS?
Honestly, I really think Google should just add ics and vcf support to Android, but I suspect they won't because they want people to use Google services. Most phones/devices disallow sending files other than images or video but there's really nothing stopping an app from doing it anyway. I was making the assumption that iOS was attaching the vcf files as files. Seems pretty ridiculous to me to just start shoving it into the body of the text.
+1
I just received a VCard on TS and it looks just like a text message with BEGIN:VCARD [content...] END:VCARD.
This should just be an icon that I can tap to select an external handler app (and display the usual warning about data being decrypted if launched, etc.).
Agreed, that is how it works on the other SMS clients for Android and other platforms. The whole thing about having to have some other app to handle that is lame.
On Wed, Jul 16, 2014 at 8:07 AM, Moritz Moeller [email protected] wrote:
+1 I just received a VCard on TS and it looks just like a text message with BEGIN:VCARD [content...] END:VCARD. This should just be an icon that I can tap to select an external handler app (and display the usual warning about data being decrypted if launched, etc.).
— Reply to this email directly or view it on GitHub https://github.com/WhisperSystems/TextSecure/issues/535#issuecomment-49162205 .
I also received a vCard on TS on Android recently from another Android that also has TS installed. It was transfered via MMS and I received it as text, not as a file:
BEGIN:VCARD
VERSION:2.1
N:Thelastname;Theforename;;;
FN:Theforename Thelastname
TEL;CELL:012-345-67890
END:VCARD
That was the second or so vCard I received over a year. I tapped on the phone number (opens the Android phone-call-app showing that phone number) and typed the name manually - and I was done.
All in all for me a nice-to-have-feature, that would require the additional permission WRITE_CONTACTS (as far as I know). I would like it, but I do not miss it.
My point is, all the other SMS apps I've used handle this natively, so I think TS should too.
On Thu, Jul 17, 2014 at 2:38 PM, dlmueller [email protected] wrote:
I also received a vCard on TS on Android recently from another Android that also has TS installed. It was transfered via MMS and I received it as text, not as a file:
BEGIN:VCARD VERSION:2.1 N:Thelastname;Theforename;;; FN:Theforename Thelastname TEL;CELL:012-345-67890 END:VCARD
That was the second or so vCard I received over a year. I tapped on the phone number (opens the Android phone-call-app showing that phone number) and typed the name manually - and I was done.
All in all for me a nice-to-have-feature, that would require the additional permission WRITE_CONTACTS (as far as I know). I would like it, but I do not miss it.
— Reply to this email directly or view it on GitHub https://github.com/WhisperSystems/TextSecure/issues/535#issuecomment-49353693 .
Today I received a VCARD as an MMS, and yes TextSecure just displayed it as a long text message. How long? Well, it apparently contained a contact photo rendered as almost 200 kB of base64 text.
TextSecure's interface is a little laggy when dealing with a message that long, so yes, it would be nice to recognise VCARDs as something other than an oddly-formatted text message.
I definitely join that opinion... Textsecure should not be an app we hide because it's kind of a nerdy thing. When I get a contact from an iPhone user and have to copy all the infos by myself i have some trouble to make the promotion of Textsecure.
Expected behaviour:
- Replace the text bubble with a button displaying the name of that contact.
- Create a .vcf file from that data and let android deal with it (it actually can, tested with gmail app, it just ask the contact app to add it.)
- Allow Textsecure to open .vcf file (in contact app, tap share button, textsecure isn't listed. Should we also copy all the field ?)
Issue to merge:
https://github.com/WhisperSystems/TextSecure/issues/499
+1
I'm not sure about other attachment types, but vcards is one type that I periodically receive. It's nice that the default texting app can hand it off to the contacts app for importing it.
I am really lost and confused. I got a text message, when I clicked on the number that sent it all I got was a box which I'm pretty sure represented a attachment. When I clicked it the first time it said something doing something to 200 something. I didn't really see it. Then it thru up menu with options of which account I wanted to add it. Of course I went out of it. I have a notification in pull down menu that says finished import vCard. I'm not sure if I should open that or not and if I do what do I do with it. Please somebody help me. Thanks to anybody who does cause I don't know. I know my phone asks crazy and using 3 times data then it used too. Please help me
https://android.googlesource.com/platform/frameworks/opt/vcard/+/master