I want to build an app in where I want to show memory and cpu usage map in a pie chart . However I have no idea about how to implement this .
I have seen the following question :
How to display the 3D pie chart asynchronously in android?
But I could not resolve this issue . What can I do ? Guys , can u help me in this regard ?
To "paint" a graph on android you can use a third-party-lib.
All libs supports different types of charts.
There are some graph-libs for Android:
afreechart is based on jfreechart.
License: LGPL
Version: 0.0.4
AChartEngine
License: Apache
Version: 1.2.0
Maven: yes. (custom repo?)
AndroidPlot
License: Apache
Version: 0.6.0
Maven: yes
GraphView
License: Apache?
Version: ?
Maven: ?
I've found not so much about it. But it seems to be free.
DroidCharts
License: LGPL
Version: r2?
Maven: ?
Chartdroid
License: Apache
Version: 2.0.0
Maven: ?
Or you implements your own :)
It's not the perferct answer, but maybe a good hint.
you can use achartengine to create different kinds of charts. For example you can find lots of links like these two
link1, link2
here is another nice example you can look at