This question already has an answer here:
My university redirects me to a https login page when accessing internet through wifi. This is irritating when trying to connect to the Internet from my Android phone. I was wondering whether there is some application to do logging in whenever that application is opened (storing credentials, of course)? If not, how can I create such an application? Is there any previous application created (with open source code) that is customized for automating logging into certain networks?