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 www.google.com 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. getRingtone returns null

Hello. Probably I misunderstand something, but why

RingtoneManager.getRingtone(this,
Settings.System.DEFAULT_RINGTONE_URI);

always returns null when launching from my activity? Shouldn't it
return some object which is System.DEFAULT_RINGTONE_URI, which I can
then play() ?

Is there any small example of code which shows how to play Ringtone
from Activity? MediaPlayer way also not works.

MediaPlayer.create(this, Settings.System.DEFAULT_RINGTONE_URI)

simply crashes with:

02-01 11:19:51.008: ERROR/TAG(351): null
02-01 11:19:51.008: ERROR/TAG(351): java.lang.NullPointerException
02-01 11:19:51.008: ERROR/TAG(351):     at
android.content.ContextWrapper.getContentResolver(ContextWrapper.java:
89)
02-01 11:19:51.008: ERROR/TAG(351):     at
android.media.MediaPlayer.setDataSource(MediaPlayer.java:589)
02-01 11:19:51.008: ERROR/TAG(351):     at
android.media.MediaPlayer.create(MediaPlayer.java:516)
02-01 11:19:51.008: ERROR/TAG(351):     at
android.media.MediaPlayer.create(MediaPlayer.java:497)

Please help!

--~--~---------~--~----~------------~-------~--~----~

2. Howto remove thread from Dalvik VM????

Hello..
I am using Thread to display animation..I create a new thread whenever user
preference is changed.Now I want to Remove the previous thread from Dalvik
VM so that my application does not crash..How can I remove Thread from DVM??
I use Thread.stop() but it is not working..Please help..
Its urgent..
Thank u...

--~--~---------~--~----~------------~-------~--~----~

3. R icon meaning on the panel

4. MapView disable?

5. texts are not adding to intent for email

6. local service getting killed

7. how to move from one screen to another ?