0

I'm trying to learn how to use Networking API in Android (or how to make the app network enabled).

I looked in the following places:
1. Coder-Darcey book "Android: wireless application development" has a short chapter on this. But it is for an older version, 1.5, of Android. I'd like to refer to a more recent & more detailed information.
2. Strangely the developer.android.com site has nothing at all on this.
3. Searched SOF on this, & found this question. The link it refers to is WAY too complex for me to understand.

Anyone happen to know a good reference/website/tutorial for this important topic?

Thanks!

3
  • 4
    What do you been by "network enabled"? You probably don't find many Android specific resources because its realy not that different from your typical java program. Commented Oct 14, 2010 at 16:44
  • 1
    The Java Tutorial - Custom networking: download.oracle.com/javase/tutorial/networking/index.html Commented Oct 14, 2010 at 22:08
  • Thanks Mayra, mrrtnn, That's quite helpful. Commented Oct 18, 2010 at 16:58

1 Answer 1

0

It wasn't very different until honeycomb - but then they stopped you from making network calls in the main thread.

Making a receive thread is pretty simple - but a tutorial is really in order for a decent send thread - ensuring no syncronisation issues between adding stuff to send and sending it....

-- found a work around for the "network in main thread" check... http://www.vogella.com/articles/AndroidNetworking/article.html#networkoverview_apis

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.