2
2
package com .xxmassdeveloper .mpchartexample .notimportant ;
3
3
4
4
import android .app .Activity ;
5
+ import android .app .AlertDialog ;
5
6
import android .content .Context ;
6
7
import android .content .Intent ;
7
8
import android .net .Uri ;
22
23
import com .xxmassdeveloper .mpchartexample .AnotherBarActivity ;
23
24
import com .xxmassdeveloper .mpchartexample .BarChartActivity ;
24
25
import com .xxmassdeveloper .mpchartexample .BarChartActivityMultiDataset ;
25
- import com .xxmassdeveloper .mpchartexample .DrawChartActivity ;
26
26
import com .xxmassdeveloper .mpchartexample .InvertedLineChartActivity ;
27
27
import com .xxmassdeveloper .mpchartexample .LineChartActivity ;
28
28
import com .xxmassdeveloper .mpchartexample .ListViewBarChartActivity ;
@@ -48,7 +48,7 @@ protected void onCreate(Bundle savedInstanceState) {
48
48
49
49
// initialize the utilities
50
50
Utils .init (getResources ());
51
-
51
+
52
52
ArrayList <ContentItem > objects = new ArrayList <ContentItem >();
53
53
54
54
objects .add (new ContentItem ("Line Chart" , "A simple demonstration of the linechart." ));
@@ -126,8 +126,14 @@ public void onItemClick(AdapterView<?> av, View v, int pos, long arg3) {
126
126
startActivity (i );
127
127
break ;
128
128
case 8 :
129
- i = new Intent (this , DrawChartActivity .class );
130
- startActivity (i );
129
+ // i = new Intent(this, DrawChartActivity.class);
130
+ // startActivity(i);
131
+
132
+ AlertDialog .Builder b = new AlertDialog .Builder (this );
133
+ b .setTitle ("Feature not available" );
134
+ b .setMessage ("Due to recent changes to the data model of the library, this feature is temporarily not available." );
135
+ b .setPositiveButton ("OK" , null );
136
+ b .create ().show ();
131
137
break ;
132
138
case 9 :
133
139
i = new Intent (this , SimpleChartDemo .class );
0 commit comments