html mobile browser detection code





Android Phone Browser Detection. I have an web application where mobile phone users see a mobile optimized website.I have found several examples but couldnt make it work with my code. Could someone advise me so that it works in all browsers as it was required.