Home | History | Annotate | Download | only in Application
      1 <?xml version="1.0" encoding="UTF-8"?>
      2 <!--
      3  Copyright 2013 The Android Open Source Project
      4 
      5  Licensed under the Apache License, Version 2.0 (the "License");
      6  you may not use this file except in compliance with the License.
      7  You may obtain a copy of the License at
      8 
      9      http://www.apache.org/licenses/LICENSE-2.0
     10 
     11  Unless required by applicable law or agreed to in writing, software
     12  distributed under the License is distributed on an "AS IS" BASIS,
     13  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     14  See the License for the specific language governing permissions and
     15  limitations under the License.
     16 -->
     17 
     18 
     19 
     20 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
     21     package="com.example.android.wearable.synchronizednotifications"
     22     android:versionCode="1"
     23     android:versionName="1.0">
     24 
     25     <uses-sdk android:minSdkVersion="18"
     26         android:targetSdkVersion="23" />
     27 
     28     <application android:allowBackup="true"
     29         android:label="@string/app_name"
     30         android:icon="@drawable/ic_launcher"
     31         android:theme="@style/AppTheme">
     32 
     33         <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
     34 
     35         <activity android:name=".MainActivity"
     36           android:label="@string/app_name"
     37           android:uiOptions="splitActionBarWhenNarrow">
     38             <intent-filter>
     39                 <action android:name="android.intent.action.MAIN" />
     40                 <category android:name="android.intent.category.LAUNCHER" />
     41             </intent-filter>
     42         </activity>
     43         <service android:name=".DismissListener">
     44             <intent-filter>
     45                 <!-- listeners receive events that match the action and data filters -->
     46                 <action android:name="com.google.android.gms.wearable.DATA_CHANGED" />
     47                 <!-- filters by Constants.BOTH_PATH ('/both') -->
     48                 <data android:scheme="wear" android:host="*" android:pathPrefix="/both"/>
     49             </intent-filter>
     50             <intent-filter>
     51                 <action
     52                     android:name="com.example.android.wearable.wearable.synchronizednotifications.DISMISS" />
     53             </intent-filter>
     54         </service>
     55     </application>
     56 
     57 
     58 </manifest>
     59