Best communication strategy between Android client and .Net C # server

I studied various methods for implementing communication between a home TCP / IP server and an Android client application.

Some ideas: - Fundamentals of TCP / IP based on JSON - Service with WCF library - Some kind of REST server

What is the beast's strategy and libraries to solve this problem?

+5
source share
4 answers

For simple messaging and status checking, any HTTP-based solution would be a much better choice than using native TCP / IP.

HTTP traffic is significantly less likely for a firewall, so you will avoid many accessibility and configuration problems.

REST , . REST CRUD, .

+7

TCP/IP HTTP?

Android HTTP. HttpClient SampleSyncAdapter SDK .

(XML, JSON ..) , , RESTful ( , ), Google IO REST Android.

+1

, Eneter Messaging Framework. - , . .NET TCP HTTP.
Android .NET - .
.
, -.

0

All Articles