Patent ID: 7240104

Claim:
A method for managing resources at a communication device having its own memory device, comprising: receiving a cleanup request at the communication device from a gateway over a bandwidth-limited connection independent of a download request from the communication device, the gateway connecting a first network to a mobile network associated with the communication device and different from the first network, an available space on the memory device of the communication device at a first time being less than a predetermined amount, the first time being before the receiving of the cleanup request; deleting data stored at the memory device of the communication device based on the cleanup request, the deleting including deleting at least two of the following (a) through (e) until the available space on the memory device of the communication device exceeds the predetermined amount, the deleting occurring in order (a) through (e): (a) an unneeded convenience object from the memory device of the communication device; (b) an application component from a plurality of application components from the memory of the communication device; (c) application data from the memory device of the communication device; (d) at least one application definition from a plurality of application definitions from the memory device of the communication device; and (e) a back command stack from the memory device of the communication device; and sending an available-space indicator from the communication device to the gateway at a second time, the second time being after the first time and after the deleting of the data.