Simplified Coding

  • About
  • Contact Us
  • Advertise
  • Privacy Policy
Home » Firebase Cloud Messaging Tutorial for Android

Firebase Cloud Messaging Tutorial for Android

May 27, 2016 by Belal Khan 19 Comments

Push notifications are apparently an essential thing in Android Application. It helps us gaining user retention, increasing active user, etc. To send a push notification to all our app users, we can use Firebase Cloud Messaging. We can send some promotional as well as regular information using Firebase Cloud Messaging (or FCM) very quickly.

So this post is about Firebase Cloud Messaging, and today we will learn how we can use Firebase Cloud Messaging in our android application.

Contents

  • 1 What is Firebase Cloud Messaging?
    • 1.1 Message Types
  • 2 Adding Firebase Cloud Messaging to Android Project
    • 2.1 Creating a new Android Studio Project
    • 2.2 Login into Android Studio using your Google Account
    • 2.3 Adding Firebase Cloud Messaging
      • 2.3.1 Connect to Firebase
      • 2.3.2 Add FCM to your app
  • 3 Ways of Receiving Push Notification
  • 4 Firebase Cloud Messaging using FCM Access Token
    • 4.1 Generating Access Token
    • 4.2 Common Issues
    • 4.3 Receiving Messages
    • 4.4 Building Push Notification
      • 4.4.1 Testing a Local Notification
      • 4.4.2 Testing Notification from Firebase Console
  • 5 Firebase Cloud Messaging using Topic Subscription
    • 5.1 Creating Interface
      • 5.1.1 Subscribing to a Topic
      • 5.1.2 Sending Notification to Topic from Firebase Console
      • 5.1.3 Unsubscribing from a Topic
  • 6 Firebase Cloud Messaging Tutorial Source Code
    • 6.1 Sharing is Caring:
    • 6.2 Related

What is Firebase Cloud Messaging?

It is a service provided by Google. So what Google says is “Firebase Cloud Messaging (FCM) is a cross-platform messaging solution that lets you reliably deliver messages at no cost.”

So it is free and at the same time easy to use. Previously we were using Google Cloud Messaging, but nowadays GCM is obsolete. So you should use firebase only

Message Types

Before moving ahead in the post let’s first understand the types of message that can be sent using FCM.

  1. Notification Message: This type of message is automatically displayed to end user. In this kind of message, we have a predefined set of key-value pairs. We also have a data payload by using it we can set the custom key-value pairs as well.
  2. Data message: Default does not display this type of message to the end user. To show it we need to add some coding. This message contains only custom key-value pairs.

Adding Firebase Cloud Messaging to Android Project

As always the first step is creating a new Android Studio Project.

Creating a new Android Studio Project

  • I have created a blank project using an Empty Activity, and I named it FirebasePushExample.
  • So you have to do the same, you can change the project name to whatever you want.

Login into Android Studio using your Google Account

If you have logged in already into your Android Studio with your Google Account, then you can skip this step. 

  • You will see a user image at the top right corner of your Android Studio IDE. Click on this icon.

firebase cloud messaging tutorial

  • Now click on the Sign In button. And then authenticate with your Google Account.

Yes, a Google Account is necessary, and if you are an android developer then it is apparent that you are having a google account right? 

Adding Firebase Cloud Messaging

After logging in to Android Studio with your Google Account, you can quickly add Firebase Cloud Messaging to your project.

  • Click on tools and then select Firebase.

firebase cloud messaging tutorial

  • It will open an Assistant Window on the Right. From here you need to Select Cloud Messaging (As shown in the image).

adding firebase

  • Here you need to do two things.

Connect to Firebase

  • Click on the first Button, Connect to Firebase.

connect to firebase

  • It will open a new Window.

Android Connect to Firebase

  • From here you can create a new Firebase Project, or you can also select your existing project on firebase if any. Here we are building a new Firebase Project. Just put the name that you want for your project and click on Connect to Firebase.
  • Now wait for a while, and you will see Green Connected Message.

