aspose file tools*
The moose likes Android and the fly likes communication protocols used by Android Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "communication protocols used by Android" Watch "communication protocols used by Android" New topic
Author

communication protocols used by Android

Jeff Walker
Ranch Hand

Joined: Apr 25, 2004
Posts: 116
Hi Mark,
I am interested in learning about how Android will communicate with other devices.
Being Java based, does it use its own protocol lying on top of http/s, or perhaps can it use web services (SOAP), or perhaps something else?

Also, does your book show any examples of Android to Android (A2A) comms?
(Did I just coin a new acronym ??)
dream_ryder
Raihan Masud
Greenhorn

Joined: Mar 03, 2009
Posts: 3
You can use TCP Socket or use bluetooth (P2P)

-Raihan
Oregon,USA
Mark L. Murphy
Author
Ranch Hand

Joined: Feb 11, 2009
Posts: 131
I am interested in learning about how Android will communicate with other devices.


Me too!

Being Java based, does it use its own protocol lying on top of http/s, or perhaps can it use web services (SOAP), or perhaps something else?


Java sockets (TCP) are available to you, and you can do pretty much whatever you want with them. There are two HTTP APIs available (URLConnection and Apache's HttpClient). However, there is no SOAP client built in.

Mark Murphy (a Commons Guy)
Author of The Busy Coder's Guide to Android Development http://commonsware.com/Android/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: communication protocols used by Android
 
Similar Threads
Beginning Android games - how suitable is/are the Android emulator(s)
Connecting to FM Radio using Samsung Galaxy
Which linux for android ?
OpenGL ES coverage?
sample tcp/ip code for Android