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.wear.wearnotifications"
     19           android:versionCode="1"
     20           android:versionName="1.0">
     21 
     22     <uses-feature android:name="android.hardware.type.watch"/>
     23     <!-- Required for Always-on. -->
     24     <uses-permission android:name="android.permission.WAKE_LOCK" />
     25 
     26     <application android:allowBackup="true"
     27                  android:icon="@mipmap/ic_launcher"
     28                  android:label="@string/app_name"
     29                  android:supportsRtl="true"
     30                  android:theme="@android:style/Theme.DeviceDefault">
     31 
     32         <!--
     33         Important Note: Usually, you will want to disable bridging if you have a local/native
     34         Android Wear app creating Notifications. In our case, we don't, as our sample shows both
     35         Notifications launched from a Phone app (that needed to be bridged) and a Wear app.
     36 
     37         To disable, create a meta-data tag here:
     38 
     39         meta-data
     40             name: com.google.android.wearable.notificationBridgeMode
     41             value: NO_BRIDGING
     42         -->
     43 
     44         <!--If you want your app to run on pre-22, then set required to false -->
     45         <uses-library android:name="com.google.android.wearable" android:required="false" />
     46 
     47         <activity android:name=".StandaloneMainActivity"
     48                   android:label="@string/app_name">
     49             <intent-filter>
     50                 <action android:name="android.intent.action.MAIN" />
     51                 <category android:name="android.intent.category.LAUNCHER" />
     52             </intent-filter>
     53         </activity>
     54 
     55 
     56         <activity
     57             android:name=".handlers.BigTextMainActivity"
     58             android:label="@string/title_activity_big_text_main"
     59             android:taskAffinity="">
     60         </activity>
     61 
     62         <activity
     63             android:name=".handlers.BigPictureSocialMainActivity"
     64             android:label="@string/title_activity_big_picture_main"
     65             android:taskAffinity="">
     66         </activity>
     67 
     68 
     69         <activity
     70             android:name=".handlers.InboxMainActivity"
     71             android:label="@string/title_activity_inbox_main"
     72             android:taskAffinity="">
     73         </activity>
     74 
     75         <activity
     76             android:name=".handlers.MessagingMainActivity"
     77             android:label="@string/title_activity_messaging_main"
     78             android:taskAffinity="">
     79         </activity>
     80 
     81         <service
     82             android:name=".handlers.BigTextIntentService"
     83             android:exported="false">
     84         </service>
     85 
     86         <service
     87             android:name=".handlers.MessagingIntentService"
     88             android:exported="false">
     89         </service>
     90 
     91         <service
     92             android:name=".handlers.BigPictureSocialIntentService"
     93             android:exported="false">
     94         </service>
     95     </application>
     96 </manifest>