Android's communication mechanisms

by NameZero912 » Sat, 21 Feb 2009 01:48:26 GMT

Sponsored Links
 Hi there,

I'm looking for a summary of libraries/APIs that Google Android
provides for communicating with other endpoints, e.g. servers, over
the internet. I'm basically looking for a complete list of
communication mechanisms that are well defined using interfaces, such
as SOAP or others

What I found out until now:
1) Android provides the Apache Commons HttpClient which allows to use
kSOAP on top, allowing me to do SOAP queries (however, all the logic
has to be done manually)
2) ewww.. that's it - looks pretty thin to me, for a device that is
relying so much on the GPRS/UMTS connection, which requires some kind
of communication mechanisms

I'm really just looking for brief points, once I know some new terms I
can find more explanation using anyway. Also, feel free
to suggest external (but working) libraries that add functionalities
(basically everything is either based on HTTP or using common socket
connections, so it's just a matter of libraries I think).

Kind regards,
Marius Shekow


Other Threads

1. How to customize background drawable for Gallery in android


I am trying to customize background drawable for Gallery widget in android.
So I took the in APIDemo and try changing the background
drawable of Gallery.

In, I add:
        // Reference the Gallery view
        Gallery g = (Gallery) findViewById(;


In the gallery_background_1.xml, I have
<selector xmlns:android="">
    <item android:state_pressed="true" android:drawable="@drawable/blue_box" />
    <item android:drawable="@drawable/red_box" />

When I run in the emulator, I do see the red color as the background
of the gallery.
But I never see it changes to blue as I pressed the gallery.

Can you please tell me what am I missing?

Thank you for your help.

Here is the red_box and blue_box drawable:

<shape xmlns:android="">
    <solid android:color="#1e0000ff"/>
    <padding android:left="1dp" android:top="1dp"
            android:right="1dp" android:bottom="1dp" />


<shape xmlns:android="">
    <solid android:color="#1eff0000"/>
    <padding android:left="1dp" android:top="1dp"
            android:right="1dp" android:bottom="1dp" />


2. Go to the home screen


             Thanks. But my problem is not solved. actually i have
many activities. So when i go to the 2nd activity and return to the
first one then System.exit(1); is working just as a back button.

But i want to go the home screen. Please tell me what can i do?
Thanks in advance.


3. Simplifying the downloading XML or .txt files

4. buffer passing in opencore/omx

5. How to show a link text, when clicks on it, it shows a web view

6. AutoCompleteTextView, runQueryOnBackgroundThread and getFilterQueryProvider - no FilterQueryProvider

7. Check whether a thread is running