我知道我可以在浏览器中得到屏幕宽度/高度,我可以得到有关该设备的任何其他信息?设备名称,操作系统,运营商,等?
I know I can get screen width/height in a browser, can I get any other information about the device? Device name, OS, carrier, etc?
这好像你提供的唯一额外的资源与屏幕密度和分辨率的事:的 http://developer.android.com/guide/webapps/index.html 。但是,如果你打算在 的WebView显示此页
,您可以利用Java的Java脚本桥接访问可用的标准Java API的任何信息(或非标准的,如果你想获得创造性和使用反射;-))
It seems as though the only additional resources you're provided with have to do with screen density and resolution: http://developer.android.com/guide/webapps/index.html. However, if you are going to display this page in a WebView
, you can utilize the Java-Javascript bridge to access any information available to the standard Java API (or non standard if you want to get creative and use reflection ;-) )