Sorry to hear about your problems. My 9700 went into the pool back in November last year. It must have been in the pool for about 20 minutes before I noticed it (blew off the sun lounger while I was inside the house).
Didn't even bother doing anything with it, left it in a drawer in my home office and bought a new one the next day. Reason I am tell you this is that this weekend I came across the phone, complete with old battery still inside. I chucked the battery away and grabbed a spare, thinking I would give it a try, just for kicks. Trues nuts, the thing boots up fine. Of course, I tested everything and it all works...bluetooth, wifi, speaker, mic, camera, flash, sd card slot, making and receiving calls...everything...except the p, u, & i buttons refused to work.
I opened it up, peeled back the keypad membrane thingy, cleaned the contact pads for all the buttons, focusing on the problem ones and reassembled. She's back to 100% normal now and there's a spare 9700 in our house now. I am utterly amazed!!
Good luck with yours!