Patent ID: 8732319

Claim:
A method comprising: determining, at a first communication device, to execute a context task associated with an application associated with the first communication device; determining whether a second communication device is within a threshold detection distance from the first communication device in response to determining to execute the context task; establishing a communication link with the second communication device based, at least in part, on a detection parameter and a connection parameter associated with the second communication device in response to determining that the second communication device is within the threshold detection distance from the first communication device, wherein the detection parameter comprises at least one of an indication of a time period for which the second communication device was within the threshold detection distance of the first communication device, a tag associated with the first communication device, and a pattern in accordance with which the second communication device was within the threshold detection distance; determining whether to execute the context task based, at least in part, on a service list associated with the second communication device and the context task; and executing the context task via the communication link between the first communication device and the second communication device in response to determining to execute the context task.