Apps may require specific user permissions, such as location access, to function
properly. Because wearables are companions to mobile devices, you may need to
accept permissions on the mobile device as well.
See the following examples of how to show users permission messages in
different situations.
Figure 1. A full-screen permission message that opens a permission dialog.
Figure 2. An inline permission message that opens a permission setting.
Figure 3. A permission message that opens a permission setting on the phone.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.