I need to find the device-width of the mobile device. Although we can specify the content
<meta name="viewport" content="width=device-width; user-scalable=no" />
But i need to programmatically obtain the device width to compute some logic in my application. How can I get the device width?
See Question&Answers more detail:os