Home | History | Annotate | Download | only in xml
      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             supportsDisplayName="true"
     34             supportsPrefix="true"
     35             supportsMiddleName="true"
     36             supportsSuffix="true"
     37             supportsPhoneticFamilyName="true"
     38             supportsPhoneticMiddleName="true"
     39             supportsPhoneticGivenName="true"
     40             >
     41         </DataKind>
     42         <DataKind kind="photo" maxOccurs="1" />
     43         <DataKind kind="phone" >
     44             <Type type="mobile" />
     45             <Type type="home" />
     46             <Type type="work" />
     47             <Type type="fax_work" />
     48             <Type type="fax_home" />
     49             <Type type="pager" />
     50             <Type type="other" />
     51             <Type type="custom"/>
     52             <Type type="callback" />
     53             <Type type="car" />
     54             <Type type="company_main" />
     55             <Type type="isdn" />
     56             <Type type="main" />
     57             <Type type="other_fax" />
     58             <Type type="radio" />
     59             <Type type="telex" />
     60             <Type type="tty_tdd" />
     61             <Type type="work_mobile"/>
     62             <Type type="work_pager" />
     63             <Type type="assistant" />
     64             <Type type="mms" />
     65         </DataKind>
     66         <DataKind kind="email" >
     67             <Type type="home" />
     68             <Type type="work" />
     69             <Type type="other" />
     70             <Type type="mobile" />
     71             <Type type="custom" />
     72         </DataKind>
     73         <DataKind kind="nickname" maxOccurs="1" />
     74         <DataKind kind="im" >
     75             <Type type="aim" />
     76             <Type type="msn" />
     77             <Type type="yahoo" />
     78             <Type type="skype" />
     79             <Type type="qq" />
     80             <Type type="google_talk" />
     81             <Type type="icq" />
     82             <Type type="jabber" />
     83             <Type type="custom" />
     84         </DataKind>
     85         <DataKind kind="postal" needsStructured="false" >
     86             <Type type="home" />
     87             <Type type="work" />
     88             <Type type="other" />
     89             <Type type="custom" />
     90         </DataKind>
     91         <DataKind kind="organization" maxOccurs="1" />
     92         <DataKind kind="website" />
     93         <DataKind kind="sip_address" maxOccurs="1" />
     94         <DataKind kind="note" maxOccurs="1" />
     95         <DataKind kind="group_membership" maxOccurs="1" />
     96     </EditSchema>
     97 </ContactsAccountType>
     98