1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright 2016 Google Inc. 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<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="@style/AppThemeOverride"> 31 32 <!-- Let's Play Store know this app is standalone. --> 33 <meta-data android:name="com.google.android.wearable.standalone" android:value="true"/> 34 35 <!-- 36 Important Note: Usually, you will want to disable bridging if you have a local/native 37 Android Wear app creating Notifications. In our case, we don't, as our sample shows both 38 Notifications launched from a Phone app (that needed to be bridged) and a Wear app. 39 40 To disable, create a meta-data tag here: 41 42 meta-data 43 name: com.google.android.wearable.notificationBridgeMode 44 value: NO_BRIDGING 45 --> 46 47 <!--If you want your app to run on pre-22, then set required to false --> 48 <uses-library android:name="com.google.android.wearable" android:required="false" /> 49 50 <activity android:name=".StandaloneMainActivity" 51 android:label="@string/app_name"> 52 <intent-filter> 53 <action android:name="android.intent.action.MAIN" /> 54 <category android:name="android.intent.category.LAUNCHER" /> 55 </intent-filter> 56 </activity> 57 58 59 <activity 60 android:name=".handlers.BigTextMainActivity" 61 android:label="@string/title_activity_big_text_main" 62 android:taskAffinity=""> 63 </activity> 64 65 <activity 66 android:name=".handlers.BigPictureSocialMainActivity" 67 android:label="@string/title_activity_big_picture_main" 68 android:taskAffinity=""> 69 </activity> 70 71 72 <activity 73 android:name=".handlers.InboxMainActivity" 74 android:label="@string/title_activity_inbox_main" 75 android:taskAffinity=""> 76 </activity> 77 78 <activity 79 android:name=".handlers.MessagingMainActivity" 80 android:label="@string/title_activity_messaging_main" 81 android:taskAffinity=""> 82 </activity> 83 84 <service 85 android:name=".handlers.BigTextIntentService" 86 android:exported="false"> 87 </service> 88 89 <service 90 android:name=".handlers.MessagingIntentService" 91 android:exported="false"> 92 </service> 93 94 <service 95 android:name=".handlers.BigPictureSocialIntentService" 96 android:exported="false"> 97 </service> 98 </application> 99</manifest>