Skip to main content

Android-Bar chart, Line chart and Pie chart

The Bar Chart ,Line Chart and Pie Chart are the commonly used charts among the mobile developers.In such a way android also supports such thing more easily .


Here I've just given the source codes and screen shots of them .If the Chart in the Screen shots meets your need ,then download the source codes


                                                                                                                                                     Bar Chart





Source Code : here



Pie Chart




Source Code : here




Line Chart


 



Source Codehere




Hope,This may be helpful to you

Comments

Post a Comment

Popular posts from this blog

Circular Seek Bar - Example

MyView.java package com.rakesh.androidcircularseekbar; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.RectF; import android.util.AttributeSet; import android.view.MotionEvent; import android.view.View; public class MyView extends View {     /** The context */     private Context mContext;     /** The listener to listen for changes */     private OnSeekChangeListener mListener;     /** The color of the progress ring */     private Paint circleColor;     /** the color of the inside circle. Acts as background color */     private Paint innerColor;     /** The progress circle ring background */     private Paint circleRing;   ...

SSL pinning in Android - A brief discussion

HTTP protocol Communication between the client and a server typically non-encrypted or plain text while we use HTTP protocol.  Pitfall Any middle hacker can interrupt the connection between the client and server and manipulate the data as it involves no encryption. How to overcome this ? As the domain owner one can purchase a digital certificate from CA(Certificate Authority) who are considered as trusted.  A certificate will contain the Owner's name, public key , Issuer's(CA's) name,Issuer's(CA's) signature, domain details, expiry date etc . After the SSL/Leaf certificate is associated with a domain,the communication between client and server will be encrypted. Now the HTTP will become HTTPs. Note : Associating the SSL certificate means it enable the encryption between client and server but does not mean ,the domain owner will never misuse your personal information. How does SSL work ? Pitfall There is a problem here. Let's assume that there is a hacker comes i...

SQ Lite Concepts

reference : http://www.vogella.com/articles/AndroidSQLite/article.html Table of Contents 1. SQLite and Android 1.1. What is SQLite? 1.2. SQLite in Android 2. Prerequisites for this tutorial 3. SQLite Architecture 3.1. Packages 3.2. SQLiteOpenHelper 3.3. SQLiteDatabase 3.4. rawQuery() Example 3.5. query() Example 3.6. Cursor 3.7. ListViews, ListActivities and SimpleCursorAdapter 4. Tutorial: Using SQLite 4.1. Introduction to the project 4.2. Create Project 4.3. Database and Data Model 4.4. User Interface 4.5. Running the apps 5. ContentProvider and sharing data 5.1. ContentProvider Overview 5.2. Own ContentProvider 5.3. Security and ContentProvider 5.4. Thread Safety 6. Tutorial: Using ContentProvider 6.1. Overview 6.2. Create contacts on your emulator 6.3. Using the Contact Content Provider 7. Activities, Loader and ContentProvider 7.1. Activities and Databases 7.2. Loader 8. Tutorial: SQLite, own ContentProvider and Loader ...