The following leads to a crash of ChartDroid:
private void testChart() {
Intent i = new
Intent("com.googlecode.chartdroid.intent.action.PLOT");
i.addCategory("com.googlecode.chartdroid.intent.category.PIE_CHART");
int data[] = {10, 20, 70};
i.putExtra(Intent.EXTRA_TITLE, "Bla bla");
i.putExtra("com.googlecode.chartdroid.intent.extra.DATA",
data);
startActivity(i);
}
Whats wrong with that?
Is drawing charts like it seems to be done with version 1.x no longer
supported with 2.x?
Doing like
http://www.openintents.org/en/node/291 suggested ..