0

We are developing an Iphone app and an Android app. It has a browser window in it and it "looks" at a specific URL for content. Now, we would like to add a value to the user agent string. appname/version. (We serve different content depending on device/browser that access the information.) Is that possible?

Any suggestions?

Best, Jon

4

1 回答 1

0

你不能在 url 中将这些值作为 GET 参数传递吗?

对于安卓: http ://www.somedomain.com/page.html?appName=myAndroidApp&ver=version

对于 ios: http ://www.somedomain.com/page.html?appName=myIphoneApp&ver=version

于 2013-06-28T05:46:35.333 回答