Пример #1
0
 @Override
 public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   mp = new MidPlayer(getActivity());
   lights = new ArrayList<Integer>();
   lights.add(R.raw.light1);
   lights.add(R.raw.light2);
   lights.add(R.raw.light3);
   lights.add(R.raw.light4);
   lights.add(R.raw.light5);
 }
Пример #2
0
 @Override
 public void onDestroy() {
   super.onDestroy();
   mp.freeMidPlayer();
 }
Пример #3
0
 @Override
 public void onResume() {
   super.onResume();
   MobclickAgent.onPageEnd("LightFragmnet");
 }
Пример #4
0
 @Override
 public void onPause() {
   super.onPause();
   MobclickAgent.onPageStart("LightFragmnet");
 }
Пример #5
0
 @Override
 public void onActivityCreated(Bundle savedInstanceState) {
   super.onActivityCreated(savedInstanceState);
 }