1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- 3 /** 4 * Copyright (c) 2011, The Android Open Source Project 5 * 6 * Licensed under the Apache License, Version 2.0 (the "License"); 7 * you may not use this file except in compliance with the License. 8 * You may obtain a copy of the License at 9 * 10 * http://www.apache.org/licenses/LICENSE-2.0 11 * 12 * Unless required by applicable law or agreed to in writing, software 13 * distributed under the License is distributed on an "AS IS" BASIS, 14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 * See the License for the specific language governing permissions and 16 * limitations under the License. 17 */ 18 --> 19 20 <!-- 21 contacts.xml to build "fallback account type" equivalent. 22 This is directly used in ExternalAccountTypeTest to test the parser. There's no sync adapter 23 that actually defined with this definition. 24 --> 25 26 <ContactsAccountType 27 xmlns:android="http://schemas.android.com/apk/res/android" 28 > 29 <EditSchema 30 > 31 <DataKind kind="name" 32 maxOccurs="1" 33 supportsPrefix="true" 34 supportsMiddleName="true" 35 supportsSuffix="true" 36 supportsPhoneticFamilyName="true" 37 supportsPhoneticMiddleName="true" 38 supportsPhoneticGivenName="true" 39 > 40 </DataKind> 41 <DataKind kind="photo" maxOccurs="1" /> 42 <DataKind kind="phone" > 43 <Type type="mobile" /> 44 <Type type="home" /> 45 <Type type="work" /> 46 <Type type="fax_work" /> 47 <Type type="fax_home" /> 48 <Type type="pager" /> 49 <Type type="other" /> 50 <Type type="custom"/> 51 <Type type="callback" /> 52 <Type type="car" /> 53 <Type type="company_main" /> 54 <Type type="isdn" /> 55 <Type type="main" /> 56 <Type type="other_fax" /> 57 <Type type="radio" /> 58 <Type type="telex" /> 59 <Type type="tty_tdd" /> 60 <Type type="work_mobile"/> 61 <Type type="work_pager" /> 62 <Type type="assistant" /> 63 <Type type="mms" /> 64 </DataKind> 65 <DataKind kind="email" > 66 <Type type="home" /> 67 <Type type="work" /> 68 <Type type="other" /> 69 <Type type="mobile" /> 70 <Type type="custom" /> 71 </DataKind> 72 <DataKind kind="nickname" maxOccurs="1" /> 73 <DataKind kind="im" > 74 <Type type="aim" /> 75 <Type type="msn" /> 76 <Type type="yahoo" /> 77 <Type type="skype" /> 78 <Type type="qq" /> 79 <Type type="google_talk" /> 80 <Type type="icq" /> 81 <Type type="jabber" /> 82 <Type type="custom" /> 83 </DataKind> 84 <DataKind kind="postal" needsStructured="false" > 85 <Type type="home" /> 86 <Type type="work" /> 87 <Type type="other" /> 88 <Type type="custom" /> 89 </DataKind> 90 <DataKind kind="organization" maxOccurs="1" /> 91 <DataKind kind="website" /> 92 <DataKind kind="sip_address" maxOccurs="1" /> 93 <DataKind kind="note" maxOccurs="1" /> 94 <DataKind kind="group_membership" maxOccurs="1" /> 95 </EditSchema> 96 </ContactsAccountType> 97