PDA

View Full Version : Simulating Android Browser in Chrome



mozicodo
12 Oct 2010, 12:28 PM
I'm trying to test my app in Google Chrome under Windows so I can use some of the built-in debugging tools. However, I'm not getting the same site as I get on my Droid. My app is using the Ext.ux.UniversalUI layout like the KitchenSink is. I'm running Chrome with the command line:


--user-agent="Mozilla/5.0 (Linux; U; Android 2.2; en-us; Droid Build/FRG22D) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/ 533.1"

Which, according to http://whatsmyuseragent.com (http://www.sencha.com/forum/true), is working and matches what my Droid is passing. However, I'm still getting the iPad like interface instead of the smaller mobile phone interface, even if I shrink my browser window.


Any ideas or suggestions?