Video Call Dating App Free

Video Call Dating App Free Rating: 5,7/10 6990 votes
  • Live free video chat with girls. We offer only live video talk! That’s definitely more interesting and fascinating. You talk in private, nobody will bother you, interfere or interrupt. There will be only webcam, chat and you two alone. Unlike other similar services, video chat FlirtyMania has a strict moderation system.
  • Free dating apps, dating app with video, who video chat app, dating apps with video chat, live video dating app, free dating chat apps, free chat apps, live chat dating app Flowers.com and Trisuli to reopen the Auditor General, it turns and Bangalore. 4.9 stars - 1461 reviews.
  1. Dating Video Call Chat App
  2. Video Call App Download Free
  3. Live Video Call Dating App Free
  4. Free Video Chat Dating App

Mobile apps are making our world increasingly connected. Think about how many times in a day you use an app to communicate with family and friends. A handful of times? A dozen times? Do you ever really close those apps out? Facebook, Instagram, Snapchat, TikTok, and countless other apps forge invisible bonds across the globe, so it’s no wonder that many developers are constantly at work trying to build a better chat app.

With 5G networks coming closer and closer to daily usage for the general public, more people are increasingly willing to communicate with their friends through social media applications. Even the smallest app platforms often have basic chat functions attached to them, letting users communicate directly with one another.

Have you ever considered creating a real-time communications application similar to WhatsApp?

It allows you to become an owner of videolink and use the same personal link for all future video calls. Personal videolink has additional amazing feature - you can receive video calls directly into your browser! Become as cool as Batman → Create personal videolink. And last but not least - its totally FREE! Announcing Zepeel, the new, free, and innovative dating app. What makes Zepeel so special is it’s the only dating app that contains three video features: video profiles, video messaging, and live video chat. Features that will help you find the love of your life! Signing up on Zepeel is quick and easy.

There’s usually a steep learning curve in implementing real-time video communication, which can discourage many developers. Thankfully, the Agora SDK is a great and easy solution for this!

In this guide, we’ll walk through all the steps you need to build a social media application on Android that supports video and messaging communication from scratch.

Prerequisites

  • A basic understanding of Java and android SDK
  • Android Studio and 2 android devices

Please Note: While no Android knowledge is needed to follow along, certain basic concepts won’t be explained along the way.

*You can find my demo app as a reference for this article. Also, you can find Agora Video SDK API documents here and Agora Message SDK API here.

Overview

Set Up New Project

To start, let’s open Android studio and create a new blank new project.

  1. Open Android Studio and click Start a new Android Studio project.
  2. On the Choose your project panel, choose Phone and Tablet > Empty Activity, and click Next.
  3. Click Finish. Follow the on-screen instructions, if any, to install the plug-ins.

Integrate the SDK

Add the following line in the /app/build.gradle file of your project.

Add project permissions in the /app/src/main/AndroidManifest.xml file for device access according to your needs:

Prevent code obfuscation

Add the following line in the app/proguard-rules.pro file to prevent code obfuscation:

Set Up Google Sign-in

Similar to most social media applications, we also want to allow user to log in into our app using their Google account. Follow this video to implement Google authentication. We can call

to start Google authentication process.

Please Note: There are many other ways to authenticate a user. You can follow this for more options.

Implement Chatting Functionality

Start RtmClient

In order to enable the chatting function in our application, we need to create RtmClient in Agora Rtm SDK.

In order to get the App ID in the parameter, follow these steps:

  1. Create an Agora project in Console.
  2. Go to Console and click the Project Management on the left navigation panel.
  3. Click Create and follow the on-screen instructions to set the project name, choose an authentication mechanism, and Click Submit.
  4. On the Project Management page, find the App ID of your project.

Here, onConnectionStateChanged() callback, we are calling RtmClientListener. We will implement this later in the Message activity.

When successfully signed in through Google, store the Google display names for future connection with Agora userID. Then login RtmClient using Google display name.

In the onSuccess() callback, we can pass the user information and jump to the Channel Selection activity.

Channel Selection

Create a UI for Channel Selection with a radio group for users to choose chat in peer-to-peer mode or group mode, a chat button and an EditText view in order for users to input the channel name. Also, create a button to start a video call here. We will cover the video call button onClick logic later.

Please Note: You can find the .xml file here.

When the chat button is clicked, we need to pass on the channel name that the user entered, the user’s selected chat mode, and the user information, all to the Message activity.

Message Activity

In the Message Activity, let’s create a RecyclerView to show the chat history list, an EditText for user input chat message, a send message button, and a TextView to show the name of the chat room.

Please Note: You can find this .xml file here.

In the onCreate() method, we are going to set the adapter and layout manager for the RecyclerView. We also need to check if the chat mode we passed from the previous activity is group chat mode. If so, we need to manually join the chat channel.

Please Note: Only group chat needs to join a channel, peer-to-peer mode can directly send messages to peer.

Receive Group Chat Message

For group chat mode, in the activity onCreate() method, we are going to call createChannel() on the RtmClient we initialized earlier to create a RtmChannel instance.

