Communities for your favorite technologies. Explore all Collectives
Stack Overflow for Teams is now called Stack Internal. Bring the best of human thought and AI automation together at your work.
Bring the best of human thought and AI automation together at your work. Learn more
Find centralized, trusted content and collaborate around the technologies you use most.
Stack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
I would like to develop an application for Android which would transfer data through TCP connection.
Does anyone know for any good example or book where client-server connection example could be found?
I'm quite new with Java and Android so I would be very thankful for any suggestion.
It's hard to believe that this question has not been answered for more than 4 years. If somebody still needs networking examples, Android Training provides reasonable introduction to the topic. http://developer.android.com/training/basics/network-ops/index.html
Add a comment
Here are a few links to help you get started..
http://osamashabrez.com/simple-client-server-communication-in-android/ http://www.vogella.com/articles/AndroidNetworking/article.html http://www.androidph.com/2008/10/android-networking-user-experience-and.html
I would also recommend you to have a look at the developer.Android documentation!
This online tutorial may be helpful: http://www.coreservlets.com/android-tutorial/ . It has 2 chapters on network programming : Networking I: General Techniques and Networking II: HTTP and JSON Techniques. You may look at the first part.
Networking I: General Techniques
Networking II: HTTP and JSON Techniques
Start asking to get answers
Find the answer to your question by asking.
Explore related questions
See similar questions with these tags.