Home | History | Annotate | Download | only in LoaderApp
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3 /*
      4  * Copyright (C) 2010, 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 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
     21     package="com.android.loaderapp"
     22 >
     23 
     24     <uses-permission android:name="android.permission.READ_CONTACTS" />
     25     <uses-permission android:name="android.permission.WRITE_CONTACTS" />
     26 
     27     <application
     28         android:label="@string/app_name"
     29         android:icon="@drawable/ic_launcher_contacts"
     30     >
     31         <!-- By default it launches the phone mode -->
     32         <activity android:name="FrontDoor"
     33             android:label="@string/app_name"
     34             android:theme="@style/TallTitleBarTheme"
     35         >
     36             <intent-filter>
     37                 <action android:name="android.intent.action.MAIN" />
     38                 <category android:name="android.intent.category.DEFAULT" />
     39                 <category android:name="android.intent.category.LAUNCHER" />
     40                 <category android:name="android.intent.category.BROWSABLE" />
     41             </intent-filter>
     42         </activity>
     43 
     44         <activity-alias android:name="FrontDoorNormal"
     45             android:targetActivity="FrontDoor"
     46             android:label="@string/app_name_normal"
     47         >
     48             <intent-filter>
     49                 <action android:name="android.intent.action.MAIN" />
     50                 <category android:name="android.intent.category.DEFAULT" />
     51                 <category android:name="android.intent.category.LAUNCHER" />
     52                 <category android:name="android.intent.category.BROWSABLE" />
     53             </intent-filter>
     54         </activity-alias>
     55 
     56         <activity-alias android:name="FrontDoorXLarge"
     57             android:targetActivity="FrontDoor"
     58             android:label="@string/app_name_xlarge"
     59         >
     60             <intent-filter>
     61                 <action android:name="android.intent.action.MAIN" />
     62                 <category android:name="android.intent.category.DEFAULT" />
     63                 <category android:name="android.intent.category.LAUNCHER" />
     64                 <category android:name="android.intent.category.BROWSABLE" />
     65             </intent-filter>
     66         </activity-alias>
     67 
     68         <activity-alias android:name="FrontDoorGroupsXLarge"
     69             android:targetActivity="FrontDoor"
     70             android:label="@string/app_name_xlarge_groups"
     71         >
     72             <intent-filter>
     73                 <action android:name="android.intent.action.MAIN" />
     74                 <category android:name="android.intent.category.DEFAULT" />
     75                 <category android:name="android.intent.category.LAUNCHER" />
     76                 <category android:name="android.intent.category.BROWSABLE" />
     77             </intent-filter>
     78         </activity-alias>
     79 
     80         <activity android:name="ViewContact"
     81             android:label="@string/viewContactDesription"
     82             android:theme="@style/TallTitleBarTheme"
     83         >
     84             <intent-filter>
     85                 <action android:name="android.intent.action.VIEW" />
     86                 <category android:name="android.intent.category.DEFAULT" />
     87                 <data android:mimeType="vnd.android.cursor.item/contact" android:host="com.android.contacts" />
     88                 <data android:mimeType="vnd.android.cursor.item/raw_contact" android:host="com.android.contacts" />
     89             </intent-filter>
     90         </activity>
     91 
     92         <activity android:name="HomeXLarge"
     93             android:label="@string/app_name_xlarge"
     94             android:theme="@android:style/Theme.WithActionBar"
     95         />
     96 
     97         <activity android:name="HomeGroupsXLarge"
     98             android:label="@string/app_name_xlarge_groups"
     99             android:theme="@android:style/Theme.WithActionBar"
    100         />
    101 
    102         <activity android:name="HomeNormal"
    103             android:label="@string/app_name_normal"
    104         />
    105 
    106         <activity android:name="DetailsNormal"
    107             android:theme="@style/TallTitleBarTheme"
    108         />
    109     </application>
    110 </manifest>
    111