File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Android and the fly likes Android TCP connection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Android TCP connection" Watch "Android TCP connection" New topic
Author

Android TCP connection

Akil Kumar
Ranch Hand

Joined: Jun 08, 2009
Posts: 83
I am new to android application development. Here is my query about establishing a TCP connection for my application.

I have a external device which is set at static ip address. The handheld android phone will communicate wireless to the device. I need to create a TCP connection in order for the phone to communicate with the device and to display the graphical data from the device to the phone.

Can you anyone please help me how to establish a TCP connection?

Thanks,
Akila
Lester Burnham
Rancher

Joined: Oct 14, 2008
Posts: 1337
What particular difficulty are you facing in implementing this? java.net.Socket is available on Android.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Android TCP connection
 
Similar Threads
how to testing HTTP connection
how to communicate between a emulator and bluetooth enabled device
bluetooth streaming through anroid os cell phone
Controlling a serial device from an Android app using USB connection
Socket communication