Win a copy of Securing DevOps this week in the Security forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Android TCP connection  RSS feed

 
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What particular difficulty are you facing in implementing this? java.net.Socket is available on Android.
 
I'm not dead! I feel happy! I'd like to go for a walk! I'll even read a tiny ad:
Thread Boost - a very different sort of advertising
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!