Skip to content

Lokalen Virtual-Host von Android-Gerät aus aufrufen

Momentan dilettiere ich ein wenig an einer responsiven Webseite mit den Mitteln von Bootstrap herum. Klappt ganz gut, besonders dank des Device Mode der Chrome Dev Tools. Dazu heißt es aber auch:

Warning: Device Mode gives you a close approximation as to how your site will look on a mobile device, but to get the full picture you should always test your site on real devices. DevTools can't emulate the performance characteristics of mobile devices, for example.

Ich soll mir die Seite also auch auf einem echten Smartphone bzw. Tablet ansehen. Aber wie komme ich vom mobilen Endgerät an den Webserver, der bei mir lokal auf meinem Entwicklungsrechner (im folgenden einfach "Computer") liegt? Klar, die IP würde helfen, wenn ich nicht mehrere Virtual Hosts angelegt hätte. Klar, ich könnte jedem Virtual Host einen eigenen Port zuweisen oder ähnliches.

Was aber viel besser funktioniert und gar nicht so viel Aufwand bedeutet, ist ein weiteres Feature der Chrome Dev Tools: Remote Debugging Android Devices.

Dafür benötigen wir eigentlich nur ein USB-Kabel, um das Smartphone mit dem Computer zu verbinden, und einen lokalen Proxy (z.B. Squid) auf dem Computer.

"Lokalen Virtual-Host von Android-Gerät aus aufrufen" vollständig lesen

Webmontag Frankfurt

Yesterday, the regional web crowd got together at the Brotfabrik in Frankfurt for the 13th edition(?) of the famous Webmontag. After the last web mondays' attendance figures were relatively low, Andreas and Darren had been very active in inviting lots of people and advertising the event. Accordingly, the number of participants was significantly higher than before, which was a good thing apparently.

Contentwise, the session covered topics as diverse as presentation zen, Google Web Toolkit, Selenium IDE, OSGi, and MySQL Proxy. Pretty technical, one must admit, but mostly interesting nonetheless. I can say that I enjoyed it. As usual, socializing began immediately after the last presentation ended. Some interesting conversations ensued with other participants, I had a delicious chickpea-cilantro soup, and the WiFi was free. What more to expect from a Webmonday? Thanks to Andreas and Darren for organizing the event, and to Harry for kindly hosting the event.