fcm connected

Add FCM to your app

  • Now click on the second button. Add FCM to your App. It will again open a new window, and here you need to accept the changes.

add fcm to your app

  • Then it will automatically do everything required for adding FCM to your application.

Ways of Receiving Push Notification

Now first, we need to understand how we receive or send notifications using FCM. So there are two ways.

  1. Using FCM Token: We use this method when we want to send a notification to a specific device. Or some dynamic group of devices. Upon initial startup, the firebase SDK generates a registration token for the application. We use this token to identify the device.
  2. Using Topic: We can create topics and let our users subscribe to those topics. Then we can send the message to the topic. And the message will be sent to all the users of that particular topic. In this method, we don’t need to store any token.

We can select from the above two methods to implement in our application. We can use both ways as well. First, we will learn about the FCM Token then we will see the Topic method as well. So let’s do it. 

Firebase Cloud Messaging using FCM Access Token

In this method first, we will generate the access token. Now to get the access token, we create a class that extends FirebaseInstanceIdService. It is a service that we also need to define inside our Manifest file. Now let’s see how we can do this in our project.

Generating Access Token

  • Create a class named MyFirebaseInstanceIdService in your project, and write the following code.

MyFirebaseInstanceIdService.java
Java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package net.simplifiedcoding.firebasepushexample;
 
import android.util.Log;
 
import com.google.firebase.iid.FirebaseInstanceId;
import com.google.firebase.iid.FirebaseInstanceIdService;
 
/**
* Created by Belal on 12/8/2017.
*/
 
//the class extending FirebaseInstanceIdService
public class MyFirebaseInstanceIdService extends FirebaseInstanceIdService {
 
 
    //this method will be called
    //when the token is generated
    @Override
    public void onTokenRefresh() {
        super.onTokenRefresh();
 
        //now we will have the token
        String token = FirebaseInstanceId.getInstance().getToken();
 
        //for now we are displaying the token in the log
        //copy it as this method is called only when the new token is generated
        //and usually new token is only generated when the app is reinstalled or the data is cleared
        Log.d("MyRefreshedToken", token);
    }
}

  • As this class is a service, we need to define it in AndroidManifest.xml as well.
  • So open your AndroidManifest.xml file and just before the closing </application> tag add the following code.

1
2
3
4
5
6
        <service
            android:name=".MyFirebaseInstanceIdService">
            <intent-filter>
                <action android:name="com.google.firebase.INSTANCE_ID_EVENT"/>
            </intent-filter>
        </service>

  • Now run the application, and you will see the token in your logcat.

refreshedtoken firebase

  • Now copy this token and save it anywhere on your system. We will use this token to receive notification.

Common Issues

Keep these things in mind if you are not getting the token. 

  1. The token is not everytime generated. We get the token only when firebase refreshes the token. So it might happen that once you run the application and by mistake cleared the log. Then if you again run your application, you will not find the token. So, in this case, you have to uninstall the app, and then you need to again run it. 
  2. Google Play Service version should be higher than the Firebase version that you are using in your project. It is always better to update the Google Play Services to the latest version. 
  3. You are seeing the log of a different emulator or device. Confirm that emulator selected in the top of the logcat is the same where you are running the application. 

Receiving Messages

To receive the message we need to create a class that will extend FirebaseMessagingService. Here we will override a method onMessageReceived() that is called when we receive a message. Again this is also a service, so we need to define it in our AndoirdManifest.xml

  • Create a class named MyFirebaseMessagingService and write the following code.

MyFirebaseMessagingService
Java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package net.simplifiedcoding.firebasepushexample;
 
import com.google.firebase.messaging.FirebaseMessagingService;
import com.google.firebase.messaging.RemoteMessage;
 
/**
* Created by Belal on 12/8/2017.
*/
 
//class extending FirebaseMessagingService
public class MyFirebaseMessagingService extends FirebaseMessagingService {
 
