You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
114 lines
4.6 KiB
114 lines
4.6 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
~ Copyright 2016 Google Inc.
|
|
~
|
|
~ Licensed under the Apache License, Version 2.0 (the "License");
|
|
~ you may not use this file except in compliance with the License.
|
|
~ You may obtain a copy of the License at
|
|
~
|
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
|
~
|
|
~ Unless required by applicable law or agreed to in writing, software
|
|
~ distributed under the License is distributed on an "AS IS" BASIS,
|
|
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
~ See the License for the specific language governing permissions and
|
|
~ limitations under the License.
|
|
-->
|
|
<sample>
|
|
<name>WearVerifyRemoteApp</name>
|
|
<group>Wearable</group> <!-- This field will be deprecated in the future
|
|
and replaced with the "categories" tags below. -->
|
|
<package>com.example.android.wearable.wear.wearverifyremoteapp</package>
|
|
|
|
<!-- change minSdk if needed-->
|
|
<minSdk>23</minSdk>
|
|
<minSdkVersionWear>23</minSdkVersionWear>
|
|
<targetSdkVersion>28</targetSdkVersion>
|
|
<targetSdkVersionWear>28</targetSdkVersionWear>
|
|
|
|
<wearable>
|
|
<has_handheld_app>true</has_handheld_app>
|
|
</wearable>
|
|
|
|
|
|
<androidX>true</androidX>
|
|
|
|
<dependency>androidx.legacy:legacy-support-v4:1.0.0</dependency>
|
|
<dependency>androidx.legacy:legacy-support-v13:1.0.0</dependency>
|
|
<dependency>androidx.cardview:cardview:1.0.0</dependency>
|
|
<dependency>androidx.appcompat:appcompat:1.0.2</dependency>
|
|
<dependency>com.google.android.support:wearable:2.4.0</dependency>
|
|
|
|
<dependency_wearable>androidx.wear:wear:1.0.0</dependency_wearable>
|
|
<dependency_wearable>androidx.legacy:legacy-support-v13:1.0.0</dependency_wearable>
|
|
|
|
<strings>
|
|
<intro>
|
|
<![CDATA[
|
|
Sample demonstrates best practices for checking if the remote version of your app is installed on a
|
|
connected device. This enables standalone Wear apps to check if the phone app is installed
|
|
and the other way around.
|
|
]]>
|
|
</intro>
|
|
</strings>
|
|
<template src="base" />
|
|
<template src="Wear"/>
|
|
|
|
<metadata>
|
|
<!-- Values: {DRAFT | PUBLISHED | INTERNAL | DEPRECATED | SUPERCEDED} -->
|
|
<status>DEPRECATED</status>
|
|
<!-- See http://go/sample-categories for details on the next 4 fields. -->
|
|
<!-- Most samples just need to udpate the Categories field. This is a comma-
|
|
seperated list of topic tags. Unlike the old category system, samples
|
|
may have multiple categories, so feel free to add extras. Try to avoid
|
|
simply tagging everything with "UI". :)-->
|
|
<categories>Getting Started, UI</categories>
|
|
<technologies>Android</technologies>
|
|
<languages>Java</languages>
|
|
<solutions>Mobile</solutions>
|
|
<!-- Values: {BEGINNER | INTERMEDIATE | ADVANCED | EXPERT} -->
|
|
<level>INTERMEDIATE</level>
|
|
<!-- Dimensions: 512x512, PNG fomrat -->
|
|
<icon>screenshots/icon-web.png</icon>
|
|
<!-- Path to screenshots. Use <img> tags for each. -->
|
|
<screenshots>
|
|
<img>screenshots/wear-1.png</img>
|
|
<img>screenshots/wear-2.png</img>
|
|
<img>screenshots/mobile-1.png</img>
|
|
<img>screenshots/mobile-2.png</img>
|
|
</screenshots>
|
|
<!-- List of APIs that this sample should be cross-referenced under. Use <android>
|
|
for fully-qualified Framework class names ("android:" namespace).
|
|
|
|
Use <ext> for custom namespaces, if needed. See "Samples Index API" documentation
|
|
for more details. -->
|
|
<api_refs>
|
|
<android>android.support.wearable.activity.WearableActivity</android>
|
|
<android>android.support.wearable.view.ConfirmationOverlay</android>
|
|
<android>com.google.android.gms.common.api.GoogleApiClient</android>
|
|
<android>com.google.android.gms.wearable.CapabilityApi</android>
|
|
<android>com.google.android.gms.wearable.CapabilityInfo</android>
|
|
<android>com.google.android.gms.wearable.Node</android>
|
|
<android>com.google.android.gms.wearable.Wearable</android>
|
|
<android>com.google.android.wearable.intent.RemoteIntent</android>
|
|
<android>com.google.android.wearable.playstore.PlayStoreAvailability</android>
|
|
</api_refs>
|
|
|
|
<description>
|
|
<![CDATA[
|
|
Sample moved to [github.com/android/wear-os][1].
|
|
|
|
[1]: https://github.com/android/wear-os
|
|
]]>
|
|
</description>
|
|
|
|
<intro>
|
|
<![CDATA[
|
|
This repo and all Wear OS samples have been moved to [github.com/android/wear-os][1]. Please check out the code there. Thank you!
|
|
|
|
[1]: https://github.com/android/wear-os
|
|
]]>
|
|
</intro>
|
|
</metadata>
|
|
</sample>
|