|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectandroid.syncml.pim.vcard.ContactStruct
public class ContactStruct
The parameter class of VCardCreator. This class standy by the person-contact in Android system, we must use this class instance as parameter to transmit to VCardCreator so that create vCard string.
| Nested Class Summary | |
|---|---|
static class |
ContactStruct.ContactMethod
|
static class |
ContactStruct.PhoneData
|
| Field Summary | |
|---|---|
String |
company
|
List<ContactStruct.ContactMethod> |
contactmethodList
Only for GET. |
String |
name
MUST exist |
String |
notes
maybe folding |
List<ContactStruct.PhoneData> |
phoneList
Only for GET. |
byte[] |
photoBytes
binary bytes of pic. |
String |
photoType
mime_type col of images table |
String |
title
maybe folding |
| Constructor Summary | |
|---|---|
ContactStruct()
|
|
| Method Summary | |
|---|---|
void |
addContactmethod(String kind,
String data,
String type,
String label)
Add a contactmethod info to contactmethodList. |
void |
addPhone(String data,
String type,
String label)
Add a phone info to phoneList. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public String company
public String name
public String notes
public String title
public byte[] photoBytes
public String photoType
public List<ContactStruct.PhoneData> phoneList
public List<ContactStruct.ContactMethod> contactmethodList
| Constructor Detail |
|---|
public ContactStruct()
| Method Detail |
|---|
public void addPhone(String data,
String type,
String label)
data - phone numbertype - type col of content://contacts/phoneslabel - lable col of content://contacts/phones
public void addContactmethod(String kind,
String data,
String type,
String label)
data - contact datatype - type col of content://contacts/contact_methods
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||