README.md
1
2 Android WearVerifyRemoteApp Sample
3 ===================================
4
5 Sample demonstrates best practices for checking if connected mobile device has your app installed
6 from an Android Wear 2.+ standalone app and the other way around.
7
8 Introduction
9 ------------
10
11 Steps for trying out the sample:
12 * Compile and install the mobile app onto your mobile device or emulator (for mobile
13 scenario).
14 * Compile and install the wearable app onto your Wear device or emulator (for Wear
15 scenario).
16
17 This sample demonstrate best practices for using PlayStoreAvailability and RemoteIntent to check
18 if the mobile version of your app exists from within your Standalone Wear 2.+ app and the other
19 way around. Scenarios:
20
21 1. Launch Wear standalone app to verify if the mobile version is installed. If it is not, you will
22 be able to open the Play Store on the remote mobile device from the app (if it has the Play Store).
23
24 2. Launch Mobile app to verify if the Wear version is installed. If it is not, you will
25 be able to open the Play Store on the remote Wear device from the app.
26
27 Although there are two apps (Mobile and Wear), each should be looked at as a separate, standalone
28 apps/experiences.
29
30 Pre-requisites
31 --------------
32
33 - Android SDK 27
34 - Android Build Tools v27.0.2
35 - Android Support Repository
36
37 Screenshots
38 -------------
39
40 <img src="screenshots/wear-1.png" height="400" alt="Screenshot"/> <img src="screenshots/wear-2.png" height="400" alt="Screenshot"/> <img src="screenshots/mobile-1.png" height="400" alt="Screenshot"/> <img src="screenshots/mobile-2.png" height="400" alt="Screenshot"/>
41
42 Getting Started
43 ---------------
44
45 This sample uses the Gradle build system. To build this project, use the
46 "gradlew build" command or use "Import Project" in Android Studio.
47
48 Support
49 -------
50
51 - Google+ Community: https://plus.google.com/communities/105153134372062985968
52 - Stack Overflow: http://stackoverflow.com/questions/tagged/android
53
54 If you've found an error in this sample, please file an issue:
55 https://github.com/googlesamples/android-WearVerifyRemoteApp
56
57 Patches are encouraged, and may be submitted by forking this project and
58 submitting a pull request through GitHub. Please see CONTRIBUTING.md for more details.
59
60 License
61 -------
62
63 Copyright 2017 The Android Open Source Project, Inc.
64
65 Licensed to the Apache Software Foundation (ASF) under one or more contributor
66 license agreements. See the NOTICE file distributed with this work for
67 additional information regarding copyright ownership. The ASF licenses this
68 file to you under the Apache License, Version 2.0 (the "License"); you may not
69 use this file except in compliance with the License. You may obtain a copy of
70 the License at
71
72 http://www.apache.org/licenses/LICENSE-2.0
73
74 Unless required by applicable law or agreed to in writing, software
75 distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
76 WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
77 License for the specific language governing permissions and limitations under
78 the License.
79