Automatically Detect Phone Model for WAP Jar Deployment

Posted on 16th Feb 2014 by admin

Making a wap site is fairly simple, but I'd like to know if there's a way to make it so that the wap site automatically detects the phone model and deploys the appropriate jar. Deploying the appropriate jar is the easy part, though...how on earth do you get the phone model? I know you can get the "user-agent" header, but it doesn't always describe the phone model properly, and the value seems to be different for each phone. Is there a database of these headers anywhere? Thanks!

Other forums