Adam Scheller wrote:On this website you can find a bunch of scripts for mobile detection. There is no Java version, but all of those scripts is just a simple regular expression check against visitor user-agent. Should take no more than 5 minutes to rewrite one of those scripts to Java.
Adam Scheller wrote:I've just Googled for the Code Ranch forum from my smartphone. Have you added "/mobile/" in the URL for the mobile version? I am not sure if I saw that before. I see URLs with "/mobile/" in the URLs in the Google search results, but without "mobile-friendly" annotation.