예제 #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);
 }