talk2toyin Posted April 3, 2013 Share Posted April 3, 2013 Hi gurus, I am currently learning JQuery Mobile and I'd like to test how it will look like on a mobile phone without putting it online. I heard of mobile simulator for pc but, I don't know how to go about this. I use windows 7 OS on my pc. Any help will be much appreciated Quote Link to comment https://forums.phpfreaks.com/topic/276493-help-testing-a-mobile-site-without-uploading-to-a-server/ Share on other sites More sharing options...
Psycho Posted April 3, 2013 Share Posted April 3, 2013 There are mobile emulators, but I've never used them. But, you would have to have the site hosted somewhere, even if it is on your local environment, in order to use a simulator. You could just as easily open the site on an actual device in that environment. In other words, if you are hosting the web site on a local install (e.g. XAMPP) and you have a mobile device that is on the same network, you could simply point the browser on your device to that machine, either by IP or computer name. E.g. http://192.168.1.125/mypage.php Quote Link to comment https://forums.phpfreaks.com/topic/276493-help-testing-a-mobile-site-without-uploading-to-a-server/#findComment-1422686 Share on other sites More sharing options...
talk2toyin Posted April 3, 2013 Author Share Posted April 3, 2013 @Psycho...thanks for your reply. I have WAMP installed on my pc. I don't really get what u said about a mobile device running on the same network. Do I need an internet connection for it? Quote Link to comment https://forums.phpfreaks.com/topic/276493-help-testing-a-mobile-site-without-uploading-to-a-server/#findComment-1422688 Share on other sites More sharing options...
Psycho Posted April 3, 2013 Share Posted April 3, 2013 OK, so you are running the site on your local machine. Is that machine connected to a network such as a router in your home? Can you connect your mobile device to that router via Wi-Fi? If so, then both devices will be on the same network and you can access the web pages from the PC on your mobile device by entering a URL that points to your PC. So, instead of using the URL http://localhost/mypage.php you would just replace the 'localhost' with the ip or computer name of the PC. Quote Link to comment https://forums.phpfreaks.com/topic/276493-help-testing-a-mobile-site-without-uploading-to-a-server/#findComment-1422691 Share on other sites More sharing options...
talk2toyin Posted April 3, 2013 Author Share Posted April 3, 2013 Ok thanks. I don't have access to any internet connection right now (not WiFi, or a router), but it was educative knowing I can do something like that. I guess, this brings me back to the simulator option. Thanks a lot though @Psycho Quote Link to comment https://forums.phpfreaks.com/topic/276493-help-testing-a-mobile-site-without-uploading-to-a-server/#findComment-1422692 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.