[英]How to check Google web application in iPhone
I have designed a google web application using Eclipse and the Google GWT plugin. 我已经使用Eclipse和Google GWT插件设计了一个Google Web应用程序。
Is there some way I can see the GUI of my application on iPhone or iPad. 是否可以通过某种方式在iPhone或iPad上查看应用程序的GUI。 Please, give me suggestions or tell me if it is possible. 请给我建议或告诉我是否可能。
You are referring to a company server (IP 10.24.56.34). 您指的是公司服务器(IP 10.24.56.34)。 If that is a web server that you or someone from your company can administer, then follow the below process: 如果这是您或公司中的某人可以管理的Web服务器,则请执行以下过程:
Hope this helps you! 希望这对您有所帮助!
If you have a Mac you can install Xcode and then see it in the simulator by typing in the localhost URL. 如果您使用的是Mac,则可以安装Xcode,然后通过键入localhost URL在模拟器中查看它。 That should give a pretty good indication of how it will look. 那应该很好地表明它的外观。
You may also be able to make your computer visible on the local wi-fi network by enabling web sharing and then just access it by IP address from the iPhone browser. 通过启用Web共享,您还可以使计算机在本地wi-fi网络上可见,然后只需从iPhone浏览器中按IP地址访问即可。
Alternatively, if you set up your computer as an adhoc wireless network, you can connect to it from your iPhone (select your computer as the wi-fi router) and again access it from the iPhone browser using its IP address. 或者,如果将计算机设置为自组织无线网络,则可以从iPhone连接到计算机(选择计算机作为Wi-Fi路由器),然后使用其IP地址从iPhone浏览器再次访问它。
In debug mode you'll have to use -bindAddress and use an address that you can access from your phone. 在调试模式下,您将必须使用-bindAddress并使用可从手机访问的地址。 If you have a local wireless that both your compter and iphone can connect to then using -bindAddress 0.0.0.0 will bind to your wireless card IP address (so you don't have to type it). 如果您的计算机和iPhone都可以连接到本地无线网络,则使用-bindAddress 0.0.0.0将绑定到您的无线网卡IP地址(因此您不必键入它)。 On my laptop it looks like this: 在我的笔记本电脑上,它看起来像这样:
Dev Mode initialized. Startup URL:
http://192.168.1.100:8888/index.html?gwt.codesvr=192.168.1.100:9997
then just open this address in iPhone. 然后只需在iPhone中打开此地址即可。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.