Native hardware access
Google Developers Logo

Progressive Web App Road Show 2016

Stopping in New York, Chicago, Austin, Toronto, Mountain View and Seattle. Learn more and sign up now.

Click to call

On devices with phone capabilities, make it easy for users to directly connect with you by simply tapping a phone number, more commonly known as click to call.

  1. Click to call

User Location

Most browsers and devices have access to the user's geographic location. Learn how to work with the user's location in your site and apps.

  1. User Location
  2. Obtain the user's current location
  3. Monitor the user's location
  4. Getting the user to consent to location sharing

Device orientation

Device motion and orientation events provide access to the built in accelerometer, gyroscope, and compass in mobile devices.

  1. Device orientation
  2. Device orientation
  3. Device motion

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 3.0 License, and code samples are licensed under the Apache 2.0 License. For details, see our Terms of Service.