We need to define the MyChannelListener which implements RtmChannelListener with callback onMessageReceived() to handle the logic when we receive messages sent from any member in the chat room.

Then join the channel by calling join() on the RtmChannel instance.

In the onSuccess() callback, we can call getMembers() on the RtmChannel instance to get the number of members in the chat room.

Receive Private Chat Message

To receive private chat messages, on the other hand, we need to register RtmClientListener. Remember that when we created the RtmClient instance, we were calling RtmClientListener in the callbacks. Now, let’s implement this. In the callback onMessageReceived(), we put the logic to show the message on the RecyclerView.

Send Messages

So far, we are able to receive messages from a group chat or a private chat, but we also want to send messages to others. To do that, we first need to create a message instance by calling createMessage().setText() on the RtmClient instance in the send message button onClickListener() method.

Then we want to send this message out to the SDK. If we are in the group chat mode, we need to call sendMessage() on the RtmChannel instance.

If we are in peer-to-peer mode, we need to call sendMessageToPeer() instead.

Handle onDestroy()

It is always good practice to unregister unused listeners and leave the channel in onDestroy() method.

Now we are able to either chat with a friend by entering their Google display name or chat with friends in a chat room using a channel name.

Implement Video Call Functionality

In a social media application, we also want to let users make face-to-face video calls to each other. Agora Video SDK makes this step very simple. Let’s add video call logic in our application.

Channel Selection

Don’t forget that we have a call button in the Channel Selection activity that we haven’t used yet. Let’s implement its onClickListener. When the user clicks that button, we first want to see if the user is in peer-to-peer mode or group chat mode. If they’re in the group chat mode, the channel name we are going to use is the one user inputed in the EditText. If in peer-to-peer mode, however, the channel name is a sorted combination of user Google display name and user input channel name. This way, both caller and callee can join in the same channel.

After that, we pass user information, channel name, and call mode to Video Call activity.

Dating

Video Call Activity

First, we need to create the UI components in this activity: a start_call/end_call button, a switch_camera button and an audio_mute/audio_unmute button.

Then, in the onCreate() method in the Video Call activity, let’s do following several things:

  1. Initialize Agora Rtc Engine
  2. Setup local video Canvas
  3. Join channel

1. Initialize Agora Rtc Engine

In order to initialize the agora video engine, just simply call RtcEngine.create(context, appid, RtcEventHandler) to create a RtcEngine instance. Here, we pass the same appID we used for creating RtmClient instance.

You might notice that we have an RtcEventHandler as a parameter. That’s the handler to manage different events on the RtcEngine. Let’s implement it with some basic event handlers needed for this application.

Dating Video Call Chat App

Check the comments on the top of each event handler methods to have a better understanding of them. For more RtcEngine event handlers that you can use, check the Agora Rtc API document.

Please Note: Some of the logic to show video views on the screen is hidden. You can check the github demo app for a better understanding of how to display and remove video views on the screen dynamically.

2. Setup Local Video Canvas

To start a local video (see yourself on the screen), you need to call two functions: enableVideo() and setupLocalVideo() on a RtcEngine instance. In function setupLocalVideo(), a surfaceView created by calling RtcEngine.CreateRenderView(context) is passed as a parameter.

3. Join channel

Now we are ready to join the channel by calling joinChannel() on the RtcEngine instance and pass the channelName we passed from the previous activity.

Please Note: The token in the parameter can be set to null.

By calling this function and successfully joining the channel, the RtcEngineEventHandler will trigger the onJoinChannelSuccess() method that we implemented in the previous step. It will return a unique Agora video id, which we need to store in the user information so that we can connect it with the user Google display name we stored earlier.

Implement Buttons onClick

Video Call App Download Free

Now we are going to implement the logic for the three buttons we have in this activity.

1. Start/end a call

When the start/end call button is clicked, if we are in a call, we should finish the video call by calling leaveChannel() on the RtcEngine instance. Otherwise, we will start a call by setting up the local video and join the channel again, similar to what we did in the previous steps to start a call.

2. Switch camera

This button is to switch from using your mobile’s front camera to rear camera or vise versa. To do that, simply call switchCamera() on the RtcEngine instance.

3. Audio mute/unmute

Sometimes, users want to mute their input voice during a video call. That’s also easy to implement by just calling muteLocalAudioStream() on the RtcEngine instance and passing whether the user is already muted in the parameter.

Build and Test on Device

Now, Let’s run our application!

Go to Android Studio, make sure your android device is plugged in and click Run.

All Done!

Congratulation! You just built yourself a social media application that can make video calls and chat with friends.

Thank you for following along!

Live Video Call Dating App Free

Want to build Real-Time Engagement apps?

Free Video Chat Dating App

If you have questions, please call us at 408-879-5885. We’d be happy to help you add voice or video chat, streaming and messaging into your apps.

Stay inspired by accessing all RTE2020 session recordings. Gain access to innovative Real-Time-Engagement content and start innovating today.