I have a web application. I my JavaScript, I am identifying devices by user agent string as follows:
_android = navigator.userAgent.toLowerCase().indexOf(\"a
User-agent string (Windows) : http://msdn.microsoft.com/en-us/library/ie/hh920767(v=vs.85).aspx