WEB开发网
开发学院手机开发Android 开发 Android 字体+程序隐藏+菜单运用+soundpool 阅读

Android 字体+程序隐藏+菜单运用+soundpool

 2012-06-04 16:52:30 来源:WEB开发网   
核心提示:try {c1.setTime(df.parse(s1));str.setTime(df.parse(date));} catch (Exception e) {// TODO: handle exception}int result = c1.compareTo(str);// if (result == 0)//
try {
c1.setTime(df.parse(s1));
str.setTime(df.parse(date));

} catch (Exception e) {
// TODO: handle exception
}

int result = c1.compareTo(str);
// if (result == 0)
// System.out.println("当前时间等于系统时间");
if (result < 0) {
System.out.println("当前时间小于系统时间");

mImageViewr2.setVisibility(View.VISIBLE);
mTextView111.setVisibility(View.VISIBLE);

} else {
System.out.println("当前时间大于系统时间");

mImageViewr2.setVisibility(View.INVISIBLE);
mTextView111.setVisibility(View.INVISIBLE);

}

}

// public void onClick(View v) {
// // TODO Auto-generated method stub
// switch (v.getId()) {
// case R.id.a1:
// mSoundPool.play(soundHashMap.get(1), 1, 1, 0, 0, 1);
//
// break;
// case R.id.a2:
// mSoundPool.play(soundHashMap.get(2), 1, 1, 0, 0, 1);
//
// break;
// case R.id.a3:
// mSoundPool.play(soundHashMap.get(3), 1, 1, 0, 0, 1);
//
// break;
//
// default:
// break;
// }

public void aa1(View v) {
mSoundPool.play(soundHashMap.get(1), 1, 1, 0, 0, 1);

}

public void aa2(View view) {
mSoundPool.play(soundHashMap.get(2), 1, 1, 0, 0, 1);

}

public void aa3(View view) {
mSoundPool.play(soundHashMap.get(3), 1, 1, 0, 0, 1);

}

public void aa4(View view) {
mSoundPool.play(soundHashMap.get(4), 1, 1, 0, 0, 1);

}

public void aa5(View view) {
mSoundPool.play(soundHashMap.get(5), 1, 1, 0, 0, 1);

}

public void aa6(View view) {
mSoundPool.play(soundHashMap.get(6), 1, 1, 0, 0, 1);

}

public void aa7(View view) {
mSoundPool.play(soundHashMap.get(7), 1, 1, 0, 0, 1);

}

public void aa8(View view) {
mSoundPool.play(soundHashMap.get(8), 1, 1, 0, 0, 1);

}

public void aa9(View view) {
mSoundPool.play(soundHashMap.get(9), 1, 1, 0, 0, 1);

}

public void aa10(View view) {
mSoundPool.play(soundHashMap.get(10), 1, 1, 0, 0, 1);

}

public void aa11(View view) {
mSoundPool.play(soundHashMap.get(11), 1, 1, 0, 0, 1);

}

public void aa12(View view) {
mSoundPool.play(soundHashMap.get(12), 1, 1, 0, 0, 1);

}

public void aa13(View view) {
mSoundPool.play(soundHashMap.get(13), 1, 1, 0, 0, 1);

}

public void aa14(View view) {
mSoundPool.play(soundHashMap.get(14), 1, 1, 0, 0, 1);

}

public void aa15(View view) {
mSoundPool.play(soundHashMap.get(15), 1, 1, 0, 0, 1);

}

public void aa16(View view) {
mSoundPool.play(soundHashMap.get(16), 1, 1, 0, 0, 1);

}

public void aa17(View view) {
mSoundPool.play(soundHashMap.get(17), 1, 1, 0, 0, 1);

}

public void aa18(View view) {
mSoundPool.play(soundHashMap.get(18), 1, 1, 0, 0, 1);

}

public void aa19(View view) {
mSoundPool.play(soundHashMap.get(19), 1, 1, 0, 0, 1);

}

public void aa20(View view) {
mSoundPool.play(soundHashMap.get(20), 1, 1, 0, 0, 1);

上一页  1 2 3 4 5  下一页

Tags:Android 字体 程序

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接