Ravi Ranjan
Ravi Ranjan

Reputation: 526

Application is not able to use internet connection

I have provided INTERNET permission in manifest file. My application is working in normal internet connection. But it is not working in secured Wi-Fi.

Upvotes: 0

Views: 183

Answers (3)

Gurpreets11
Gurpreets11

Reputation: 2351

Add the Wi-Fi Permission in Android Manifest file

 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />

Upvotes: 1

bmusical
bmusical

Reputation: 244

Secure access do you mean HTTPS / WPA2 PSK.

Internet Permission is sufficient for WIFI security access.. Check the connectivity to the server through the WiFI, through other device say your laptop. Try hitting the URL in your browser when your laptop connected through the WiFi.

IF this is in your manifest file,

<uses-permission android:name="android.permission.INTERNET" />

It should be child element of your root tag and not in your application element

Upvotes: 0

Ramesh Maldakal
Ramesh Maldakal

Reputation: 3422

Add Wi-Fi related Permission in Android Manifest file.. I hope it may work...

Upvotes: 1

Related Questions