A method for executing operations on a device includes executing one or
more bytecode language instructions associated with a mobile agent. The
mobile agent includes a state of a virtual machine and the bytecode
language includes instructions such WARP, MESG; ESEL, ALERT, BROWSE,
CAPS, SLEEP, and GPS.