    @Override
    public void onMessageReceived(RemoteMessage remoteMessage) {
        super.onMessageReceived(remoteMessage);
 
        //if the message contains data payload
        //It is a map of custom keyvalues
        //we can read it easily
        if(remoteMessage.getData().size() > 0){
            //handle the data message here
        }
 
        //getting the title and the body
        String title = remoteMessage.getNotification().getTitle();
        String body = remoteMessage.getNotification().getBody();
 
        //then here we can use the title and body to build a notification
    }
}

  • Now again define it using the below XML code in your AndroidManifest.xml just before the closing tag </application>.

1
2
3
4
5
6
        <service
            android:name=".MyFirebaseMessagingService">
            <intent-filter>
                <action android:name="com.google.firebase.MESSAGING_EVENT"/>
            </intent-filter>
        </service>

  • But to see the notification we need to build it. So now let’s make the notification.

Building Push Notification

Now let’s build the Push Notification. For this, I will use a Singleton class.

Note: From Android Oreo, you need to create a notification channel or else notification will not be displayed. 

  • So first we will define some constants for our Notification Channel in a separate class. Create a class named Constants. And write the following code.

Constants.java
Java
1
2
3
4
5
6
7
8
9
10
11
12
package net.simplifiedcoding.firebasepushexample;
 
/**
* Created by Belal on 12/8/2017.
*/
 
public class Constants {
 
    public static final String CHANNEL_ID = "my_channel_01";
    public static final String CHANNEL_NAME = "Simplified Coding Notification";
    public static final String CHANNEL_DESCRIPTION = "www.simplifiedcoding.net";
}

  • Now, create a class named MyNotificationManager and write the following code.

MyNotificationManager.java
Java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
package net.simplifiedcoding.firebasepushexample;
 
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.support.v4.app.NotificationCompat;
 
import static android.content.Context.NOTIFICATION_SERVICE;
 
/**
* Created by Belal on 12/8/2017.
*/
 
public class MyNotificationManager {
 
    private Context mCtx;
    private static MyNotificationManager mInstance;
 
    private MyNotificationManager(Context context) {
        mCtx = context;
    }
 
    public static synchronized MyNotificationManager getInstance(Context context) {
        if (mInstance == null) {
            mInstance = new MyNotificationManager(context);
        }
        return mInstance;
    }
 
    public void displayNotification(String title, String body) {
 
        NotificationCompat.Builder mBuilder =
                new NotificationCompat.Builder(mCtx, Constants.CHANNEL_ID)
                        .setSmallIcon(R.drawable.app_icon)
                        .setContentTitle(title)
                        .setContentText(body);
 
 
        /*
        *  Clicking on the notification will take us to this intent
        *  Right now we are using the MainActivity as this is the only activity we have in our application
        *  But for your project you can customize it as you want
        * */
 
        Intent resultIntent = new Intent(mCtx, MainActivity.class);
 
        /*
        *  Now we will create a pending intent
        *  The method getActivity is taking 4 parameters
        *  All paramters are describing themselves
        *  0 is the request code (the second parameter)
        *  We can detect this code in the activity that will open by this we can get
        *  Which notification opened the activity
        * */
        PendingIntent pendingIntent = PendingIntent.getActivity(mCtx, 0, resultIntent, PendingIntent.FLAG_UPDATE_CURRENT);
 
        /*
        *  Setting the pending intent to notification builder
        * */
 
        mBuilder.setContentIntent(pendingIntent);
 
        NotificationManager mNotifyMgr =
                (NotificationManager) mCtx.getSystemService(NOTIFICATION_SERVICE);
 
        /*
        * The first parameter is the notification id
        * better don't give a literal here (right now we are giving a int literal)
        * because using this id we can modify it later
        * */
        if (mNotifyMgr != null) {
            mNotifyMgr.notify(1, mBuilder.build());
        }
    }
 
}

Testing a Local Notification

Before moving ahead, we will confirm that the notification is working correctly. For this, we will create a local notification from the app itself.

  • Come on MainActivity.java and write the following code.

