mori239 / websmsdroid

Automatically exported from code.google.com/p/websmsdroid
0 stars 0 forks source link

send and receive contacts as vcards #132

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hello Felix,

I have a wish you can programm in some boring nights, maybe. 

There are many contact-sender-apps in market. But the most of them don't
send the contacts via SMS as vcard. Other mobiles identify an "vcard-SMS"
and ask "Add to contacts?". And I didn't find an app on android that can
receive "vcard-SMS" and ask like other devices.

Is it hard to code that SMSDroid can send AND receive contacts as vcard?

Frank

Original issue reported on code.google.com by fw1977m...@gmail.com on 27 Mar 2010 at 3:34

GoogleCodeExporter commented 8 years ago
well. don't know :D

Original comment by felix.bechstein on 27 Mar 2010 at 7:04

GoogleCodeExporter commented 8 years ago
After Easter-vacation I will analyze the vcard specs. That's not hard. It's 
like "N:" and then the name and 
begins with something like "VCARD BEGIN". After a "field" is a character that I 
don't know yet (the ASCII-
code I mean). But that I will find out and then I will send you the specs.

It's not hard for SMSDroid to find out that it is a vcard. What I don't know 
how to write it in a contact. 
The other way (convert a contact in vcard) is imho also not hard.

Frank

Original comment by fw1977m...@gmail.com on 27 Mar 2010 at 8:41

GoogleCodeExporter commented 8 years ago
API5 introduced standard vcards as far as i can guess. sending a vcard would be 
a
matter of 10 lines of code.

http://developer.android.com/intl/de/reference/android/provider/ContactsContract
.Contacts.html#CONTENT_VCARD_URI

PS: API5 ~= android-2.0

Original comment by felix.bechstein on 28 Mar 2010 at 9:12

GoogleCodeExporter commented 8 years ago
http://www.google.de/codesearch/p?hl=de#7meLJPs2W4U/trunk/src/androidx/vcard/VCa
rd.java

just a note for me.

Original comment by felix.bechstein on 28 Mar 2010 at 10:14

GoogleCodeExporter commented 8 years ago

Original comment by felix.bechstein on 31 Mar 2010 at 2:23

GoogleCodeExporter commented 8 years ago
another note for me - implement intent:

act=android.intent.action.VIEW dat=content://contacts/people/#
act=android.intent.action.VIEW
dat=content://com.android.contacts/contacts/lookup/0n333F57/2

Original comment by felix.bechstein on 2 May 2010 at 11:45

GoogleCodeExporter commented 8 years ago
perhaps that can help for Android < 2.0

http://de.wikipedia.org/wiki/VCard
http://tools.ietf.org/html/rfc2426

But if cyanogon 5 is stable or SuperE is released I think I will root. And then 
it's
not longer interesting for me what happens in Android 1.6. ;)

Original comment by fw1977m...@gmail.com on 2 May 2010 at 7:09

GoogleCodeExporter commented 8 years ago

Original comment by felix.bechstein on 27 May 2010 at 6:11

GoogleCodeExporter commented 8 years ago
Solved my problem with a third party app. No longer interesting for me. 

Original comment by fw1977m...@gmail.com on 3 Nov 2010 at 2:14

GoogleCodeExporter commented 8 years ago
<quote>API5 introduced standard vcards as far as i can guess. sending a vcard 
would be a
matter of 10 lines of code.</quote>

for websms it was a 2-liner. next version will be able to send vcards directly 
from contacts application on android-2.0+

i'll implement importing vcards from sms with the next smsdroid version too.
should be done as a 10-liner for android-2.0+ ;)

Original comment by felix.bechstein on 1 Jan 2011 at 2:27

GoogleCodeExporter commented 8 years ago

Original comment by felix.bechstein on 1 Jan 2011 at 3:26

GoogleCodeExporter commented 8 years ago

Original comment by felix.bechstein on 4 Jan 2011 at 8:56

GoogleCodeExporter commented 8 years ago
Hello,

how does it work to send contacts as vcard via WebSMS? When choosing to send a 
contact as vcard the normal sms app is started and no choice is possible.

Jonas

Tested on Android 2.2 on HTC Desire, WebSMS 3.7.3

Original comment by jonasbra...@gmail.com on 1 Aug 2011 at 5:19

GoogleCodeExporter commented 8 years ago
may be htc's sense has a different behavior here :/ it's working exactly the 
same way, on stock android.

please try to clear the "default settings" in application preferences -> 
messaging 

Original comment by f...@ub0r.de on 2 Aug 2011 at 4:41