如何检测手机兼容的CLDC版本?

发布于 2024-08-24 09:40:42 字数 84 浏览 3 评论 0原文

我目前正在开发移动基础 xhtml 网站。 在这个网站上我必须做下载页面。 为此,我需要检测兼容的 CLDC 版本的手机。 请帮我。

谢谢

i am currently working on mobile base xhtml site.
in this site i have to do download page.
for this i need to detect Compatible CLDC version of Phone.
please help me.

thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

最美不过初阳 2024-08-31 09:40:42

在服务器端,您读取应附加到任何 HTTP 请求的 HTTP“User-Agent”标头。

将其与 WFURL 进行匹配,找出支持该设备所需的操作(即调整生成的 CSS 代码)到手机屏幕尺寸...)。

Server side, you read the HTTP "User-Agent" header that should be attached to any HTTP request.

Match it against WFURL to figure out what you need to do to support the device (i.e. adapt your generated CSS code to the handset screen size...).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文