Charan Putrevu
Charan Putrevu

Reputation: 84

How to detect android mobile model in html5 app

I want to detect the model of the mobile, for example Samsung s6, moto g2 etc from the users who install my app. Is it possible.

Upvotes: 1

Views: 133

Answers (1)

VarunJoshi129
VarunJoshi129

Reputation: 4852

You can use WURFL is your requirement is a complex one or you can use useragent (which is a property of webkit) to check the build manufactrurer. check below links for reference :

https://en.wikipedia.org/wiki/WURFL

http://www.w3schools.com/jsref/prop_nav_useragent.asp

Upvotes: 2

Related Questions