问题
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