HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

Android Tutorials - Client-Server Application (coderzheaven.com)

51,126 views October 29, 2019 15:44

Watch on YouTube
ChannelMobile Programmer

Description from the creator

Welcome to Android Tutorials by The Mobile Programmer,

Describes a simple Android Client Server Application

How to Run?
The repo contains two android projects. One is Server Application and the other is Client.
Run both applications on your devices.
For running locally, Find the IP of the device which is running the Server Application.
Change the SERVER_IP in the Client Application inside ClientActivity.

public static final String SERVER_IP = "192.168.1.155";

Make sure both devices are on the same network and are using the same PORT.
Go to the Client Application and tap "Connect Server"
It should show connected and now tap "Send Message to Server".

Open Server Application to see the message from Client.

If you are connecting to a Server, make sure the PORT you specified in the code is allowed to accept incoming socket connections.
Specify custom messages by entering the message in the TextField on both Applications.

Source Code:
github.com/MrVipinVijayan/android-client-server

Written Article:
coderzheaven.com/2017/05/01/client-server-progr…

Please subscribe to my channel.
Also don't forget to like, subscribe & Share.
Thanks for watching.

Website:
coderzheaven.com

Find me on
Medium: vipinvijayannair.medium.com
Facebook: facebook.com/contactvipinvijayan
Twitter: @mr_vipin_nair
Page: facebook.com/Mobile-Tutor-299932940922778

Leave your valuable feedback comments below this post and I will make sure to follow your suggestions as much as possible. Support is important.

Keywords: Google Flutter, Google Mobile Application, Coderzheaven, Android, iOS, Flutter, Cross Platform, React Native, Debugging network calls.

#androidtutorial #androidclientserver #googleandroid

About this tutorial

Mobile Programmer published this 15:44 video tutorial on October 29, 2019. It has been watched 51,126 times on YouTube.

Category
Education
Duration
15:44
Published
October 29, 2019
Views
51,126
Likes
520

Tags

Share

This tutorial in other languages