“It could happen to anyone: you dropped your cellphone in the toilet. Take the battery out immediately, to prevent electrical short circuits from frying your phone’s fragile internals. Then, wipe the phone gently with a towel, and shove it into a jar full of uncooked rice.
It works for the same reason you may keep few grains of rice in your salt shaker to keep the salt dry. Rice has a high chemical affinity for water — that means the molecules in the rice have a nearly magnetic attraction for water molecules, which will be soaked up into the rice rather than beading up inside the phone.”
The New York Times lists low-tech solutions to some high tech problems.