Simple Pie Chart example without using any external jar in android. Here We are creating chart using Canvas class in android. This is the sample screenshot of our application. And this is also sample screenshot of our application. It is easy to draw this chart in android. First our xml will be. <?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" > <LinearLayout android:id="@+id/linear" android:layout_width="match_parent" android:layout_height="match_parent" > </LinearLayout> </RelativeLayout> Our Activity will be. public class MainActivity extends Activity { float values[] = { 70...
A plat with simple tutorial for native android developers.