Monday, May 20, 2024
125
rated 0 times [  127] [ 2]  / answers: 1 / hits: 59085  / 12 Years ago, mon, august 13, 2012, 12:00:00

Is there a way to get the name of a mobile device (e.g. John's iPhone ) using javascript?






Maybe I wasn't very clear... what I meant is not whether it's an iPhone, iPad etc. but the device name - for example it can be John's iPhone.


More From » mobile-website

 Answers
10

You can't do this through javascript for a web app running in a native browser - javascript generally doesn't have access to this personal identifying data.



One possible way is to use a framework like PhoneGap which may have an API to access the device name. But then, you can only deploy your web site via an app store, so this could be very limiting based on your use case.


[#83674] Saturday, August 11, 2012, 12 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
denism

Total Points: 627
Total Questions: 96
Total Answers: 98

Location: Ivory Coast
Member since Sun, Mar 7, 2021
3 Years ago
;