This question already has an answer here:
I would like to try out android programming and specifically try my hand at some multiplayer development, but I no longer have an active phone plan for my android phone. Is it possible to just use wi-fi without having a 3g data plan? There is no need to make calls, only access my wireless network.
[Edit] The phone is a Galaxy S Mesmerize if that helps. I'm at work, so I can't take a look at the phone to see if it needs a SIM card. It was from US Cellular so I don't think it needs one. Not sure tho.