I am building an application with a team for a robot car so that it can be controlled by a mobile device. Could. It works perfectly on my phone, but now I've put the app to wear app android, thread that I have not been able to connect to the server on my Raspberry Pi. Is this thread any way to work?
Code:
Public class SocketConnect {static DataOutputStream dOut; Static socket socket; Public Stable Zero Connect () {System.out.println ("Found to Connect"); New thread () {Public Zero run (try {socket = new socket ("192.168.2.9", 88 99); System.out.println ("Trying 2.9"); DOUT = New DataOutputStream (socket.getOutputStream ()); } Hold (IOException e) {e.printStackTrace (); } } }.Start(); } .... forward code
logcat error: (it was not found in the good format in the editor)
Comments
Post a Comment