If a vacuum cleaner isn't at hand fill a pot or bowl with uncooked rice and put your wet gadget inside. The dry uncooked rice will absorb all the water and after a few hours you should be able to use the gadget. Don't forget to remove the battery and SIM card before you dry it....
Pretty simple, remove the battery door and battery, place them inside, place a rag out in the sun and put the rest of the phone on that. Depending on how hot of a day it is, bring the phone inside for a bit if it ever gets hot to the touch (overheating can damage LCD screens.)...
Be very careful to keep the razor angled low so that you don't scratch the tub or shower pan, especially if it is a plastic or fiberglass. A utility knife can also be used to cut the caulk from between the tiles and the tub if the razor can't quite get it out, especially in dee...