Patent ID: 7647075

Claim:
A terminal device, comprising: a processor configured to download and store an application program in response to receipt of a user command; the processor further configured to execute an operating system and execute a runtime environment, the runtime environment controlled with the operating system to manage the application program; the processor further configured to execute the application program by interpretation of the application program with the runtime environment; the processor further configured to detect one of a predetermined set of events that cause operation of the application program to suspend; the processor further configured to execute the operating system to generate event data indicative of a cause of the suspension of the application program; the processor further configured to suspend operation of the application program in response to detection of the one of the predetermined set of events; and means for storing a plurality of event data indications; wherein the processor is further configured to resume operation of the application program suspended by the processor, and the event data indications each represent respective events between a start of suspension of operation of the application program and resumption of operation of the application program at an end of the suspension; and the processor is further configured to execute the operating system to deliver at least one of the stored event data indications to the resumed application program, wherein operation of the resumed application program is configured to adjust in accordance with the at least one of the event data indications to be responsive to the cause of the suspension.