MainActivity.java
Java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
package net.simplifiedcoding.firebasepushexample;
 
import android.app.NotificationChannel;
import android.app.NotificationManager;
import android.content.Context;
import android.graphics.Color;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
 
import com.google.firebase.iid.FirebaseInstanceId;
 
public class MainActivity extends AppCompatActivity {
 
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
 
        /*
        * If the device is having android oreo we will create a notification channel
        * */
        
        if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.O) {
            NotificationManager mNotificationManager =
                    (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
            int importance = NotificationManager.IMPORTANCE_HIGH;
            NotificationChannel mChannel = new NotificationChannel(Constants.CHANNEL_ID, Constants.CHANNEL_NAME, importance);
            mChannel.setDescription(Constants.CHANNEL_DESCRIPTION);
            mChannel.enableLights(true);
            mChannel.setLightColor(Color.RED);
            mChannel.enableVibration(true);
            mChannel.setVibrationPattern(new long[]{100, 200, 300, 400, 500, 400, 300, 200, 400});
            mNotificationManager.createNotificationChannel(mChannel);
        }
 
        /*
        * Displaying a notification locally
        */
        MyNotificationManager.getInstance(this).displayNotification("Greetings", "Hello how are you?");
    }
}

  • Now try running your application.

Sample Notification

  • If you see this then awesome, it is working.

Testing Notification from Firebase Console

  • Now let’s send a real notification from Firebase Console.
  • Open firebase console, then open your project that you are using. Then from the left menu click on grow -> notifications. 

Firebase Cloud Messaging from Console

  • And after pressing the Send Message button, you should see your message on the application.

Firebase Cloud Messaging Sample Notification

  • As you can see it is working fine, as we see the notification.

Firebase Cloud Messaging using Topic Subscription

Now let’s see how we can send to notifications to the devices that are subscribed to a particular group. Obviously, for this, we need to create a group first. So here is the method.

  • Call FirebaseMessaging.getInstance().subscribeToTopic(“put_your_topic_here”);
  • The above method will subscribe the user to the topic, if the topic is not an existing topic firebase will create the topic specified.
  • Now here in your application, we will give some topics to the user to subscribe. For this let’s create the interface.

Creating Interface

  • Go to your strings.xml file and define the following array. These are the topics that a user can subscribe.

strings.xml
1
2
3
4
5
6
7
8
9
<resources>
    <string name="app_name">FirebasePushExample</string>
 
    <array name="topics">
        <item>notifications</item>
        <item>promotional_messages</item>
    </array>
    
</resources>

  • Now copy the following for activity_main.xml.

activity_main.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context="net.simplifiedcoding.firebasepushexample.MainActivity">
 
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_centerVertical="true"
        android:orientation="vertical"
        android:padding="20dp">
 
        <Spinner
            android:id="@+id/spinnerTopics"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginBottom="15dp"
            android:entries="@array/topics" />
 
        <Button
            android:id="@+id/buttonSubscribe"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="Subscribe" />
 
    </LinearLayout>
 
</RelativeLayout>

  • The above code will generate the following UI.

fcm topics

  • From here user will select the topic and then click on the button to subscribe.

Subscribing to a Topic

  • Now modify your MainActivity.java as below. The code is straightforward and self-explaining.

MainActivity.java
Java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
package net.simplifiedcoding.firebasepushexample;
 
import android.app.NotificationChannel;
import android.app.NotificationManager;
import android.content.Context;
import android.graphics.Color;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Spinner;
import android.widget.Toast;
 
import com.google.firebase.iid.FirebaseInstanceId;
import com.google.firebase.messaging.FirebaseMessaging;
 
public class MainActivity extends AppCompatActivity {
 
    Spinner spinner;
 
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
 
        spinner = findViewById(R.id.spinnerTopics);
 
