Possible Duplicate:
Android Activity as a dialog
I have a little problem with an intent that call an Activity that show a chart. I want to show the activity in a new Dialog, how can I make it?
this is the code that call the Activity:
Intent intent = ChartFactory.getBarChartIntent(
chartproject.this, buildBarDataset(titles, values),
renderer, Type.STACKED);
chartproject.this.startActivity(intent);