摘要:
private static final String ICC_SDN_URI_FOR_SINGLE_SLOT = "content://icc/sdn/subId"; private static final String ICC_ADN_URI_FOR_SINGLE_SLOT = "content://icc/adn/subId"; private static final String IC... 阅读全文
摘要:
来自为知笔记(Wiz) 阅读全文
摘要:
一、设置系统时间static void setTime(Context context, int hourOfDay, int minute) { Calendar c = Calendar.getInstance(); c.set(Calendar.HOUR_OF_DAY, hourOfDay); c.set(Calendar.MINUTE, minut... 阅读全文
摘要:
1、在AudioManager.java中的handleKeyDown函数中接收音量键的按键消息public void handleKeyDown(KeyEvent event, int stream) { int keyCode = event.getKeyCode(); switch (keyCode) { case KeyEvent.KEYC... 阅读全文