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<sample> 18 <name>WearVerifyRemoteApp</name> 19 <group>Wearable</group> <!-- This field will be deprecated in the future 20 and replaced with the "categories" tags below. --> 21 <package>com.example.android.wearable.wear.wearverifyremoteapp</package> 22 23 <!-- change minSdk if needed--> 24 <minSdk>23</minSdk> 25 <minSdkVersionWear>23</minSdkVersionWear> 26 <targetSdkVersion>28</targetSdkVersion> 27 <targetSdkVersionWear>28</targetSdkVersionWear> 28 29 <wearable> 30 <has_handheld_app>true</has_handheld_app> 31 </wearable> 32 33 34 <androidX>true</androidX> 35 36 <dependency>androidx.legacy:legacy-support-v4:1.0.0</dependency> 37 <dependency>androidx.legacy:legacy-support-v13:1.0.0</dependency> 38 <dependency>androidx.cardview:cardview:1.0.0</dependency> 39 <dependency>androidx.appcompat:appcompat:1.0.2</dependency> 40 <dependency>com.google.android.support:wearable:2.4.0</dependency> 41 42 <dependency_wearable>androidx.wear:wear:1.0.0</dependency_wearable> 43 <dependency_wearable>androidx.legacy:legacy-support-v13:1.0.0</dependency_wearable> 44 45 <strings> 46 <intro> 47<![CDATA[ 48Sample demonstrates best practices for checking if the remote version of your app is installed on a 49connected device. This enables standalone Wear apps to check if the phone app is installed 50and the other way around. 51]]> 52 </intro> 53 </strings> 54 <template src="base" /> 55 <template src="Wear"/> 56 57 <metadata> 58 <!-- Values: {DRAFT | PUBLISHED | INTERNAL | DEPRECATED | SUPERCEDED} --> 59 <status>DEPRECATED</status> 60 <!-- See http://go/sample-categories for details on the next 4 fields. --> 61 <!-- Most samples just need to udpate the Categories field. This is a comma- 62 seperated list of topic tags. Unlike the old category system, samples 63 may have multiple categories, so feel free to add extras. Try to avoid 64 simply tagging everything with "UI". :)--> 65 <categories>Getting Started, UI</categories> 66 <technologies>Android</technologies> 67 <languages>Java</languages> 68 <solutions>Mobile</solutions> 69 <!-- Values: {BEGINNER | INTERMEDIATE | ADVANCED | EXPERT} --> 70 <level>INTERMEDIATE</level> 71 <!-- Dimensions: 512x512, PNG fomrat --> 72 <icon>screenshots/icon-web.png</icon> 73 <!-- Path to screenshots. Use <img> tags for each. --> 74 <screenshots> 75 <img>screenshots/wear-1.png</img> 76 <img>screenshots/wear-2.png</img> 77 <img>screenshots/mobile-1.png</img> 78 <img>screenshots/mobile-2.png</img> 79 </screenshots> 80 <!-- List of APIs that this sample should be cross-referenced under. Use <android> 81 for fully-qualified Framework class names ("android:" namespace). 82 83 Use <ext> for custom namespaces, if needed. See "Samples Index API" documentation 84 for more details. --> 85 <api_refs> 86 <android>android.support.wearable.activity.WearableActivity</android> 87 <android>android.support.wearable.view.ConfirmationOverlay</android> 88 <android>com.google.android.gms.common.api.GoogleApiClient</android> 89 <android>com.google.android.gms.wearable.CapabilityApi</android> 90 <android>com.google.android.gms.wearable.CapabilityInfo</android> 91 <android>com.google.android.gms.wearable.Node</android> 92 <android>com.google.android.gms.wearable.Wearable</android> 93 <android>com.google.android.wearable.intent.RemoteIntent</android> 94 <android>com.google.android.wearable.playstore.PlayStoreAvailability</android> 95 </api_refs> 96 97 <description> 98 <![CDATA[ 99Sample moved to [github.com/android/wear-os][1]. 100 101[1]: https://github.com/android/wear-os 102]]> 103 </description> 104 105 <intro> 106 <![CDATA[ 107This repo and all Wear OS samples have been moved to [github.com/android/wear-os][1]. Please check out the code there. Thank you! 108 109[1]: https://github.com/android/wear-os 110]]> 111 </intro> 112 </metadata> 113</sample> 114