network provider not working in android
Two days puzzled over this problem. I found a solution. Just go to Settings -> Location & security and enable flag "Use wireless networks" in "My Location" group.
But now I have the question: what is default state of this flag? It will be very sad if the application would have to ask the user to enable this flag.