Пример #1
0
 public void onClick(View v) {
   int id = v.getId();
   switch (id) {
     case R.id.next:
       nextSection("oms.cj.tube.tutor.basic.step2.TubeTutor2Activity4");
       break;
     case R.id.step1_1:
       nextSection(TUBETUTORPLAYACTIVITY, R.layout.step1_1, "2.1");
       break;
     case R.id.step1_2:
       nextSection(TUBETUTORPLAYACTIVITY, R.layout.step1_2, "2.2");
       break;
     case R.id.step1_3:
       nextSection(TUBETUTORPLAYACTIVITY, R.layout.step1_3, "2.3");
       break;
     case R.id.step1_4:
       nextSection(TUBETUTORPLAYACTIVITY, R.layout.step1_4, "2.4");
       break;
     default:
       super.onClick(v);
   }
 }