The Android Things console is no longer accepting new projects, and will be turned down for all existing projects on January 5, 2022. For more details, visit the FAQ page.

Settings

Android Things uses three different APIs to control settings for the system time and available locales.

Setting the system time and format

Use class TimeManager to control different time-related settings, including the following:

  • Time format (12-hour or 24-hour)
  • Time zone
  • Auto sync time from a Network Time Protocol (NTP) server

Setting the list of locales

Use class DeviceManager to control the list of locales available to the device.