Energies can be transmitted wirelessly, that is in future your mobile may be charged wirelessly, there are wired USB cable to charge torch lights, so in future you may get wireless USB device to charge ,etc.
I still don't understand how you want to transmit it programmatically? Programs are used to transmit the energy via wire, or wirelessly. But you still need a device to do that. A program alone won't help.