1. A system for controlling access to an application program in a wireless device connected to an ad-hoc communications network, comprising: a memory device; and a processor disposed in communication with the memory device, the processor configured to: send an inquiry message to the ad-hoc communications network; receive a response to the inquiry message from a nearby wireless device; choose a selected application from a list of application programs; and examine at least one control parameter associated with the selected application.