Testing Out the Android Client

Time to test out the application on a real X10 light switch. Assuming the Rails-based X10 web application is working as expected, start up your Rails development server on the same network/subnet as the emulator in Figure 28, Running the Light Switch application.

images/x10androidscreen.png
Figure 28. Running the Light Switch application

Use the same port number as the one we assigned in the my_server_ip_address_and_port_number string from our Android application. For example, in the case of 192.168.1.100:3344, the IP address is 192.168.1.100 and the port number is 3344. Pass this as a command-line parameter when launching the Rails server ...

Get Programming Your Home now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.