On Monday, April 30, 2012 8:33:39 AM UTC+1, SamuelSpring wrote:
>
> I'm looking for any way to send/read a vCard via SMS in my app. I've 
> read a lot of articles, web-pages, forums etc. There is still not even 
> a clue how to do that. 
>
> Here is transaction. 
> 1. User selects some specific contact 
> 2. App generates a vCard for it 
> 3. User types a number to send vCard to 
> 4. App sends SMS with that vCard(?) 
> 5. Addressee recievs SMS with vCard and asked to browse contact/add to 
> contacts(?) 
>
> There are some posts on stackOverflow about it, but still nothing 
> useful... 
>
> I've found this nice library to work .vcf files(both write and read). 
> http://code.google.com/p/android-vcard/ 
>
> But is there any way to send it to another phone (and read properly of 
> course)? Just send this as a string maybe? 
>
> Please help! I'll be happy to get any clue, useful library or a proof 
> that it's impossible on Android. If there is no way via SMS can you 
> give me advice how to do that via MMS? 
>
> What's interesting, that there is a lot of apps with that 
> functionality, so I guess this is possible. 
>
> Thanks anyone who responds. Have a good day.


Nokia wrote the original specification for SMS messaging and published it. 
The original document was published at 
http://press.nokia.com/PR/200012/801035_5.html but unfortunately it's no 
longer there. I think it should be possible by splitting the vcard file 
across several SMS messages. It's possible that the feature was available 
in android release froyo but has been removed in subsequent releases (my 
handset, confirmed on gingerbread). 

It's definitely possible on anything from a $40 cellphone to an iphone 
specifically using SMS type messages. Messages of type MMS do work as the 
vcard file is delivered as an attachment.  It might be worth comparing the 
source code for mms.apk from gingerbread and froyo to see if anything has 
been changed. There's a lot of discussion in an issue reported to google - 
https://code.google.com/p/android/issues/detail?id=2412 but no response at 
all from google.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to