Wi-Fi connected but there is no internet access I have a Samsung Galaxy S Advance (Android upgraded to 4.1.2 Jelly Bean) which I got only one month before. Wi-Fi was initially working great, but now it doesn't have any internet connection even if Wi-Fi gets connected. 

The Wi-Fi gets connected to my laptop, my PC and my father's Android mobile phone, but not on my device. What might be the reason?
You can try changing your wifi network settings from DHCP to Static and a little tweaking of DNS server addresses should work. refer this link for complete solution.

Under advance settings Change IP Settings from DHCP to Static

IP Address : Most probably your Gateway address will be 192.168.1.1 change your IP Address my changing last digit in this address use any value preferably between 2 to 20.

Change DNS1 to 8.8.8.8

Change DNS2 to 8.8.4.4