Reputation: 10095
I have an Android Application that has to fetch an XML file from a particular URL.
To do this, I first check if an internet connection is available and if so, I download the file. This works fine.
The issue happens when I use my app in a network where users can connect to the internet but need to provide a username and password before they can access any page i.e. Limited Access.
How can I test for Limited Access to the network?
Thanks.
Upvotes: 1
Views: 550
Reputation: 6096
To determine that the user has a fully functioning network connection try to open a web link programmatically in background if you get a success status then internet connection is available else user has limited access.This may help you.Have a look
Upvotes: 1