Back to project page NCUWirelessPassport.
The source code is released under:
Apache License
If you think the Android project NCUWirelessPassport listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package tw.edu.ncu.nos.ncuwlpp.wirelessloginer; /*from ww w . j ava 2s.c o m*/ import android.content.Context; import org.apache.http.NameValuePair; import org.apache.http.message.BasicNameValuePair; import java.io.InputStream; import java.util.ArrayList; import java.util.List; import tw.edu.ncu.nos.ncuwlpp.Account; import tw.edu.ncu.nos.ncuwlpp.R; import tw.edu.ncu.nos.ncuwlpp.WirelessLoginer; /** * Created by Davy on 3/22/14. */ public class NCTUWirelessLoginer extends NCTUGuestLoginer { @Override public boolean isSupport() { Account account = new Account(context); return account.getDomain().endsWith("nctu.edu.tw"); } public NCTUWirelessLoginer(Context context) { super(context); } }