About 12,400,000 results
Open links in new tab
  1. Intro Guide to Android Client-Server Communication

    To communicate with a server, you’ll need a RESTful API. You can use various frameworks to set up your server: Node.js with Express: A popular choice that uses JavaScript for server-side programming. Django: A high-level Python web framework that encourages rapid development.

  2. How to Communicate with PC using Android? - GeeksforGeeks

    Jun 6, 2021 · In this article, we would be discussing one of the basic ways of communication between a program on a PC and an Android device. Here we will use the concept of Socket programming. We know communication takes place between a sender and a receiver, Socket programming involves a Client-Server setup, where a client connects to the server, send the ...

  3. Secure Communication With the Server From Your Android Client

    Jul 23, 2023 · With Android being an open-source platform, it is crucial to implement robust security measures to protect sensitive data during communication between the client and server. This article...

  4. Build client-server applications with gRPC | Connectivity | Android ...

    Sep 8, 2023 · Following the gRPC Basics - Android Java tutorial, using gRPC for Android apps involves four steps: Define RPC services with protocol buffers and generate the gRPC client interfaces. Build a Channel that serves as the medium for RPC calls between client and server. Create a client Stub as the entry point for initiating RPC calls from client side.

  5. java - Best practice for android client to communicate with a server

    Aug 18, 2013 · Your approach is ok, if you really need to keep an open connection between the server and client at all time at all cost. However I would use an asynchronous connection, like sending an HTTP request to the server and then get a reply whenever the server feels like it.

  6. Client-Server Programming in Android - Online Tutorials Library

    Learn the fundamentals of client-server programming in Android, including communication protocols, architecture, and implementation techniques.

  7. How to construct communication between server and client for Android

    Nov 25, 2010 · It's called RPC - remote procedure call. There are many different protocols and implementations. You should pick one that works over HTTP (as this pretty much works on any network). Try XML-RPC or JSON-RPC: Some starting points: http://code.google.com/p/android-json-rpc/ http://oss.metaparadigm.com/jsonrpc/ http://code.google.com/p/android-xmlrpc/

  8. Android Client-Server Using Sockets – Server Implementation

    Nov 1, 2016 · In this tutorial we will be using java Sockets to achieve our server-client communication. One side there will be a server which will bind to specified port on device and will be available to client using IP address and port combination. Client will also use some random port for connection.

  9. Android-er: Bi-directional communication between Client and Server

    Aug 6, 2014 · This example show bi-directional communication between Client and Server, both run on Android devices. When the Server run, it will show it's own IP and port, open a ServerSocket and wait for socket connection from clients.

  10. Unidirectional Server-Client Communication using SSE in Android!

    Apr 23, 2022 · In this article, we will discuss about the need of a client-sever communication, the role of Server-Sent Events (SSEs), difference between SSEs and other communication mechanisms such as WebSockets and Long-Polling, and finally how we can implement SSEs in our Android app using the okhttp-sse Library. 1.

  11. Some results have been removed
Refresh