I am looking for a method to display a webpage when somebody connects to my hotspot
.Is there a way I could implement this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Not sure what the Android access restrictions are, but assuming your app has the network read / write / bind permissions, the simplest thing to do is simple embed Jetty and get it to start a server on the specified port, example are : http://wiki.eclipse.org/Jetty/Tutorial/Embedding_Jetty
EDIT: Upon further reading of your question that’s just the start, you will need to block all other network traffic until the client has accepted the captive portal above.
Hope I helped
md_5