Search code examples
androidiphoneweb-applicationsmobilemobile-website

View website as mobile from desktop


I'm developing a mobile version of my site and I don't have my mobile phone with me to view my changes. How can I mimic mobile view on a desktop for development? I tried http://iphone-emulator.org/, but It doesn't change my User-Agent to mobile. I'm on a Mac.


Solution

  • If you are on a mac you can download the iOS SDK which embed a simulator. You can also find an emulator inside the Android SDK.

    EDIT : faking the user agent is a false solution since you don't have the exact rendering engine than you have one device.

    EDIT2 : if you're starting mobile device development one advice : beware of blackberries (the old versions of the OS embed the IE6 of mobile)