1

TCP/IP on Android

view story
linux-howto

http://stackoverflow.com – I have an android application which I want to send a simple command to my `public class ActivitymainActivity extends Activity { private TextView textview; private Button button; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activitymain); textview=(TextView) findViewById(R.id.EmailCount); button=(Button) findViewById(R.id.button1); textview.setText("Going in"); try{ Socket socket = new Socket("192.168.1.66", 2727); OutputStream out = socket.getOutputStream(); (HowTos)