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.
leecho0
Once Poster
Once Poster
 
Posts: 1
Joined: Tue Aug 04, 2009 1:24 am

Top

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

Hi
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.

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

Top

Return to Networking & Database Problems

Who is online

Users browsing this forum: No registered users and 7 guests