*WARNINGS* The course of action in this instructable is potentially dangerous, may damage your phone or its battery, will certainly void the warranty and has the potential to cause fire, damage and personal injury, I cannot and will not be held responsible for any injuries or damages incurred, consider this course of action a last resort and use your own common sense and initiative to try and solve the problem without resorting to such methods of phone charging.
On a side note these methods can work for any device like an MP3 player or the like.
Also if you can use the devices own ports, as any device that can be powered and charged via USB cable will have a built in system for controlling the battery charging, negating a lot of the risks of charging a lithium battery without proper safety measures...
Plus you should be able to do this with any phone charger or the like, however USB cables are cheaper and easier to find...
Step 1: Find a USB cable.
Now cut the cable and separate the black and red wires inside, strip the ends of the black and red cables.
Step 2: Determine the pinouts on your device.
I'm using a sony ericsson in this 'ible - There are two +5v ins, one is charge and one is USB, we need the charge one in this case, along with negative, the image below has them detailed.
This method is relatively safe, since the device will usually have circuitry in place to safely charge the battery.
Step 3: OK, you can't?
Take out the battery.