public void onItemClick(AdapterView<?> parent, View view,
int position, long id) {
switch (position) {
case 0:
startActivity(new Intent(MainActivity.this, Fundamentals.class));
break;
case 1:
startActivity(new Intent(MainActivity.this, CanvasActivity.class));
break;
case 2:
startActivity(new Intent(MainActivity.this, CameraActivity.class));
break;
case 3:
startActivity(new Intent(MainActivity.this, ConfigActivity.class));
break;
}
//Toast.makeText(getApplicationContext(), ((TextView) view).getText(),
// Toast.LENGTH_SHORT).show();
}