├── settings.gradle ├── README.md ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── screenshots ├── companion_delayed_confirmation.png ├── delayed_confirmation_notification.png ├── delayed_confirmation_box_inset_all.png └── delayed_confirmation_box_inset_top.png ├── Application ├── src │ └── main │ │ ├── res │ │ ├── drawable-hdpi │ │ │ ├── tile.9.png │ │ │ └── ic_launcher.png │ │ ├── drawable-mdpi │ │ │ └── ic_launcher.png │ │ ├── drawable-xhdpi │ │ │ └── ic_launcher.png │ │ ├── drawable-xxhdpi │ │ │ └── ic_launcher.png │ │ ├── values │ │ │ ├── wear.xml │ │ │ ├── strings.xml │ │ │ ├── template-dimens.xml │ │ │ ├── template-styles.xml │ │ │ └── base-strings.xml │ │ ├── values-v21 │ │ │ ├── base-colors.xml │ │ │ └── base-template-styles.xml │ │ ├── values-v11 │ │ │ └── template-styles.xml │ │ ├── values-sw600dp │ │ │ ├── template-dimens.xml │ │ │ └── template-styles.xml │ │ └── layout │ │ │ └── main_activity.xml │ │ ├── AndroidManifest.xml │ │ └── java │ │ └── com │ │ └── example │ │ └── android │ │ └── wearable │ │ └── delayedconfirmation │ │ └── MainActivity.java └── build.gradle ├── Wearable ├── src │ └── main │ │ ├── res │ │ ├── drawable-hdpi │ │ │ └── ic_launcher.png │ │ ├── drawable-mdpi │ │ │ └── ic_launcher.png │ │ ├── drawable-xhdpi │ │ │ └── ic_launcher.png │ │ ├── drawable-xxhdpi │ │ │ └── ic_launcher.png │ │ ├── values │ │ │ ├── dimens.xml │ │ │ └── strings.xml │ │ └── layout │ │ │ └── main_activity.xml │ │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── android │ │ │ └── wearable │ │ │ └── delayedconfirmation │ │ │ ├── WearableMessageListenerService.java │ │ │ └── MainActivity.java │ │ └── AndroidManifest.xml └── build.gradle ├── .google └── packaging.yaml ├── CONTRIBUTING.md ├── CONTRIB.md ├── gradlew.bat ├── gradlew └── LICENSE /settings.gradle: -------------------------------------------------------------------------------- 1 | 2 | include ':Application', ':Wearable' 3 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | Android DelayedConfirmation Sample 3 | =================================== 4 | 5 | This sample has been deprecated. 6 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlearchive/android-DelayedConfirmation/master/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /screenshots/companion_delayed_confirmation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlearchive/android-DelayedConfirmation/master/screenshots/companion_delayed_confirmation.png -------------------------------------------------------------------------------- /Application/src/main/res/drawable-hdpi/tile.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlearchive/android-DelayedConfirmation/master/Application/src/main/res/drawable-hdpi/tile.9.png -------------------------------------------------------------------------------- /screenshots/delayed_confirmation_notification.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlearchive/android-DelayedConfirmation/master/screenshots/delayed_confirmation_notification.png -------------------------------------------------------------------------------- /Wearable/src/main/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlearchive/android-DelayedConfirmation/master/Wearable/src/main/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /Wearable/src/main/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlearchive/android-DelayedConfirmation/master/Wearable/src/main/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /Wearable/src/main/res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlearchive/android-DelayedConfirmation/master/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /screenshots/delayed_confirmation_box_inset_all.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlearchive/android-DelayedConfirmation/master/screenshots/delayed_confirmation_box_inset_all.png -------------------------------------------------------------------------------- /screenshots/delayed_confirmation_box_inset_top.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlearchive/android-DelayedConfirmation/master/screenshots/delayed_confirmation_box_inset_top.png -------------------------------------------------------------------------------- /Application/src/main/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlearchive/android-DelayedConfirmation/master/Application/src/main/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /Application/src/main/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlearchive/android-DelayedConfirmation/master/Application/src/main/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlearchive/android-DelayedConfirmation/master/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /Application/src/main/res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlearchive/android-DelayedConfirmation/master/Application/src/main/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /Application/src/main/res/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlearchive/android-DelayedConfirmation/master/Application/src/main/res/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Wed Apr 10 15:27:10 PDT 2013 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip -------------------------------------------------------------------------------- /Application/src/main/res/values/wear.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | confirmation_handler 5 | 6 | 7 | -------------------------------------------------------------------------------- /.google/packaging.yaml: -------------------------------------------------------------------------------- 1 | 2 | # GOOGLE SAMPLE PACKAGING DATA 3 | # 4 | # This file is used by Google as part of our samples packaging process. 5 | # End users may safely ignore this file. It has no relevance to other systems. 6 | --- 7 | status: DEPRECATED 8 | technologies: [Android] 9 | categories: [Wearable] 10 | languages: [Java] 11 | solutions: [Mobile] 12 | github: android-DelayedConfirmation 13 | license: apache2 14 | -------------------------------------------------------------------------------- /Application/src/main/res/values-v21/base-colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /Application/src/main/res/values-v11/template-styles.xml: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /Application/src/main/res/values-sw600dp/template-dimens.xml: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | 21 | @dimen/margin_huge 22 | @dimen/margin_medium 23 | 24 | 25 | -------------------------------------------------------------------------------- /Wearable/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 17 | 18 | 10dp 19 | 5dp 20 | 60dp 21 | 55dp 22 | 23 | -------------------------------------------------------------------------------- /Application/src/main/res/values-sw600dp/template-styles.xml: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /Application/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 17 | 18 | Start Wearable Activity 19 | Start 20 | 21 | Timer Selected 22 | Timer Finished 23 | 24 | -------------------------------------------------------------------------------- /Wearable/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 17 | 18 | 19 | Delayed Confirmation 20 | Start Timer (5 seconds) 21 | 22 | DelayedConfirmation 23 | Timer Selected 24 | Timer Finished 25 | No device able to confirm was found 26 | 27 | -------------------------------------------------------------------------------- /Application/src/main/res/values/template-dimens.xml: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | 21 | 4dp 22 | 8dp 23 | 16dp 24 | 32dp 25 | 64dp 26 | 27 | 28 | 29 | @dimen/margin_medium 30 | @dimen/margin_medium 31 | 32 | 33 | -------------------------------------------------------------------------------- /Application/src/main/res/layout/main_activity.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 17 | 21 | 27 |