Is there a way to build on top of a
WEP Wifi configuration a Captive portal?
The hotspot is started using this code:
How to programmatically create and read WEP/EAP WiFi configurations in Android?
The idea is to ask a user for a login before actually sharing the data connection.