Resource Allocation Method and Device for Foreground Switch of J2ME Application
AssigneeZte Corporation
InventorGang Liu
Life of this patent
Estimating the term…
Loading patent…
AssigneeZte Corporation
InventorGang Liu
Estimating the term…
A resource allocation method and a resource allocation device for foreground switch of a J2ME (Java 2 Micro Edition) application are provided in the present invention. A JAVA application program receives a first message from a JAVA virtual machine when switching to background from foreground, wherein the first message carries information indicating that the JAVA application program needs to release partial resources; and the JAVA application program returns a first response message to the JAVA virtual machine so as to realize release of the resources, wherein the first response message carries information of resources to be released and/or information of resources to be reserved for restoring to an executing state. The user experience can be improved and the normal use of local applications can be ensured according to the technical solution provided by the present invention.
A resource allocation method for foreground switch of a J2ME application, comprising:
A resource allocation device for foreground switch of a J2ME application, comprising:
Dependencies are inferred from the claim text.