Preferred way of communicating with a server?

Problems with WiFi, SQLite ,Bluetooth, WiMax, Proxies, etc...

Preferred way of communicating with a server?

Postby leecho0 » Tue Aug 04, 2009 1:54 am

hi, I'm trying to build a custom im like app, where the app needs to communicate with a server and exchange data, though these exchanges are very infrequent and only pass a little bit of information back and forth.

What would be the preferred method of communication? sockets / http ?

Also what options do I have for insuring that the request is actually from an android user?

Thanks in advanced =D.
Once Poster
Once Poster
Posts: 1
Joined: Tue Aug 04, 2009 1:24 am


Postby Luki » Thu Aug 06, 2009 1:45 pm

Well, I think the easiest way to implement is with http. If you need high performance, implementing it with sockets has less overhead I think. But if data exchange is infrequent, I think http is the best choice.

About the authentication thing I don't know.

Posts: 32
Joined: Fri Jul 24, 2009 12:59 pm


Return to Networking & Database Problems

Who is online

Users browsing this forum: No registered users and 3 guests