Home | History | Annotate | Download | only in FindMyPhone
      1 <p><b>About:</b> This sample application notifies you when you may have left your phone behind
      2 (specifically, when your companion and wearable disconnect). If you have misplaced your phone, but
      3 it is still connected to your wearable, you can also start an activity on the wearable to sound an
      4 alarm on your phone.</p>
      5 <p><b>How to run:</b> Install the Application APK on the companion, and the Wearable APK on the
      6 wearable. A notification will automatically appear on the wearable when the wearable and companion
      7 disconnect. To start the FindMyPhone activity on the wearable, go to the voice menu (either by
      8 saying "OK Google" or tapping the home screen) and select the "Start..." option. Then, select
      9 "Find My Phone" from the submenu.</p>
     10 <p><b>Wearable APIs used:</b> DataApi, WearableListenerService</p>
     11 <p><b>Screenshots:</b>
     12     <figure>
     13         <img src="screenshots/find_my_phone_notification.png" alt="Forgetting something?"
     14              width="140" height="140">
     15         <img src="screenshots/find_my_phone_activity.png" alt="Tap to sound an alarm on phone"
     16              width="140" height="140">
     17         <figcaption>The notification that appears when your wearable and companion disconnect,
     18             followed by the wearable FindMyPhone activity (which just creates a notification).
     19         </figcaption>
     20     </figure>
     21 </p>
     22