New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
nobylspoon
Old
#1  
Member - OP
Thanks Meter 29
Posts: 99
Join Date: Feb 2010
Location: Ashburn, VA
Default NFC Task Launcher - vCards

Does anyone know if there is a way to include email address on the NFC Task Launcher vCard?
 
krohnjw
Old
#2  
krohnjw's Avatar
Recognized Developer
Thanks Meter 468
Posts: 1,924
Join Date: Jul 2007
Location: Plainfield
Quote:
Originally Posted by nobylspoon View Post
Does anyone know if there is a way to include email address on the NFC Task Launcher vCard?
It's there if it's in the contact. It does have to be of type "Email" to be picked up in the query.
 
nobylspoon
Old
#3  
Member - OP
Thanks Meter 29
Posts: 99
Join Date: Feb 2010
Location: Ashburn, VA
Quote:
Originally Posted by krohnjw View Post
It's there if it's in the contact. It does have to be of type "Email" to be picked up in the query.
I was able to get it working this morning. For some reason, this didn't work when it was a phone contact (I tried twice from scratch). However, it worked without issue when it was a Google contact.
 
krohnjw
Old
#4  
krohnjw's Avatar
Recognized Developer
Thanks Meter 468
Posts: 1,924
Join Date: Jul 2007
Location: Plainfield
Quote:
Originally Posted by nobylspoon View Post
I was able to get it working this morning. For some reason, this didn't work when it was a phone contact (I tried twice from scratch). However, it worked without issue when it was a Google contact.
Interesting, the lookup is via the content resolver and referencing the contact ID. Perhaps it existed with multiple IDs and they were merged when it was made a Google contract.