Click here to Skip to main content
15,893,644 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hi all,


how do i establish communication between android based cell phone and a remote server via internet?

which Architecture is best?
what Protocols should i use?

purpose is to send and receive data (files) and notification from server to the mobile phone
Posted

1 solution

At service layer (between client and server), the best choice would be REST-Services, which consumes less data than XML based services.

In general, TCP or UDP are not always best choice, as network connection is unreliable on mobile phones, and may change at any given time.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900