        if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.O) {
            NotificationManager mNotificationManager =
                    (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
            int importance = NotificationManager.IMPORTANCE_HIGH;
            NotificationChannel mChannel = new NotificationChannel(Constants.CHANNEL_ID, Constants.CHANNEL_NAME, importance);
            mChannel.setDescription(Constants.CHANNEL_DESCRIPTION);
            mChannel.enableLights(true);
            mChannel.setLightColor(Color.RED);
            mChannel.enableVibration(true);
            mChannel.setVibrationPattern(new long[]{100, 200, 300, 400, 500, 400, 300, 200, 400});
            mNotificationManager.createNotificationChannel(mChannel);
        }
 
        findViewById(R.id.buttonSubscribe).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
 
                String topic = spinner.getSelectedItem().toString();
                FirebaseMessaging.getInstance().subscribeToTopic(topic);
                Toast.makeText(getApplicationContext(), "Topic Subscribed", Toast.LENGTH_LONG).show();
            }
        });
    }
}

  • Now again, try running your application.

subscribe to topic

  • Yes, it is working fine. Now let’s try sending a notification to this topic.

Sending Notification to Topic from Firebase Console

  • Again go to the firebase console and go to the notification.
  • Now this time we will select send to the topic instead of a single device.

notification to topic

  • After clicking on send, you should see the notification on your device.

topic notification

  • Bingo! It is working fine.

Unsubscribing from a Topic

Sometimes user also wants that “I don’t want to receive notification”.  In this case, you have to give an option to unsubscribe as well.

  • To unsubscribe from a topic, you need to call FirebaseMessaging.getInstance().unsubscribeFromTopic(“your_topic”);

Firebase Cloud Messaging Tutorial Source Code

If you still have some problem following the post (it was very long, you have to follow it carefully) then here I have my source code in my GitHub repository. You just need to unlock the link by using a social button given below.

Firebase Cloud Messaging Tutorial Source Code

So that’s all for this Firebase Cloud Messaging Tutorial friends. In the next post, we will learn to build our admin panel to send and manage notifications. If you found this firebase cloud messaging (FCM) tutorial helpful then please SHARE it with your friends. Thank You 🙂

Sharing is Caring:

  • Tweet
  • Share on Tumblr
  • More
  • Pocket
  • Print
  • Email

Related

Filed Under: Android Advance, Android Application Development Tagged With: firebase cloud messaging tutorial, firebase push notification android

About Belal Khan

I am Belal Khan, I am currently pursuing my MCA. In this blog I write tutorials and articles related to coding, app development, android etc.

