Author: jerome
Date: 2008-12-05 12:09:19 +0100 (Fri, 05 Dec 2008)
New Revision: 3020

Modified:
   
software_suite_v2/software/gadgets/tuxdroid-gadget-totem/trunk/tuxdroid-gadget-totem/src/totem.java
Log:
* Updated to work on the network (linux).

Modified: 
software_suite_v2/software/gadgets/tuxdroid-gadget-totem/trunk/tuxdroid-gadget-totem/src/totem.java
===================================================================
--- 
software_suite_v2/software/gadgets/tuxdroid-gadget-totem/trunk/tuxdroid-gadget-totem/src/totem.java
 2008-12-05 11:09:00 UTC (rev 3019)
+++ 
software_suite_v2/software/gadgets/tuxdroid-gadget-totem/trunk/tuxdroid-gadget-totem/src/totem.java
 2008-12-05 11:09:19 UTC (rev 3020)
@@ -200,7 +200,7 @@
        @Override
        protected void start() throws Throwable {
                
-               this.tux = new TuxAPI("127.0.0.1", 270);
+               this.tux = new TuxAPI(this.configuration().getIP(), 270);
                this.tux.button.remote.registerEventOnPressed(this, 
"onPreviousPushed", TuxAPIConst.K_UP);
                this.tux.button.remote.registerEventOnPressed(this, 
"onNextPushed", TuxAPIConst.K_DOWN);
                this.tux.button.remote.registerEventOnPressed(this, 
"onOKPushed", TuxAPIConst.K_OK);


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to