Setting the Timer and System Time

Introduction

This sample shows how to use the systemTime and setTimeout() APIs to set the system time and timer.

Usage

Touch the time picker, select a date and time, and touch the corresponding button to set the system time.

Touch the countdown box, select the timer duration, and touch the button to start the timer. To cancel the timer, touch the cancel button.

Constraints

This sample can only be run on standard-system devices.