Reputation: 84
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
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