1. A method of utilizing a handheld wireless communication device, the method comprising: discovering one or more available resources in a communication network; dynamically assessing respective cost functions for performing a task on the handheld wireless communication device and on each of the discovered one or more available resources, each of the respective cost functions is based on one or more performance factors associated with one of the discovered one or more available resources or with the handheld wireless communication device; detecting a change in the dynamically assessed respective cost functions; and apportioning, based on the detected change in the dynamically assessed respective cost functions, the task for one or both of a local execution by the handheld wireless communication device and a remote execution by the discovered one or more available resources, wherein at least one of the dynamically assessed respective cost functions is based on a user preference, the user preference indicating the performance of the task on at least one of the handheld wireless communication device or the discovered one or more available resources.