Home | History | Annotate | Download | only in main
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2014 The Android Open Source Project
      3 
      4      Licensed under the Apache License, Version 2.0 (the "License");
      5      you may not use this file except in compliance with the License.
      6      You may obtain a copy of the License at
      7 
      8           http://www.apache.org/licenses/LICENSE-2.0
      9 
     10      Unless required by applicable law or agreed to in writing, software
     11      distributed under the License is distributed on an "AS IS" BASIS,
     12      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13      See the License for the specific language governing permissions and
     14      limitations under the License.
     15 -->
     16 
     17 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
     18           package="com.example.android.wearable.agendadata">
     19 
     20     <uses-sdk android:minSdkVersion="18"
     21         android:targetSdkVersion="25" />
     22 
     23     <!-- BEGIN_INCLUDE(manifest) -->
     24 
     25     <!-- Note that all required permissions are declared here in the Android manifest.
     26          On Android M and above, use of these permissions is only requested at run time. -->
     27     <uses-permission android:name="android.permission.READ_CALENDAR" />
     28     <uses-permission android:name="android.permission.READ_CONTACTS" />
     29 
     30     <!-- END_INCLUDE(manifest) -->
     31 
     32     <application
     33         android:allowBackup="true"
     34         android:icon="@drawable/ic_launcher"
     35         android:label="@string/app_name"
     36         android:theme="@style/Theme.AppCompat.Light">
     37 
     38         <meta-data
     39                 android:name="com.google.android.gms.version"
     40                 android:value="@integer/google_play_services_version" />
     41 
     42         <activity
     43                 android:name="com.example.android.wearable.agendadata.MainActivity"
     44                 android:label="@string/app_name"
     45                 android:configChanges="keyboardHidden|orientation|screenSize">
     46             <intent-filter>
     47                 <action android:name="android.intent.action.MAIN"/>
     48                 <category android:name="android.intent.category.LAUNCHER"/>
     49             </intent-filter>
     50         </activity>
     51 
     52         <service android:name="com.example.android.wearable.agendadata.CalendarQueryService"/>
     53     </application>
     54 </manifest>
     55