Skip to main content

Posts

Showing posts from 2016

Working with MPAndroidChart (how to create Bar Chart using MPAndroidChart)

Hi Friends, In this tutorial i am going to show, "How to create Bar Chart using MPAndroidChart". There is a lot of libraries for creating charts in android like AChartEngine, MpAndroidChart, AndroidPlot etc. Your first question may be, Why MPAndroidChart. So MpAndroidChart provides better animation functionality and easy to use in comparision. Using  MPAndroidChart library  we can draw a: ·          Simple Bar Chart ·          Grouped Bar Chart ·          Horizontal Bar Chart ·          Simple Line Chart ·          Line Chart with Cubic Lines ·          Grouped Line Chart ·          Combined Line and Bar Chart ·          Pie Chart ·          Scatter Chart ·          Candlestick Chart ·          Radar Chart Here we will create Simple Bar Chart with multiple color based on ranging. Ok We start with coding part now. First of all create your project in Android Studio and add gradle dependency for  MPAndroidChart library  into y

Working with Google Firebase Part-3 Push Notification

Hello friends, In the first part of this series we learn how to register our application on  Firebase Console . In second part we learn about firebase authentication. In this part we will learn how to send push notification to our android application using Firebase. As we know we can send push notifications using Google Cloud Messing(GCM) too. But configuring our application for GCM to receive push notifications is complex.  In compare to GCM configuring push notification in our application is very easy. You have to just register you application on firebase console and create you application structure successfully.  If you don't go through that how to register our application to  Firebase Console ,  please go through  this link ,  which is the first part of this series describe how to register our application to  Firebase Console . If you have done with application configuration, then you 80% done. Now you have to just create two service classes, one extending  FirebaseM