如何在.net中的移动设备上运行网页 [英] how to run web page on mobile device in .net

查看:61
本文介绍了如何在.net中的移动设备上运行网页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们如何在移动设备上调试网页,请一步一步告诉我.

how we can debug a web page on mobile please tell me step by step.

推荐答案

这实际上取决于您在以下网站上调试网站的意思.移动设备.我认为我们可以从一开始就排除您在移动设备上运行网络服务器的情况.我假设您要调试生成的网页的javascript.

由于我尚未找到(均未找到)支持IE& javascript调试的移动设备浏览器FF,我只能为您提供在JavaScript中自由使用alert语句的建议.遵循的另一种方法是将调试信息写入DIV标记,您可以通过按钮显示该标记,然后通过简单的点击(即单击)将其再次隐藏.

如果您对移动Web开发很认真,我强烈建议您搜索支持JavaScript调试的移动浏览器.那当然意味着您将不得不使用google.

祝您调试愉快!

-MRB
It really all depends on what you mean by debugging a web site on a mobile device. I think we can exclude from the beginning that you are running a webserver on your mobile device. I am assuming you want to debug the javascript of your generated webpages.

Since I haven''t yet found (neither looked) for mobile device browsers that support javascript debugging like IE & FF, I can only give you the advice to use alert statement liberally in your javascript. Another road to follow would be to write debugging information into a DIV tag which you can display via a button and hide it again by a simple tap (i.e. click).

If you''re serious about mobile web development I strongly suggest you search for a mobile browser that will support javascript debugging. That would mean of course that you would have to use google.

Cheers and happy debugging!

-MRB


就像曼弗雷德一样,我认为您没有在 Web服务器(HTTPD) [^ ]或类似的内容.

如果您正在为Windows Mobile 6.5和更低版本进行开发,则可能会找到 http://www.mymobiler.com/ [ ^ ]很有用.将移动设备连接到计算机,您便可以从PC对其进行控制.我发现这比直接在电话或模拟器上工作效率更高:)

最好的问候
Espen Harlinn
Like Manfred, I assume that you are not doing anything on Web Server (HTTPD)[^], or something similar.

If you are developing for Windows Mobile 6.5 and earlier , you may find http://www.mymobiler.com/[^] useful. Connect the mobile to your computer, and you will be able to control it from your PC. I''d found this to be more efficient than working directly on the phone, or simulator :)

Best regards
Espen Harlinn


这篇关于如何在.net中的移动设备上运行网页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