Hi all,
I am trying to add a splash page/ wifi landing page/ wifi agreement page (or whatever the name is) to my network by modifying my dns server. We know this is not the so call "correct" way to do it, and will not block attacks in a meaningful way. (as they can always use a better DNS server) Here is how my implementation works: 1) DHCP point device to use my DNS server 2) DNS server reslove all request as an local ip address, in which it host a web server for the agreement page 3) After user agree to the terms, DNS server will start resloving the request correctly, thus, user will be able to get to the web It works on computers, however, when I tested it on Android devices, here's what happen 1) connect Android to wifi network 2) Android tried resolve a number of sites to determine if the system has internet connection 3) DNS server reslove all these request as a local web server's ip address, with ttl=1 4) splash page comes up on iPhone 5) user click I agree, and DNS server starts giving out correct ip, the page also redirect user to an internet address These all works as expected, however, the splash page does not go away after connect. The user would have to click the option: use this network without internet access (or something like that) to dismiss the page. (Clicking home here will results in disconnecting from the network) I wonder if there is a special (javascript?) method I can call in the page, or some package I need to send to the device? Thanks a lot, Kyle -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/52a91435-6295-48ea-8596-0fad5f72af30%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

