Skip to content Skip to sidebar Skip to footer

Getting Exception While Connecting To Internet In Android

I am use OpenHttpConnection(URL) method to connect internet in my android application. But getting 'java.io.IOException:Error Conneting'.How i can avoid this. Permissions in androi

Solution 1:

Step #1: Make certain your INTERNET permission is in the correct place.

Step #2: Make certain your device or emulator has Internet access. For example, if you are using the emulator, and you see that you have zero bars of signal strength in the status bar icon, your emulator does not have Internet access. That will happen if the emulator was unable to detect Internet access when you started up the emulator.

Step #3: Make certain that whatever you are trying to connect to is actually up and running.

Post a Comment for "Getting Exception While Connecting To Internet In Android"