Comments

  1. abhilasha says

    June 14, 2016 at 10:38 am

    Savior!! Thanks for the tutorial.

    Reply
  2. Vaishak says

    January 9, 2018 at 2:51 pm

    But the notification is shown as white square in my oreo instead of app icon. How can i manage it?

    Reply
    • Belal Khan says

      January 10, 2018 at 2:59 am

      Use a PNG image with transparent background for the icon and it will work.

      Reply
      • Amit says

        February 25, 2019 at 2:51 pm

        its not working , i have use PNG image with transparent background

        Reply
  3. mavis says

    January 26, 2018 at 5:11 pm

    Thank for this tutorial but i have one question. How to display notification data in another activity when a user click on notification?

    Reply
  4. Jhanvi Bhatia says

    February 3, 2018 at 4:23 am

    Hello! Can you please tell me how to send notifications to app from firebase whenever there is change in databse or new file uploaded? I am beginner in android and don’t know how to do this. Please help with the code

    Reply
  5. Jhanvi says

    February 3, 2018 at 10:16 am

    hello! can you please tell how do i send notifications to my app on change in firebase database? i am beginner in android. Can you help in the code? it would be great

    Reply
  6. ANiket says

    March 9, 2018 at 9:46 pm

    have you got the ans for this?

    Reply
  7. Akshay says

    March 20, 2018 at 5:51 am

    How to listen to data change on FCM objects for device to device push in Android Oreo. can you provide a solution

    Reply
  8. santosh says

    April 4, 2018 at 8:12 am

    hello sir i getting a issue in notification icon it will display only app icon on notification bar but when i make transparet it wil display but my app icon not shown in cell phone so what is the solution pls tell me

    Reply
  9. Mohamud Osman Hamud says

    May 13, 2018 at 12:26 pm

    I want to send push notification from server using php can you apply this tutorial

    Reply
  10. Allen says

    June 17, 2018 at 3:52 pm

    I know this is old, but I have an odd question. How would I send a push notification to a user from list view. Like if I tap on list view and select a name, they get a notification that I am trying to contact them.

    Reply
  11. Jason Steward says

    October 31, 2018 at 9:28 am

    Hey Belal Khan , Very helpful code. You saved my day. The code is so simple and each point is explained properly. Thanks a lot for sharing such a useful blog. We are also mobile apps development company.

    Reply
  12. Puneet Kansal says

    December 19, 2018 at 1:56 pm

    I changed the acivity in the Intent but by default only main activity is opening.

    Reply
  13. Vaibhav Kavathekar says

    February 3, 2019 at 1:05 pm

    Hi, thanks for the tutorial,

    I follow the tutorial and the output is same as in tutorial, but for next time, the notification not received, even after reinstall the app, its not working. please help.

    Reply
  14. Ice says

    February 7, 2019 at 10:42 am

    To unsubscribe from a topic, you need to call FirebaseMessaging.getInstance().unsubscribeFromTopic(“your_topic”);
    i cant understand how to do this, do i need to add another button for this ? or just simply add in the code under the subcribe function ?

    Reply
    • Belal Khan says

      February 22, 2019 at 12:00 pm

      Just call it wherever you want to unsubscribe. We usually give an option to the user if the user want to unsubscribe, this requires a button click or something obviously.

      Reply
  15. Ahmed Mohamed Zien says

    February 16, 2019 at 7:30 pm

    Google Play Service version should be higher than the Firebase version that you are using in your project. It is always better to update the Google Play Services to the latest version.

    I think the reverse of this word
    Firebase version should be higher than the Google Play Service version

    Reply
  16. Disha says

    April 9, 2019 at 10:37 am

    Hi,thanks for the tutorials,
    But i have a issue, i dont get notification when my app is in foreground ,I get notification properly when my app is in background

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search




Download our Android App

Simplified Coding in Google Play

About Me

Belal Khan

Hello I am Belal Khan, founder and owner of Simplified Coding. I am currently pursuing MCA from St. Xavier's College, Ranchi. I love to share my knowledge over Internet.

Connect With Me

Follow @codesimplified
Simplified Coding

Popular Tutorials

  • Android Login and Registration Tutorial with PHP MySQL
  • JSON Parsing in Android – Fetching From MySQL Database
  • Android Volley Tutorial – Fetching JSON Data from URL
  • Android Upload Image to Server using Volley Tutorial
  • Android TabLayout Example using ViewPager and Fragments
  • Retrieve Data From MySQL Database in Android using Volley
  • Android Navigation Drawer Example using Fragments
  • Retrofit Android Example – Fetching JSON from URL
  • Firebase Cloud Messaging Tutorial for Android
  • Android Volley Tutorial – User Registration and Login




Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy

About Simplified Coding

Simplified Coding is a blog for all the students learning programming. We are providing various tutorials related to programming and application development. You can get various nice and simplified tutorials related to programming, app development, graphics designing and animation. We are trying to make these things simplified and entertaining. We are writing text tutorial and creating video and visual tutorials as well. You can check about the admin of the blog here and check out our sitemap

Quick Links

  • Advertise Here
  • Privacy Policy
  • Disclaimer
  • About
  • Contact Us
  • Write for Us

Categories

Android Advance Android Application Development Android Beginners Android Intermediate Ionic Framework Tutorial JavaScript Kotlin Android Others PHP Advance PHP Tutorial React Native

Copyright © 2017 · Simplified Coding· All rights Reserved. And Our Sitemap.All Logos & Trademark Belongs To Their Respective Owners·

loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.