How to run local html files on iphone and android mobiles?

时光怂恿深爱的人放手 提交于 2019-12-10 20:55:32

问题


How to run local files on iphone? I use Windows 7 and i have iPhone 4 and android . whenever I need to check on iphone browser I upload files on ftp and open that url in iphone.

Is there a way to check local file of my pc on iphone and android without uploading to ftp each time. Like I can see my videos of PC into iphone using Air Server on iphone.

I use internet on iphone and android using wi-fi router.

I don't want to use Emulators/Simulators I'm talking about checking local files directly on devices.


回答1:


You can access intranet pages by either typing http://local_dns_name or http://ip As long as the iphone / ipod is on the network correctly (e.g. through standard wifi and not 3g/whatever) you should be able to access any and all local resources.

Just enter the IP address of your laptop on your iphone / ipad location bar. There is some configuration that needs to happen for this to work you can find it here:

http://www.frihost.com/forums/vt-88381.html




回答2:


go to your android mobile browser and htttp://your local host ip/root folder

do not forget to make your local server online



来源:https://stackoverflow.com/questions/5762845/how-to-run-local-html-files-on-iphone-and-android-mobiles

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!